| Index: ui/views/animation/ink_drop_hover.h
|
| diff --git a/ui/views/animation/ink_drop_hover.h b/ui/views/animation/ink_drop_hover.h
|
| index 462bbbec8461ebcfafc26a25c8afa70fd0b00189..629d57b3a744319376b04f5e75ead4defd2c570c 100644
|
| --- a/ui/views/animation/ink_drop_hover.h
|
| +++ b/ui/views/animation/ink_drop_hover.h
|
| @@ -8,6 +8,7 @@
|
| #include "base/macros.h"
|
| #include "base/memory/scoped_ptr.h"
|
| #include "base/time/time.h"
|
| +#include "third_party/skia/include/core/SkColor.h"
|
| #include "ui/gfx/geometry/point.h"
|
| #include "ui/gfx/geometry/size.h"
|
| #include "ui/views/views_export.h"
|
| @@ -24,7 +25,7 @@ class RoundedRectangleLayerDelegate;
|
| // visual feedback on ui::Views for mouse hover states.
|
| class VIEWS_EXPORT InkDropHover {
|
| public:
|
| - InkDropHover(const gfx::Size& size, int corner_radius);
|
| + InkDropHover(SkColor color, const gfx::Size& size, int corner_radius);
|
| ~InkDropHover();
|
|
|
| // Returns true if the hover layer is visible.
|
| @@ -39,6 +40,9 @@ class VIEWS_EXPORT InkDropHover {
|
| // The root Layer that can be added in to a Layer tree.
|
| ui::Layer* layer() { return layer_.get(); }
|
|
|
| + // Returns the color used to draw this hover effect.
|
| + SkColor GetColor() const;
|
| +
|
| // Sets the |center_point| of the hover layer relative to its parent Layer.
|
| void SetCenterPoint(const gfx::Point& center_point);
|
|
|
|
|