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
Committed:
https://crrev.com/5f1263bb318f072343f59dec4b310a522c80b9a2
Cr-Commit-Position: refs/heads/master@{#318813}