Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1324)

Unified Diff: ui/views/animation/flood_fill_ink_drop_animation.h

Issue 1757993004: Added ink drop hover/ripple to menu hosting bookmark buttons. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed sky@ & varkha@ comments. Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/views/animation/button_ink_drop_delegate.cc ('k') | ui/views/animation/flood_fill_ink_drop_animation.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/flood_fill_ink_drop_animation.h
diff --git a/ui/views/animation/flood_fill_ink_drop_animation.h b/ui/views/animation/flood_fill_ink_drop_animation.h
index fa6942f4e84609dcaf6353aebea11ab9d39058d5..e838e282fbf96776f7fa48896b2618a177e4f307 100644
--- a/ui/views/animation/flood_fill_ink_drop_animation.h
+++ b/ui/views/animation/flood_fill_ink_drop_animation.h
@@ -54,6 +54,7 @@ class VIEWS_EXPORT FloodFillInkDropAnimation : public InkDropAnimation {
~FloodFillInkDropAnimation() override;
// InkDropAnimation:
+ void SnapToActivated() override;
ui::Layer* GetRootLayer() override;
bool IsVisible() const override;
@@ -97,6 +98,9 @@ class VIEWS_EXPORT FloodFillInkDropAnimation : public InkDropAnimation {
// |target_radius|.
gfx::Transform CalculateTransform(float target_radius) const;
+ // Returns the target Transform for the ACTIVATED animation.
+ gfx::Transform GetActivatedTargetTransform() const;
+
// The clip Size.
const gfx::Size size_;
« no previous file with comments | « ui/views/animation/button_ink_drop_delegate.cc ('k') | ui/views/animation/flood_fill_ink_drop_animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698