| Index: ui/views/animation/ink_drop_ripple.h
|
| diff --git a/ui/views/animation/ink_drop_ripple.h b/ui/views/animation/ink_drop_ripple.h
|
| index 1acde1a067ad1ea71d316adfd50de9d51071138f..6f05f7f6c0ad1ae72a261e3012ba27705275de6a 100644
|
| --- a/ui/views/animation/ink_drop_ripple.h
|
| +++ b/ui/views/animation/ink_drop_ripple.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "ui/gfx/geometry/point.h"
|
| +#include "ui/gfx/geometry/size.h"
|
| #include "ui/views/animation/ink_drop_ripple_observer.h"
|
| #include "ui/views/animation/ink_drop_state.h"
|
| #include "ui/views/views_export.h"
|
| @@ -53,6 +54,10 @@ class VIEWS_EXPORT InkDropRipple {
|
| // AnimationStarted(s2).
|
| void set_observer(InkDropRippleObserver* observer) { observer_ = observer; }
|
|
|
| + // Called by ink drop whenever its host's size is changed in order to give the
|
| + // ripple an opportunity to handle dynamic host resizes.
|
| + virtual void HostSizeChanged(const gfx::Size& new_size);
|
| +
|
| // Animates from the current InkDropState to the new |ink_drop_state|.
|
| //
|
| // NOTE: GetTargetInkDropState() should return the new |ink_drop_state| value
|
|
|