summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chrome/app/theme/upgrade_dot.pdfbin0 -> 4672 bytes
-rw-r--r--chrome/browser/cocoa/toolbar_controller.mm9
-rw-r--r--chrome/chrome_dll.gypi1
3 files changed, 2 insertions, 8 deletions
diff --git a/chrome/app/theme/upgrade_dot.pdf b/chrome/app/theme/upgrade_dot.pdf
new file mode 100644
index 0000000..27c54a9
--- /dev/null
+++ b/chrome/app/theme/upgrade_dot.pdf
Binary files differ
diff --git a/chrome/browser/cocoa/toolbar_controller.mm b/chrome/browser/cocoa/toolbar_controller.mm
index a2abf32..8d5e684 100644
--- a/chrome/browser/cocoa/toolbar_controller.mm
+++ b/chrome/browser/cocoa/toolbar_controller.mm
@@ -562,17 +562,10 @@ class NotificationBridge : public NotificationObserver {
}
- (void)badgeWrenchMenu {
- // The wrench menu gets an upgrade dot. This gets ugly because we only have a
- // PNG so we need to position it. TODO(avi): Get a PDF version, one ready for
- // overlaying. http://crbug.com/49668
- //
// 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.)
- ThemeProvider* theme_provider = profile_->GetThemeProvider();
- NSImage* badge = theme_provider->GetNSImageNamed(IDR_UPGRADE_DOT_INACTIVE,
- true);
-
+ NSImage* badge = nsimage_cache::ImageNamed(@"upgrade_dot.pdf");
NSImage* wrenchImage = nsimage_cache::ImageNamed(kWrenchButtonImageName);
NSSize wrenchImageSize = [wrenchImage size];
diff --git a/chrome/chrome_dll.gypi b/chrome/chrome_dll.gypi
index 52550f2..10ecae4 100644
--- a/chrome/chrome_dll.gypi
+++ b/chrome/chrome_dll.gypi
@@ -271,6 +271,7 @@
'app/theme/reload_Template.pdf',
'app/theme/stop_Template.pdf',
'app/theme/tools_Template.pdf',
+ 'app/theme/upgrade_dot.pdf',
'browser/cocoa/install.sh',
],
'mac_bundle_resources!': [