| Index: ui/views/background.h
|
| diff --git a/ui/views/background.h b/ui/views/background.h
|
| index 17704910dcfa7e647c6ef95c56cf95f7308791d5..8ecca6e285be1b53291a0ba78952842d1ce199c9 100644
|
| --- a/ui/views/background.h
|
| +++ b/ui/views/background.h
|
| @@ -59,6 +59,15 @@ class VIEWS_EXPORT Background {
|
| static Background* CreateVerticalGradientBackground(SkColor color1,
|
| SkColor color2);
|
|
|
| + // Creates a background that contains a vertical gradient. The gradient can
|
| + // have multiple |colors|. The |pos| array contains the relative positions of
|
| + // each corresponding color. |colors| and |pos| must be the same size. The
|
| + // first element in |pos| must be 0.0 and the last element must be 1.0.
|
| + // |count| contains the number of elements in |colors| and |pos|.
|
| + static Background* CreateVerticalMultiColorGradientBackground(SkColor* colors,
|
| + SkScalar* pos,
|
| + size_t count);
|
| +
|
| // Creates Chrome's standard panel background
|
| static Background* CreateStandardPanelBackground();
|
|
|
|
|