commit | ae9bc1de3ae10c40eda39c91146f8d6f624c7675 | [log] [tgz] |
---|---|---|
author | Sammie Quon <sammiequon@chromium.org> | Thu Feb 22 18:46:59 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Feb 22 18:46:59 2024 |
tree | 093ef533009f1c842864f97b39c7b7ffba9653d4 | |
parent | 576bb779b65e26511e0c9d92d17623119cd4153a [diff] |
float: Fix crash when using always on top window Always on top windows are not managed by tablet mode window manager so use DefaultState. There was an assumption that DefaultState is used for clamshell only, leading to a crash. This CL removes that assumption. And for consistency we exit float state when entering always on top, as currently we cannot enter float state when already always on top. We may want to address b/325282588 in the future, but for a short term crash fix, this should be sufficient. Bug: b/317064996 Test: ash_unittests TabletWindowFloatTest.FloatStateToAlwaysOnTop Change-Id: Ib73d5406622a0557716dd9878af3add9b09fb1ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5280633 Commit-Queue: Sammie Quon <sammiequon@chromium.org> Reviewed-by: Xiaoqian Dai <xdai@chromium.org> Cr-Commit-Position: refs/heads/main@{#1264106}
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.