-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M106] mac: patch only chrome-initiated -[NSWindow orderWindow:]
Patching system-initiated -[NSWindow orderWindow:] calls has caused issues in fullscreen. For example, this function will be called when a sheet modal is created and the sheet will appear to be occluded by other windows. This CL patches only chrome-initiated calls instead. I couldn't find out a reliable way to add regression test. Neither -[NSWindow orderedIndex] or -[NSWindow childWindows] is reliable for testing sheet window that is attached to a child window. (cherry picked from commit bd812e5) Bug: 1352634, 1324216 Change-Id: I3ee43bae3c248da433f486c6444fda55b5b7121b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3842864 Reviewed-by: Avi Drissman <avi@chromium.org> Commit-Queue: Keren Zhu <kerenzhu@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1037901} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3854876 Cr-Commit-Position: refs/branch-heads/5249@{#75} Cr-Branched-From: 4f7bea5-refs/heads/main@{#1036826}
- Loading branch information
Showing
3 changed files
with
27 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters