Chromium Code Reviews| Index: chrome/browser/extensions/extension_install_ui.cc |
| diff --git a/chrome/browser/extensions/extension_install_ui.cc b/chrome/browser/extensions/extension_install_ui.cc |
| index 3c5f8199f400051814806053e616ab5456d445c2..2f1efd5039644cac91196e62f75da7d02cef0f25 100644 |
| --- a/chrome/browser/extensions/extension_install_ui.cc |
| +++ b/chrome/browser/extensions/extension_install_ui.cc |
| @@ -155,6 +155,7 @@ void ExtensionInstallUI::OnInstallSuccess(const Extension* extension) { |
| // Note that browser actions don't appear in incognito mode initially, |
| // so fall back to the generic case. |
| if ((extension->browser_action() && !browser->profile()->IsOffTheRecord()) || |
| + !extension->omnibox_keyword().empty() || |
| (extension->page_action() && |
| !extension->page_action()->default_icon_path().empty())) { |
|
Aaron Boodman
2010/11/11 02:55:30
Nit: this line needs to be indented one space.
Matt Perry
2010/11/12 07:20:25
Are you sure? I don't think I've ever seen a multi
Aaron Boodman
2010/11/12 19:04:06
The expression "!extension->page_action()->default
Matt Perry
2010/11/12 23:08:18
Yes, but I've only seen it stop there. It looks we
|
| ExtensionInstalledBubbleCocoa::ShowExtensionInstalledBubble( |