Chromium Code Reviews| Index: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm |
| =================================================================== |
| --- chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm (revision 152319) |
| +++ chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm (working copy) |
| @@ -55,7 +55,8 @@ |
| const SkBitmap& icon) { |
| if ((extension->browser_action()) || !extension->omnibox_keyword().empty() || |
|
Nico
2012/08/23 15:42:12
Remove parens around first term
Finnur
2012/08/24 12:55:26
Done. I also removed browser_action_command() alto
|
| (extension->page_action() && |
| - !extension->page_action()->default_icon_path().empty())) { |
| + !extension->page_action()->default_icon_path().empty()) || |
| + extension->browser_action_command() || extension->page_action_command()) { |
|
Nico
2012/08/23 15:42:12
This condition is unreadable. Is it the same on al
Finnur
2012/08/24 12:55:26
Mac is the only platform that decided to show the
Aaron Boodman
2012/08/24 13:48:57
If it helps at all, we want to remove the infobar
|
| // The controller is deallocated when the window is closed, so no need to |
| // worry about it here. |
| [[ExtensionInstalledBubbleController alloc] |