Index: ui/views/painter.h |
diff --git a/ui/views/painter.h b/ui/views/painter.h |
index a49cd1bb78d2fdacf49f51f9b32538fdf9487b9a..3e6991fda6791b04eb31451edf358913c5de114d 100644 |
--- a/ui/views/painter.h |
+++ b/ui/views/painter.h |
@@ -34,6 +34,8 @@ class VIEWS_EXPORT Painter { |
// Creates a painter that draws a gradient between the two colors. |
static Painter* CreateHorizontalGradient(SkColor c1, SkColor c2); |
static Painter* CreateVerticalGradient(SkColor c1, SkColor c2); |
+ static Painter* CreateVerticalGradientRange(SkColor c1, SkColor c2, |
msw
2012/08/08 17:12:20
nit: one param per line
markusheintz_
2012/08/08 21:53:55
Done.
|
+ float start, float end); |
// Creates a painter that divides |image| into nine regions. The four corners |
// are rendered at the size specified in insets (for example, the upper |