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

Unified Diff: third_party/WebKit/public/web/WebFrameOwnerProperties.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/public/web/WebFrameOwnerProperties.h
diff --git a/third_party/WebKit/public/web/WebFrameOwnerProperties.h b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
index f7f6e65147bec6d4744f124d5b64bbfe8bb7c1a6..6c2a0e4e9079b47256cfe2ecc14ab0af73f56280 100644
--- a/third_party/WebKit/public/web/WebFrameOwnerProperties.h
+++ b/third_party/WebKit/public/web/WebFrameOwnerProperties.h
@@ -23,6 +23,7 @@ struct WebFrameOwnerProperties {
int marginWidth;
int marginHeight;
bool allowFullscreen;
+ bool allowVR;
WebVector<WebPermissionType> delegatedPermissions;
WebFrameOwnerProperties()
@@ -30,15 +31,17 @@ struct WebFrameOwnerProperties {
, marginWidth(-1)
, marginHeight(-1)
, allowFullscreen(false)
+ , allowVR(false)
{
}
#if INSIDE_BLINK
- WebFrameOwnerProperties(ScrollbarMode scrollingMode, int marginWidth, int marginHeight, bool allowFullscreen, const WebVector<WebPermissionType>& delegatedPermissions)
+ WebFrameOwnerProperties(ScrollbarMode scrollingMode, int marginWidth, int marginHeight, bool allowFullscreen, bool allowVR, const WebVector<WebPermissionType>& delegatedPermissions)
: scrollingMode(static_cast<ScrollingMode>(scrollingMode))
, marginWidth(marginWidth)
, marginHeight(marginHeight)
, allowFullscreen(allowFullscreen)
+ , allowVR(allowVR)
, delegatedPermissions(delegatedPermissions)
{
}

Powered by Google App Engine
This is Rietveld 408576698