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

Unified Diff: ui/views/painter.h

Issue 59383003: Add the button style for combobox (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebasing Created 7 years 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: ui/views/painter.h
diff --git a/ui/views/painter.h b/ui/views/painter.h
index c0ff443d3ac57433f48deb672d9bde7ba0483214..cbd4d6263a40297cbba135d01d6f4c3b301d9845 100644
--- a/ui/views/painter.h
+++ b/ui/views/painter.h
@@ -23,6 +23,11 @@ class Size;
x ## _LEFT, x ## _CENTER, x ## _RIGHT, \
x ## _BOTTOM_LEFT, x ## _BOTTOM, x ## _BOTTOM_RIGHT, }
+#define IMAGE_GRID2(x, y) { \
sky 2013/12/02 21:28:55 Why do you need a new macro for this? Can't you em
hajimehoshi 2013/12/03 10:30:52 Done.
+ 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 views {
// Painter, as the name implies, is responsible for painting in a particular
« ui/views/controls/focusable_border.h ('K') | « ui/views/controls/focusable_border.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698