| // Copyright 2019 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| [ |
| SecureContext, |
| Exposed=Window, |
| RuntimeEnabled=WebXR |
| ] interface XRInputSourcesChangeEvent : Event { |
| constructor(DOMString type, XRInputSourcesChangeEventInit eventInitDict); |
| [SameObject] readonly attribute XRSession session; |
| [SameObject, SaveSameObject] readonly attribute FrozenArray<XRInputSource> added; |
| [SameObject, SaveSameObject] readonly attribute FrozenArray<XRInputSource> removed; |
| }; |