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; |
dcheng
2016/05/18 01:04:35
Out of scope for this patch, but is there any hope
alexmos
2016/05/18 15:08:33
It could probably be done, though it might be a bi
dcheng
2016/05/19 00:21:34
I looked around the code at this: it looks like we
alexmos
2016/05/19 01:08:25
I wish that were true. But actually, in the common
dcheng
2016/05/19 05:29:14
Hmm. Tricky. It's particularly weird because we ca
|
+ |
// Auto-Resize ----------------------------------------------------------- |
// In auto-resize mode, the view is automatically adjusted to fit the html |