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

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

Issue 1914643005: Add support for entering/exiting HTML fullscreen from OOPIFs. (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/FullscreenController.h
diff --git a/third_party/WebKit/Source/web/FullscreenController.h b/third_party/WebKit/Source/web/FullscreenController.h
index b321ce83a71a4475d1fd5fdb116af6865d8ea9b7..3f68e6dd74e9fa0d0121a90ccaa851ff715e2c18 100644
--- a/third_party/WebKit/Source/web/FullscreenController.h
+++ b/third_party/WebKit/Source/web/FullscreenController.h
@@ -56,6 +56,8 @@ public:
bool isFullscreen() { return m_fullScreenFrame; }
+ void setFullscreenIsForCrossProcessAncestor() { m_fullscreenIsForCrossProcessAncestor = true; }
+
void updateSize();
DECLARE_TRACE();
@@ -79,6 +81,10 @@ private:
// If set, the WebView is in fullscreen mode for an element in this frame.
Member<LocalFrame> m_fullScreenFrame;
+ // If set, fullscreen is entered for an element that is a container for
+ // another fullscreen element in an out-of-process iframe.
+ bool m_fullscreenIsForCrossProcessAncestor;
+
bool m_isCancelingFullScreen;
};

Powered by Google App Engine
This is Rietveld 408576698