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

Unified Diff: chrome/browser/ui/views/infobars/infobar_button_border.cc

Issue 11341049: views: Rename IDR_INFOBARBUTTON_<POSITION>_<STATE> to IDR_INFOBARBUTTON_<STATE>_<POSITION>. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: add blank line Created 8 years, 2 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
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | ui/views/controls/button/border_images.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/infobar_button_border.cc
diff --git a/chrome/browser/ui/views/infobars/infobar_button_border.cc b/chrome/browser/ui/views/infobars/infobar_button_border.cc
index 075f9f535932f08204a2d669facb82363d1cda48..df520acc312ad96c8501b952ce8db4400c480e7e 100644
--- a/chrome/browser/ui/views/infobars/infobar_button_border.cc
+++ b/chrome/browser/ui/views/infobars/infobar_button_border.cc
@@ -8,16 +8,11 @@
#include "grit/theme_resources.h"
#include "ui/views/controls/button/border_images.h"
-#define BORDER_IMAGES(x, y) \
- x ## _TOP_LEFT_ ## y, x ## _TOP_ ## y, x ## _TOP_RIGHT_ ## y, \
- x ## _LEFT_ ## y, x ## _CENTER_ ## y, x ## _RIGHT_ ## y, \
- x ## _BOTTOM_LEFT_ ## y, x ## _BOTTOM_ ## y, x ## _BOTTOM_RIGHT_ ## y,
-
namespace {
-const int kNormalImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON, N) };
-const int kHotImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON, H) };
-const int kPushedImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON, P) };
+const int kNormalImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON_NORMAL) };
+const int kHotImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON_HOVER) };
+const int kPushedImageSet[] = { BORDER_IMAGES(IDR_INFOBARBUTTON_PRESSED) };
} // namespace
« no previous file with comments | « chrome/app/theme/theme_resources.grd ('k') | ui/views/controls/button/border_images.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698