| Index: ui/views/animation/ink_drop_host_view.h
|
| diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h
|
| index 1b6843aabfb6d9955f5e9dbf639e7a3428f98c6b..151992097c1171866a94e8170f5bcd5686c53b27 100644
|
| --- a/ui/views/animation/ink_drop_host_view.h
|
| +++ b/ui/views/animation/ink_drop_host_view.h
|
| @@ -58,6 +58,15 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost {
|
| }
|
| float ink_drop_visible_opacity() const { return ink_drop_visible_opacity_; }
|
|
|
| + // Animates |ink_drop_| to the desired |ink_drop_state|. Caches |event| as the
|
| + // last_ripple_triggering_event().
|
| + //
|
| + // *** NOTE ***: |event| has been plumbed through on a best effort basis for
|
| + // the purposes of centering ink drop ripples on located Events. Thus nullptr
|
| + // has been used by clients who do not have an Event instance available to
|
| + // them.
|
| + void AnimateInkDrop(InkDropState state, const ui::LocatedEvent* event);
|
| +
|
| protected:
|
| static constexpr int kInkDropSmallCornerRadius = 2;
|
| static constexpr int kInkDropLargeCornerRadius = 4;
|
| @@ -85,15 +94,6 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost {
|
| // LocatedEvent, otherwise the center point of the local bounds is returned.
|
| gfx::Point GetInkDropCenterBasedOnLastEvent() const;
|
|
|
| - // Animates |ink_drop_| to the desired |ink_drop_state|. Caches |event| as the
|
| - // last_ripple_triggering_event().
|
| - //
|
| - // *** NOTE ***: |event| has been plumbed through on a best effort basis for
|
| - // the purposes of centering ink drop ripples on located Events. Thus nullptr
|
| - // has been used by clients who do not have an Event instance available to
|
| - // them.
|
| - void AnimateInkDrop(InkDropState state, const ui::LocatedEvent* event);
|
| -
|
| // View:
|
| void OnBoundsChanged(const gfx::Rect& previous_bounds) override;
|
| void VisibilityChanged(View* starting_from, bool is_visible) override;
|
|
|