Update UI for WebStore bundle installs.
commitd9e1d9dc1f30cba6b7a86d8d578dbd2ed36db808
authortreib <treib@chromium.org>
Fri, 24 Apr 2015 11:17:04 +0000 (24 04:17 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 24 Apr 2015 11:17:22 +0000 (24 11:17 +0000)
tree4d6e6018e2772c4241348c30d75aba3309c63394
parent5637e64318a61be092f3e7cff509f4e96144ae5f
Update UI for WebStore bundle installs.

This CL adds extension icons in the install dialog as well as the "was installed" bubble.

Followup to https://codereview.chromium.org/855513002/

XIB changes in ExtensionInstallPromptBundle.xib:
* convert the "bundle items" NSTextField (filled with a multiline string) to an NSView (filled with dynamically created per-item subviews)
* add an NSImageView in the top right to hold the bundle item

XIB changes in ExtensionInstalledBubbleBundle.xib:
* convert the "installed" and "failed" NSTextFields (filled with multiline strings) to NSViews (filled with dynamically created per-item subviews)

BUG=448724

Review URL: https://codereview.chromium.org/816223008

Cr-Commit-Position: refs/heads/master@{#326769}
14 files changed:
chrome/app/nibs/ExtensionInstallPromptBundle.xib
chrome/app/nibs/ExtensionInstalledBubbleBundle.xib
chrome/browser/extensions/bundle_installer.cc
chrome/browser/extensions/extension_install_prompt.cc
chrome/browser/extensions/extension_install_prompt.h
chrome/browser/ui/cocoa/extensions/bundle_util.h [new file with mode: 0644]
chrome/browser/ui/cocoa/extensions/bundle_util.mm [new file with mode: 0644]
chrome/browser/ui/cocoa/extensions/extension_install_view_controller.mm
chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.h
chrome/browser/ui/cocoa/extensions/extension_installed_bubble_controller.mm
chrome/browser/ui/views/extensions/bundle_installed_bubble.cc
chrome/browser/ui/views/extensions/extension_install_dialog_view.cc
chrome/browser/ui/views/extensions/extension_install_dialog_view.h
chrome/chrome_browser_ui.gypi