summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/modules/xr/element_xr.idl
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/element_xr.idl')
-rw-r--r--chromium/third_party/blink/renderer/modules/xr/element_xr.idl12
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/element_xr.idl b/chromium/third_party/blink/renderer/modules/xr/element_xr.idl
new file mode 100644
index 00000000000..ba69ad6761a
--- /dev/null
+++ b/chromium/third_party/blink/renderer/modules/xr/element_xr.idl
@@ -0,0 +1,12 @@
+// Copyright 2020 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.
+
+// https://immersive-web.github.io/dom-overlays/#onbeforexrselect
+
+[
+ ImplementedAs=ElementXR
+]
+partial interface Element {
+ attribute EventHandler onbeforexrselect;
+};