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

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

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.h
diff --git a/third_party/WebKit/Source/core/css/cssom/CSSOMTypes.h b/third_party/WebKit/Source/modules/vr/DocumentVR.h
similarity index 52%
copy from third_party/WebKit/Source/core/css/cssom/CSSOMTypes.h
copy to third_party/WebKit/Source/modules/vr/DocumentVR.h
index 838e6f5b44437e744089f0df3adb5322c619341b..aa39f3432974bf8181a10cddc01503e5c65933b2 100644
--- a/third_party/WebKit/Source/core/css/cssom/CSSOMTypes.h
+++ b/third_party/WebKit/Source/modules/vr/DocumentVR.h
@@ -2,23 +2,21 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CSSOMTypes_h
-#define CSSOMTypes_h
+#ifndef DocumentVR_h
+#define DocumentVR_h
-#include "core/CSSPropertyNames.h"
#include "wtf/Allocator.h"
namespace blink {
-class CSSStyleValue;
-
-class CSSOMTypes {
- STATIC_ONLY(CSSOMTypes);
+class Document;
+class DocumentVR {
+ STATIC_ONLY(DocumentVR);
public:
- static bool propertyCanTake(CSSPropertyID, const CSSStyleValue&);
+ static bool vrEnabled(Document&);
};
} // namespace blink
-#endif
+#endif // DocumentVR_h

Powered by Google App Engine
This is Rietveld 408576698