commit | 410e5dc3bdd29bdc423a5d97aee26ee1f71bbb08 | [log] [tgz] |
---|---|---|
author | Mitsuru Oshima <[email protected]> | Tue Jul 26 20:01:43 2022 |
committer | Chromium LUCI CQ <[email protected]> | Tue Jul 26 20:01:43 2022 |
tree | 57f5147ec7e249d0ea010863bc7feda83d173da7 | |
parent | 78a6e6563bb566adddfe0e4df3a6c84b5c789911 [diff] |
Change bounds in PWD::BoundsChange to origin_changed The pixel origin may or may not make sense depending on the platform and may result in bogus value. Change it to two bools with 1 bit that indicates of the platform window has moved. A delegate can use the platform window's size if it needs to know the new size. WindowTreeHost caches the old size, so no need to send size_changed. Also removed the origin argument in WindowTreeHostObserver::OnHostMovedInPixels. If an implementation needs it, it can get the origin from WindowTreeHost passed to the observer. Bug: 1306688 Test: WaylandWindowTest.WindowMovedResized to test origin change scenario. No functional change. Change-Id: Ia44daf8f5016fdbcf977b47412db4f8d59139cd0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3759025 Reviewed-by: Alex Moshchuk <[email protected]> Commit-Queue: Mitsuru Oshima <[email protected]> Reviewed-by: Peter McNeeley <[email protected]> Reviewed-by: Scott Violet <[email protected]> Reviewed-by: Andrey Kosyakov <[email protected]> Reviewed-by: Peter McNeeley <[email protected]> Cr-Commit-Position: refs/heads/main@{#1028415}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.