From 54bc0925f6430d3fd94fbfc8cabff0a41128701a Mon Sep 17 00:00:00 2001 From: "mirandac@chromium.org" Date: Sun, 31 Jan 2010 21:45:17 +0000 Subject: ExtensionInstalledBubble for Mac. Adds ExtensionInstalledBubble.xib, which contains the framework for the bubble itself (icon view, close button, and three message fields). BUG= 26974 TEST= Install an extension. Bubble should show same information as windows bubble. Review URL: http://codereview.chromium.org/527012 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37671 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_install_ui.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'chrome/browser/extensions/extension_install_ui.h') diff --git a/chrome/browser/extensions/extension_install_ui.h b/chrome/browser/extensions/extension_install_ui.h index dcf8cd9..3e51659 100644 --- a/chrome/browser/extensions/extension_install_ui.h +++ b/chrome/browser/extensions/extension_install_ui.h @@ -81,6 +81,12 @@ class ExtensionInstallUI { // the user a choice to keep it or undo the installation. void ShowThemeInfoBar(Extension* new_theme); +#if defined(OS_MACOSX) + // When an extension is installed on Mac with neither browser action nor + // page action icons, show an infobar instead of a popup bubble. + void ShowGenericExtensionInstalledInfoBar(Extension* new_extension); +#endif + // Returns the delegate to control the browser's info bar. This is within its // own function due to its platform-specific nature. InfoBarDelegate* GetNewInfoBarDelegate(Extension* new_theme, -- cgit v1.1