commit | 7c8581073815a2473cac0ac4736bd84603ea1be2 | [log] [tgz] |
---|---|---|
author | W. James MacLean <[email protected]> | Tue Jun 18 18:07:53 2019 |
committer | Commit Bot <[email protected]> | Tue Jun 18 18:07:53 2019 |
tree | dec7b989f07414005aed409cfef658d0f264a40e | |
parent | 3a9c950681edc8dca94beaa4d39aaeecfc74ca65 [diff] |
Use PageMessage to send VisibleViewport sizes to OOPIF renderers. This CL adds PageMsg_UpdatePageVisualProperties and causes it to be sent to all renderers for a page when the viewport is resized. At present, the mainframe renderer continues to act on the viewport size it receives via RenderWidget::SynchronizeVisualProperties, but any oopif renderers receive it via RenderViewImpl::OnUpdatePageVisualProperties(). This CL also removes ResizeVisualViewport from the WebWidget API and moves it to the WebView API. Bug: 939050, 599688 Change-Id: I04097ea936e8d87792155278c9c1b8823f6aaf45 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1621868 Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: danakj <[email protected]> Reviewed-by: Alex Moshchuk <[email protected]> Commit-Queue: James MacLean <[email protected]> Cr-Commit-Position: refs/heads/master@{#670135}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .