Mac Web Intents Part 14: Migrate extension install prompt
This CL makes the following changes to the extension install prompt:
- the dialog is now displayed in a constrained window
- the UI has been updated to use the new constrained window UI
- the main UI is now a view that can be embedded in any window. This will be used by the web intents picker to embed the extension install prompt in the picker UI.
XIB changes:
- change all the xibs to use a view controller instead of a window controller
- change the buttons to use the new constrained window look
Screenshot: http://i.imgur.com/V0kKF.png
BUG=152010, 95455
[email protected]
Review URL: https://chromiumcodereview.appspot.com/11014012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@161306 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/chrome_browser_ui.gypi b/chrome/chrome_browser_ui.gypi
index 46c872d..b02216a 100644
--- a/chrome/chrome_browser_ui.gypi
+++ b/chrome/chrome_browser_ui.gypi
@@ -459,6 +459,8 @@
'browser/ui/cocoa/extensions/extension_action_context_menu.mm',
'browser/ui/cocoa/extensions/extension_install_dialog_controller.h',
'browser/ui/cocoa/extensions/extension_install_dialog_controller.mm',
+ 'browser/ui/cocoa/extensions/extension_install_view_controller.h',
+ 'browser/ui/cocoa/extensions/extension_install_view_controller.mm',
'browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm',
'browser/ui/cocoa/extensions/extension_installed_bubble_controller.h',
'browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm',