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

Unified Diff: third_party/WebKit/public/web/WebRemoteFrame.h

Issue 2021513002: Move willEnterFullscreen to WebRemoteFrame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add comment about user gestures 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') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/public/web/WebRemoteFrame.h
diff --git a/third_party/WebKit/public/web/WebRemoteFrame.h b/third_party/WebKit/public/web/WebRemoteFrame.h
index 6e476d4e483d1d572308b12776db27588e0910cc..58283079812ffd3ab978f96ad68986bb76007d56 100644
--- a/third_party/WebKit/public/web/WebRemoteFrame.h
+++ b/third_party/WebKit/public/web/WebRemoteFrame.h
@@ -62,6 +62,13 @@ public:
// Returns true if this frame should be ignored during hittesting.
virtual bool isIgnoredForHitTest() const = 0;
+ // This is called in OOPIF scenarios when an element contained in this
+ // frame is about to enter fullscreen. This frame's owner
+ // corresponds to the HTMLFrameOwnerElement to be fullscreened. Calling
+ // this prepares FullscreenController to enter fullscreen for that frame
+ // owner.
+ virtual void willEnterFullScreen() = 0;
+
// Temporary method to allow embedders to get the script context of a
// remote frame. This should only be used by legacy code that has not yet
// migrated over to the new OOPI infrastructure.
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698