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

Unified Diff: third_party/WebKit/Source/core/html/HTMLIFrameElement.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/core/html/HTMLIFrameElement.h
diff --git a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
index eab1b4594bf54ddac3c302e7ab7dd46d79b2a211..438246d66ecc022e0f19600ddbb38760b3cf31de 100644
--- a/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
+++ b/third_party/WebKit/Source/core/html/HTMLIFrameElement.h
@@ -65,6 +65,7 @@ private:
ReferrerPolicy referrerPolicyAttribute() override;
bool allowFullscreen() const override { return m_allowFullscreen; }
+ bool allowVR() const override { return m_allowVR; }
const WebVector<WebPermissionType>& delegatedPermissions() const override { return m_delegatedPermissions; }
@@ -73,6 +74,7 @@ private:
AtomicString m_name;
bool m_didLoadNonEmptyDocument;
bool m_allowFullscreen;
+ bool m_allowVR;
Member<HTMLIFrameElementSandbox> m_sandbox;
Member<HTMLIFrameElementPermissions> m_permissions;

Powered by Google App Engine
This is Rietveld 408576698