Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(23)

Unified Diff: chrome/browser/ui/cocoa/extensions/extension_installed_bubble_bridge.mm

Issue 10883008: Port the Extension Install Bubble changes to Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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]

Powered by Google App Engine
This is Rietveld 408576698