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

Unified Diff: ui/views/painter.h

Issue 10823229: (Views only) Add a gradient background to the tabstrip of the view tabbed pane implementation. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " Created 8 years, 4 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
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

Powered by Google App Engine
This is Rietveld 408576698