commit | 565bac2b35961528f86a2fe4f2755f918051a061 | [log] [tgz] |
---|---|---|
author | Jayson Adams <shrike@chromium.org> | Mon May 15 22:56:27 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon May 15 22:56:27 2023 |
tree | 2493011f832643554561795be233d6e7bbdafafb | |
parent | 9d407321452a47230fa2e5332f88c1c8e31e4b81 [diff] |
[Mac Window Minimize] Adjust to macOS 13 window minimize semantics On macOS13, calling miniaturize: on a window is no longer "atomic" in that it involves a non-blocking round-trip RPC with the Dock. This causes problems for code watching for window state changes, when those checks occur while the application is in an inconsistent state (i.e. miniaturized: was called but isMiniaturized returns NO). This cl prevents the round-trip miniaturization from miniaturizing the window if some operation has effectively canceled it (such as an orderFront:). Test: out/Default/interactive_ui_tests \ --gtest_filter=SessionRestoreInteractiveTest.RestoreMinimizedWindow* Bug: 1431602 Change-Id: I26333fd484ec6aba0bdba1ba6363c488d2962343 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4429234 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Jayson Adams <shrike@chromium.org> Reviewed-by: Leonard Grey <lgrey@chromium.org> Cr-Commit-Position: refs/heads/main@{#1144432}
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.