| 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 33736695d2864f2f46362657371c1df9f64393d2..00ed198be34f32297592b20b59532f54d49774d2 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,10 @@ 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(const gfx::Size& size,
|
| + int corner_radius,
|
| + const gfx::Point& center_point,
|
| + SkColor color);
|
| ~InkDropHover();
|
|
|
| // Returns true if the hover animation is either in the process of fading
|
| @@ -40,9 +44,6 @@ class VIEWS_EXPORT InkDropHover {
|
| // The root Layer that can be added in to a Layer tree.
|
| ui::Layer* layer() { return layer_.get(); }
|
|
|
| - // Sets the |center_point| of the hover layer relative to its parent Layer.
|
| - void SetCenterPoint(const gfx::Point& center_point);
|
| -
|
| private:
|
| enum HoverAnimationType { FADE_IN, FADE_OUT };
|
|
|
|
|