| commit | de859e95e9490a2c2cfb17a7de593c9ad6b20ea8 | [log] [tgz] |
|---|---|---|
| author | Toshiki Kikuchi <toshikikikuchi@google.com> | Wed Sep 06 05:44:12 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Sep 06 05:44:12 2023 |
| tree | 9f6acc6b299317753e6a432f2c0e44ebe0ef6c15 | |
| parent | 75043c6623f72ced5d0142e7d940c312c7a46d58 [diff] |
Don’t reposition to-be-snapped window as “floated” This CL prevents FloatController from repositioning a to-be-snapped window. FloatController repositions a floated window when any size constraint is updated (even when any constraint is not “changed”). But if the window is in transitional snapped state (i.e., snap requested but not applied yet), it is going to be snapped very soon so we don't need to apply the float bounds policies. Otherwise, the bounds change request may be queued and applied after it’s snapped. BUG=b:279357161 TEST=ClientControlledStateTestClamshellAndTablet.SnapFloatedWindow Change-Id: I54216b8d1a92fe5d5e7c1bd8a9d4d272e8b70eb9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4835570 Reviewed-by: Sammie Quon <sammiequon@chromium.org> Commit-Queue: Toshiki Kikuchi <toshikikikuchi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1192867}
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.