Chromium Code Reviews| Index: ui/views/animation/ink_drop_painted_layer_delegates.h |
| diff --git a/ui/views/animation/ink_drop_painted_layer_delegates.h b/ui/views/animation/ink_drop_painted_layer_delegates.h |
| index 56148d28015f7466fc3c3fd6147db6f4152bae74..a235c37cdeb5047a9b12e93acfe18893929b53f9 100644 |
| --- a/ui/views/animation/ink_drop_painted_layer_delegates.h |
| +++ b/ui/views/animation/ink_drop_painted_layer_delegates.h |
| @@ -114,11 +114,12 @@ class VIEWS_EXPORT RoundedRectangleLayerDelegate |
| }; |
| // A BasePaintedLayerDelegate that paints a shadow around the outside of a |
| -// specified roundrect. |
| +// specified roundrect, and also fills the round rect. |
| class VIEWS_EXPORT BorderShadowLayerDelegate : public BasePaintedLayerDelegate { |
| public: |
| BorderShadowLayerDelegate(const std::vector<gfx::ShadowValue>& shadows, |
| const gfx::Rect& shadowed_area_bounds, |
| + SkColor fill_color, |
| int corner_radius); |
| ~BorderShadowLayerDelegate() override; |
| @@ -135,6 +136,8 @@ class VIEWS_EXPORT BorderShadowLayerDelegate : public BasePaintedLayerDelegate { |
| // The bounds of the shadowed area. |
| gfx::Rect bounds_; |
| + SkColor fill_color_; |
|
sky
2016/10/06 17:09:45
const if you can.
Evan Stade
2016/10/06 17:43:37
added to all the members
|
| + |
| int corner_radius_; |
| DISALLOW_COPY_AND_ASSIGN(BorderShadowLayerDelegate); |