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

Unified Diff: chrome/browser/ui/cocoa/status_icons/status_icon_mac.mm

Issue 464163003: Remove IDR_STATUS_TRAY_ICON_PRESSED (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated the comment Created 6 years, 3 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/status_icons/status_icon_mac.mm
diff --git a/chrome/browser/ui/cocoa/status_icons/status_icon_mac.mm b/chrome/browser/ui/cocoa/status_icons/status_icon_mac.mm
index 32c1f81c577648c69eea72ea4c93d220e89f54d6..dbecd2324f1686f14c727f55aaea0cbd39450970 100644
--- a/chrome/browser/ui/cocoa/status_icons/status_icon_mac.mm
+++ b/chrome/browser/ui/cocoa/status_icons/status_icon_mac.mm
@@ -71,14 +71,6 @@ void StatusIconMac::SetImage(const gfx::ImageSkia& image) {
}
}
-void StatusIconMac::SetPressedImage(const gfx::ImageSkia& image) {
- if (!image.isNull()) {
- NSImage* ns_image = gfx::SkBitmapToNSImage(*image.bitmap());
- if (ns_image)
- [item() setAlternateImage:ns_image];
- }
-}
-
void StatusIconMac::SetToolTip(const base::string16& tool_tip) {
// If we have a status icon menu, make the tool tip part of the menu instead
// of a pop-up tool tip when hovering the mouse over the image.

Powered by Google App Engine
This is Rietveld 408576698