summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/xr_input_sources_change_event.idl
blob: 7a6cfcabd41f064216dc9d6d0688c1bef8630c16 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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;
};