Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(639)

Unified Diff: third_party/WebKit/Source/modules/vr/DocumentVR.idl

Issue 2331223002: Added allowvr attribute to iframes and vrEnabled to Document (Closed)
Patch Set: Rebase and moved vrEnabled from navigator to document Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
+};

Powered by Google App Engine
This is Rietveld 408576698