[mac] Implement a windowed extension install/permissions prompt.
This allows extension install dialogs, and permissions upgrade prompts, to be shown on mac without requiring a parent WebContents to attach a sheet to. Currently, they hit NOTIMPLEMENTED(). The window is a titled NSPanel, centred on screen using [NSWindow center]. The implementation mostly uses the existing ExtensionInstallViewController, but puts it in a new, windowed-version of ExtensionInstallDialogController. Adds a test: WindowedInstallDialogControllerBrowserTest.ShowInstallDialog that mimics the way extension install and upgrade prompts are invoked via the app launcher. Screenshot at http://crbug.com/325030#c2 BUG=325030, 229094, 271809, 269151 Review URL: https://codereview.chromium.org/65043015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238542 0039d316-1c4b-4281-b951-d872f2087c98
Showing
Please register or sign in to comment