commit | 79020a50821d7c89775d813da32a29436034d1ab | [log] [tgz] |
---|---|---|
author | Judy Wang <shidi@chromium.org> | Tue Sep 20 19:05:37 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Sep 20 19:05:37 2022 |
tree | 95e3aa65fe680b8a3482f965f413fba39aca92fd | |
parent | 3786d32b6c0b6990b3997b708af714f783eef9c6 [diff] |
Reland: FloatWindow: Add support for multi-desk float window. Reason for reland: in unit test FloatWindowWithDeskRemovalUndo, we checked is_desk_being_removed() after DeskCloseType::kCloseAllWindows, which is a UAF, replacing it with ASSERT_EQ(desks_controller->desks().size(), 1u) to ensure the desk deletion. Added move window from desk function to handle desk removal and desk combination logic (including special case in desk removal-undo), also added desk pointer to float info for easy desk search. Fixed: 1330001 Test: Manual and unit tests Change-Id: I29f9a0c80dc06f99e3709ddd91e5af03ee6477c3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3788674 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Judy Wang <shidi@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1048874} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3907954 Cr-Commit-Position: refs/heads/main@{#1049258}
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.