diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/modules/xr/xr_dom_overlay_state.idl')
-rw-r--r-- | chromium/third_party/blink/renderer/modules/xr/xr_dom_overlay_state.idl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chromium/third_party/blink/renderer/modules/xr/xr_dom_overlay_state.idl b/chromium/third_party/blink/renderer/modules/xr/xr_dom_overlay_state.idl new file mode 100644 index 00000000000..fcc12cfce90 --- /dev/null +++ b/chromium/third_party/blink/renderer/modules/xr/xr_dom_overlay_state.idl @@ -0,0 +1,17 @@ +// 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. + +// https://immersive-web.github.io/dom-overlays/#enumdef-xrdomoverlaytype +enum XRDOMOverlayType { + "screen", + "floating", +}; + +// https://immersive-web.github.io/dom-overlays/#dictdef-xrdomoverlaystate +[ + SecureContext, + Exposed=Window +] interface XRDOMOverlayState { + readonly attribute XRDOMOverlayType type; +}; |