-
wittman@chromium.org authored
Use the web contents modal dialog positioning abstraction for app shell windows. Implement support for Views and Gtk, stubs for Cocoa. This abstraction will support the use of WebContents in code outside of src/chrome/browser by allowing dialogs modal to web contents to be hosted on any window containing a WebContents and giving the host control over the positioning, without the host having to know the type of the dialog and vice versa. The interface has already been implemented for the browser window; this implements it for the other window that currently hosts WebContents, ShellWindow. BUG=157161, 225945 Review URL: https://chromiumcodereview.appspot.com/13588007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@192878 0039d316-1c4b-4281-b951-d872f2087c98
cafd0add