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

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

Issue 12634025: Inconsistent use of [x] close panel icon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@issue_173251
Patch Set: Fixed compile on linux, mac and win Created 7 years, 9 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/hover_close_button.mm
diff --git a/chrome/browser/ui/cocoa/hover_close_button.mm b/chrome/browser/ui/cocoa/hover_close_button.mm
index 374500b942c20a865a332dbfd4fafbf36e3dbea5..3c2a9523a1ae09e5405fa9887749fe3052c8524a 100644
--- a/chrome/browser/ui/cocoa/hover_close_button.mm
+++ b/chrome/browser/ui/cocoa/hover_close_button.mm
@@ -160,16 +160,16 @@ NSString* const kFadeOutValueKeyPath = @"fadeOutValue";
}
- (NSImage*)imageForHoverState:(HoverState)hoverState {
- int imageID = IDR_TAB_CLOSE;
+ int imageID = IDR_CLOSE_1;
switch (hoverState) {
case kHoverStateNone:
- imageID = IDR_TAB_CLOSE;
+ imageID = IDR_CLOSE_1;
break;
case kHoverStateMouseOver:
- imageID = IDR_TAB_CLOSE_H;
+ imageID = IDR_CLOSE_1_H;
break;
case kHoverStateMouseDown:
- imageID = IDR_TAB_CLOSE_P;
+ imageID = IDR_CLOSE_1_P;
break;
}
ui::ResourceBundle& bundle = ui::ResourceBundle::GetSharedInstance();
« no previous file with comments | « chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm ('k') | chrome/browser/ui/cocoa/infobars/infobar_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698