diff options
Diffstat (limited to 'chromium/ui/views/painter.h')
-rw-r--r-- | chromium/ui/views/painter.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/ui/views/painter.h b/chromium/ui/views/painter.h index d75688eb2a2..76cc996f50c 100644 --- a/chromium/ui/views/painter.h +++ b/chromium/ui/views/painter.h @@ -46,6 +46,10 @@ class VIEWS_EXPORT Painter { gfx::Canvas* canvas, Painter* focus_painter); + // Creates a painter that draws a RoundRect with a solid color and given + // corner radius. + static Painter* CreateSolidRoundRectPainter(SkColor color, float radius); + // 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); |