Description[MacViews] Position modal sheets using ModalDialogHost.
This makes ViewsNSWindowDelegate override
-[NSWindow window:willPositionSheet:usingRect:] and call the newly
added NativeWidgetMac::SheetPositionY().
BrowserFrameMac implements SheetPositionY() using the same
ModalDialogHost as Views browsers.
Note that on Views, modal dialogs appear below the omnibox whereas on
Cocoa they appear below the bookmarks bar, but this can be addressed
later as MacViews UX is not finalized.
BUG=524847
Committed: https://crrev.com/c5fd2cddccff942e467846c4cf3ba5b9fc089b34
Cr-Commit-Position: refs/heads/master@{#346008}
Patch Set 1 #
Total comments: 6
Patch Set 2 : Address comments. #
Total comments: 6
Patch Set 3 : Address comments. #Patch Set 4 : Missded a comment nit. #
Depends on Patchset: Messages
Total messages: 14 (3 generated)
|