Index: ui/views/painter.h |
diff --git a/ui/views/painter.h b/ui/views/painter.h |
index 6efd281f11a018809ec747c9841f0c0995489347..3799e91e86c0cb3250557334ef5e16d3864a5b48 100644 |
--- a/ui/views/painter.h |
+++ b/ui/views/painter.h |
@@ -9,7 +9,6 @@ |
#include "base/compiler_specific.h" |
#include "base/memory/scoped_ptr.h" |
#include "third_party/skia/include/core/SkColor.h" |
-#include "ui/base/nine_image_painter_factory.h" |
#include "ui/views/views_export.h" |
namespace gfx { |
@@ -19,6 +18,11 @@ |
class Rect; |
class Size; |
} |
+ |
+// A macro to define arrays of IDR constants used with CreateImageGridPainter. |
+#define IMAGE_GRID(x) { x ## _TOP_LEFT, x ## _TOP, x ## _TOP_RIGHT, \ |
+ x ## _LEFT, x ## _CENTER, x ## _RIGHT, \ |
+ x ## _BOTTOM_LEFT, x ## _BOTTOM, x ## _BOTTOM_RIGHT, } |
namespace views { |