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

Unified Diff: third_party/WebKit/public/web/WebView.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: Daniel's comments 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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index d25040cf7bcebc4c889663ece89737b0b2990b08..0e119a5c3067f2b69247fd22ce05f081f746b22a 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -334,6 +334,14 @@ public:
float topControlsHeight,
bool topControlsShrinkLayout) = 0;
+ // This is called in OOPIF scenarios when an element contained in a remote
+ // <iframe> is about to enter fullscreen. The provided WebRemoteFrame
+ // identifies the frame containing the fullscreen element, and its frame
+ // owner corresponds to the HTMLFrameOwnerElement to be fullscreened.
+ // Calling this prepares FullscreenController to enter fullscreen for that
+ // frame owner.
+ virtual void willEnterFullScreen(WebRemoteFrame*) = 0;
+
// Auto-Resize -----------------------------------------------------------
// In auto-resize mode, the view is automatically adjusted to fit the html
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698