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

Unified Diff: chrome/browser/search/local_ntp_source.cc

Issue 12703039: Inconsistent use of [x] close panel icon. Code changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added recently added local NTP file. 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/search/local_ntp_source.cc
diff --git a/chrome/browser/search/local_ntp_source.cc b/chrome/browser/search/local_ntp_source.cc
index 49fa80fe4e2d7081cf2d246ef6905c65107658bf..8b8418ed801f5ba43b77b0afcea7822ca698f721 100644
--- a/chrome/browser/search/local_ntp_source.cc
+++ b/chrome/browser/search/local_ntp_source.cc
@@ -19,9 +19,9 @@ namespace {
const char kHtmlFilename[] = "local-ntp.html";
const char kJSFilename[] = "local-ntp.js";
const char kCssFilename[] = "local-ntp.css";
-const char kCloseBarFilename[] = "images/close_bar.png";
-const char kCloseBarHoverFilename[] = "images/close_bar_hover.png";
-const char kCloseBarActiveFilename[] = "images/close_bar_active.png";
+const char kCloseBarFilename[] = "images/close_2.png";
+const char kCloseBarHoverFilename[] = "images/close_2_hover.png";
+const char kCloseBarActiveFilename[] = "images/close_2_active.png";
} // namespace
@@ -47,11 +47,11 @@ void LocalNtpSource::StartDataRequest(
} else if (path == kCssFilename) {
identifier = IDR_LOCAL_NTP_CSS;
} else if (path == kCloseBarFilename) {
- identifier = IDR_CLOSE_BAR;
+ identifier = IDR_CLOSE_2;
} else if (path == kCloseBarHoverFilename) {
- identifier = IDR_CLOSE_BAR_H;
+ identifier = IDR_CLOSE_2_H;
} else if (path == kCloseBarActiveFilename) {
- identifier = IDR_CLOSE_BAR_P;
+ identifier = IDR_CLOSE_2_P;
} else {
callback.Run(NULL);
return;
« no previous file with comments | « chrome/browser/resources/options/options_page.css ('k') | chrome/browser/ui/cocoa/find_bar/find_bar_cocoa_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698