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

Unified Diff: third_party/WebKit/Source/web/WebFrame.cpp

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/web/WebFrame.cpp
diff --git a/third_party/WebKit/Source/web/WebFrame.cpp b/third_party/WebKit/Source/web/WebFrame.cpp
index b35444c76d72b0c2b7960ca69439ba2d2f54ad89..07ccf60c20ebd1d3d03fde8d913e857c19845e75 100644
--- a/third_party/WebKit/Source/web/WebFrame.cpp
+++ b/third_party/WebKit/Source/web/WebFrame.cpp
@@ -144,6 +144,7 @@ void WebFrame::setFrameOwnerProperties(const WebFrameOwnerProperties& properties
owner->setMarginWidth(properties.marginWidth);
owner->setMarginHeight(properties.marginHeight);
owner->setAllowFullscreen(properties.allowFullscreen);
+ owner->setAllowVR(properties.allowVR);
owner->setDelegatedpermissions(properties.delegatedPermissions);
}

Powered by Google App Engine
This is Rietveld 408576698