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 |