Index: third_party/WebKit/Source/modules/vr/DocumentVR.idl |
diff --git a/third_party/WebKit/Source/modules/vr/DocumentVR.idl b/third_party/WebKit/Source/modules/vr/DocumentVR.idl |
new file mode 100644 |
index 0000000000000000000000000000000000000000..cde70073b3a743da55b06094a76dc55c04220573 |
--- /dev/null |
+++ b/third_party/WebKit/Source/modules/vr/DocumentVR.idl |
@@ -0,0 +1,10 @@ |
+// Copyright 2016 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://w3c.github.io/webvr/#document-vrenabled-attribute |
alexmos
2016/09/23 00:53:31
The hash in that link doesn't seem to work. Is th
|
+[ |
+ RuntimeEnabled=WebVR, |
+] partial interface Document { |
+ [RuntimeEnabled=WebVR] readonly attribute boolean vrEnabled; |
+}; |