diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 18:34:12 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-29 18:34:12 +0000 |
commit | 201ebfe03681052d1233f12d18e47392dba761bd (patch) | |
tree | 5c8e3f614cca352f00869499dbe352a8fc79d532 /chrome/browser/cocoa | |
parent | 2326c76cd7fc51f691e6891cb5327afa8bf361e9 (diff) | |
download | chromium_src-201ebfe03681052d1233f12d18e47392dba761bd.zip chromium_src-201ebfe03681052d1233f12d18e47392dba761bd.tar.gz chromium_src-201ebfe03681052d1233f12d18e47392dba761bd.tar.bz2 |
Hide the theme install bubble a little earlier.
The bubble was showing at the same time as the installation confirmation dialog for non-theme extensions.
BUG=26130
Review URL: http://codereview.chromium.org/339055
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa')
-rw-r--r-- | chrome/browser/cocoa/theme_install_bubble_view.mm | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/theme_install_bubble_view.mm b/chrome/browser/cocoa/theme_install_bubble_view.mm index f3c2c25..70a7cee 100644 --- a/chrome/browser/cocoa/theme_install_bubble_view.mm +++ b/chrome/browser/cocoa/theme_install_bubble_view.mm @@ -73,6 +73,16 @@ ThemeInstallBubbleView::ThemeInstallBubbleView(NSWindow* window) this, NotificationType::EXTENSION_INSTALLED, NotificationService::AllSources()); + registrar_.Add( + this, + NotificationType::EXTENSION_INSTALL_ERROR, + NotificationService::AllSources()); + + // Don't let the bubble overlap the confirm dialog. + registrar_.Add( + this, + NotificationType::EXTENSION_WILL_SHOW_CONFIRM_DIALOG, + NotificationService::AllSources()); // Add the view. [cocoa_view_ setFrame:parent_bounds]; |