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

Unified Diff: ui/views/background.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
« no previous file with comments | « no previous file | ui/views/background.cc » ('j') | ui/views/background.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/background.h
diff --git a/ui/views/background.h b/ui/views/background.h
index 17704910dcfa7e647c6ef95c56cf95f7308791d5..43f4d78bdf10abb97ff5eb95aeb881cb0e6049f7 100644
--- a/ui/views/background.h
+++ b/ui/views/background.h
@@ -59,6 +59,12 @@ class VIEWS_EXPORT Background {
static Background* CreateVerticalGradientBackground(SkColor color1,
SkColor color2);
+ // Creates a background that contains a vertical gradient that varies from
+ // |color1| to |color2|. |start| and |end| specify the start and the end of
+ // the gradient. Both values are specified as percentage.
msw 2012/08/08 17:12:20 nit: consider "Both |start| and |end| range from 0
markusheintz_ 2012/08/08 21:53:55 obsolete
+ static Background* CreateVerticalGradientRangeBackground(
+ SkColor color1, SkColor color2, float start, float end);
msw 2012/08/08 17:12:20 nit: one param per line
markusheintz_ 2012/08/08 21:53:55 Done.
+
// Creates Chrome's standard panel background
static Background* CreateStandardPanelBackground();
« no previous file with comments | « no previous file | ui/views/background.cc » ('j') | ui/views/background.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698