DescriptionMacViews: Implement Window-modal dialogs using sheets
These are used, e.g., for the Bookmark -> Edit... dialogs on Cocoa and
Views.
This gets WidgetTestInteractive.*Window*ModalWindowDestroyedActivationTest
passing.
WidgetTestInteractive.*System*ModalWindowReleasesCapture is disabled in
this CL. System modal windows are not needed on Mac.
Currently the implementation on MacViews assumes all modal dialogs are
shown using a sheet. On Cocoa, this is not always true for
WebContents-Modal dialogs (e.g. cookies and site data), but it is true
for some WebContents-Modal dialogs (e.g. certificate information).
A follow-up will add logic to ensure WebContents-Modal dialogs are
handled appropriately, and have good test coverage.
After this all tests pass on the current mac trybot configuration with
toolkit_views=1.
BUG=403679
Committed: https://crrev.com/3de6ad4c2b4c8f52daa2119a24063cd9309460e6
Cr-Commit-Position: refs/heads/master@{#320977}
Patch Set 1 #Patch Set 2 : It actually works :o #Patch Set 3 : Do not try to call endSheet in destructor #Patch Set 4 : rebase over crrev/994333003 #Patch Set 5 : rebase to master #Patch Set 6 : update isolate #
Total comments: 3
Messages
Total messages: 17 (10 generated)
|