commit | 8af75fc76de5b034c2d04b7d88fb5bb0732fd92e | [log] [tgz] |
---|---|---|
author | danakj <[email protected]> | Tue Oct 01 19:59:02 2019 |
committer | Commit Bot <[email protected]> | Tue Oct 01 19:59:02 2019 |
tree | b6efef544f4ee8c207139419a3e2c45eac9cf990 | |
parent | 0e079b73b13654b6c4660a10a323693c0968c63a [diff] |
Track the real and emulated screen rects in popups from the PageProperties Currently popup widgets will snapshot the main frame's ViewRect and the emulated ViewRect (aka WidgetRect). The popup itself lives with real screen infos, passed to UpdateSurfaceAndScreenInfo(), and since it never does SynchronizeVisualPropertiesFromRenderView() it keeps those values. The RenderWidget converts WindowRects that the popup specifies of queries in and out of emulated space as needed. After this change, the conversions are done against the live real and emulated ViewRects instead of snapshotting them at creation, avoiding the need for tracking states on RenderWidget. [email protected] Bug: 1006052 Change-Id: I611287afcccdc8e8e739ef2c31e78d06191f688f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1833782 Reviewed-by: Avi Drissman <[email protected]> Commit-Queue: danakj <[email protected]> Cr-Commit-Position: refs/heads/master@{#701720}
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 .