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

Unified Diff: third_party/WebKit/Source/web/RemoteFrameOwner.h

Issue 1938753002: OOPIF: Replicate allowFullscreen flag. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 7 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/RemoteFrameOwner.h
diff --git a/third_party/WebKit/Source/web/RemoteFrameOwner.h b/third_party/WebKit/Source/web/RemoteFrameOwner.h
index 3f934be9bf059d331de0ee97a1cac7ac1a337068..0ed31e0a7131c244b7d0a063aad5459c1ba10ea3 100644
--- a/third_party/WebKit/Source/web/RemoteFrameOwner.h
+++ b/third_party/WebKit/Source/web/RemoteFrameOwner.h
@@ -37,10 +37,12 @@ public:
ScrollbarMode scrollingMode() const override { return m_scrolling; }
int marginWidth() const override { return m_marginWidth; }
int marginHeight() const override { return m_marginHeight; }
+ bool allowFullscreen() const override { return m_allowFullscreen; }
void setScrollingMode(WebFrameOwnerProperties::ScrollingMode);
void setMarginWidth(int marginWidth) { m_marginWidth = marginWidth; }
void setMarginHeight(int marginHeight) { m_marginHeight = marginHeight; }
+ void setAllowFullscreen(bool allowFullscreen) { m_allowFullscreen = allowFullscreen; }
DECLARE_VIRTUAL_TRACE();
@@ -52,6 +54,7 @@ private:
ScrollbarMode m_scrolling;
int m_marginWidth;
int m_marginHeight;
+ bool m_allowFullscreen;
};
DEFINE_TYPE_CASTS(RemoteFrameOwner, FrameOwner, owner, owner->isRemote(), owner.isRemote());
« no previous file with comments | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | third_party/WebKit/Source/web/RemoteFrameOwner.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698