Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| index cc5d4b7645afc52547288c9a68e05182c15ecad1..6e7254a1f588a2724cf6aa1fa6dd4835bad82779 100644 |
| --- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp |
| @@ -194,6 +194,8 @@ void WebFrameWidgetImpl::resizeVisualViewport(const WebSize& newSize) |
| // to use Page messages. https://crbug.com/599688. |
| page()->frameHost().visualViewport().setSize(newSize); |
| page()->frameHost().visualViewport().clampToBoundaries(); |
| + |
| + view()->didUpdateFullScreenSize(); |
|
dcheng
2016/05/19 22:08:39
Why do we need to call this here now?
alexmos
2016/05/19 23:58:19
This is needed for things like opening/resizing a
dcheng
2016/05/20 07:01:44
Hmm. Is WebViewImpl getting this behavior via WebV
alexmos
2016/05/20 17:20:13
Yes, in the WebViewImpl case, the resizing happens
|
| } |
| void WebFrameWidgetImpl::updateMainFrameLayoutSize() |
| @@ -218,12 +220,12 @@ void WebFrameWidgetImpl::setIgnoreInputEvents(bool newValue) |
| void WebFrameWidgetImpl::didEnterFullScreen() |
| { |
| - // FIXME: Implement full screen for out-of-process iframes. |
| + view()->didEnterFullScreen(); |
| } |
| void WebFrameWidgetImpl::didExitFullScreen() |
| { |
| - // FIXME: Implement full screen for out-of-process iframes. |
| + view()->didExitFullScreen(); |
| } |
| void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) |