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

Unified Diff: chrome/browser/ui/cocoa/toolbar_controller.mm

Issue 6048001: [Mac] Remove the yellow ball and replace it with a green arrow thing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
« no previous file with comments | « chrome/app/theme/upgrade_dot.pdf ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/cocoa/toolbar_controller.mm
diff --git a/chrome/browser/ui/cocoa/toolbar_controller.mm b/chrome/browser/ui/cocoa/toolbar_controller.mm
index 586bf784d255938bd891e1a324a0bd66fc88315a..663d3db02eb13abc0fe8994e7ef5266980ed7895 100644
--- a/chrome/browser/ui/cocoa/toolbar_controller.mm
+++ b/chrome/browser/ui/cocoa/toolbar_controller.mm
@@ -10,6 +10,7 @@
#include "app/l10n_util_mac.h"
#include "app/menus/accelerator_cocoa.h"
#include "app/menus/menu_model.h"
+#include "app/resource_bundle.h"
#include "base/mac_util.h"
#include "base/nsimage_cache_mac.h"
#include "base/singleton.h"
@@ -526,10 +527,8 @@ class NotificationBridge : public NotificationObserver {
}
- (void)badgeWrenchMenu {
- // In the Windows version, the ball doesn't actually pulsate, and is always
- // drawn with the inactive image. Why? (We follow suit, though not on the
- // weird positioning they do that overlaps the button border.)
- NSImage* badge = nsimage_cache::ImageNamed(@"upgrade_dot.pdf");
+ NSImage* badge = ResourceBundle::GetSharedInstance().GetNativeImageNamed(
+ IDR_UPDATE_BADGE);
NSImage* wrenchImage = nsimage_cache::ImageNamed(kWrenchButtonImageName);
NSSize wrenchImageSize = [wrenchImage size];
« no previous file with comments | « chrome/app/theme/upgrade_dot.pdf ('k') | chrome/chrome_dll.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698