MacViews: Unify web contents modal dialog types
The #if around NativeWebContentsModalDialog is a problem for building the MacViews browser. Unify them to be gfx::NativeWindow on all platforms. Refactor the cocoa side to move code from ConstrainedWindowMac into SingleWebContentsDialogManagerCocoa, while keeping ConstrainedWindowMac's interface the same as before. The Views side only needs simple changes from NativeView to NativeWindow. BUG=425229 Review URL: https://codereview.chromium.org/866263008 Cr-Commit-Position: refs/heads/master@{#318813}
Showing
Please register or sign in to comment