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

Unified Diff: ui/views/animation/ink_drop_animation_controller.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: Updated the ripple to behave resonably when showing context menus. 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
Index: ui/views/animation/ink_drop_animation_controller.h
diff --git a/ui/views/animation/ink_drop_animation_controller.h b/ui/views/animation/ink_drop_animation_controller.h
index 2d71307768ea47067ed81d4f5549852f59ded576..09844392b0f353e5b4cd4913a5853c4b28fbed17 100644
--- a/ui/views/animation/ink_drop_animation_controller.h
+++ b/ui/views/animation/ink_drop_animation_controller.h
@@ -37,6 +37,9 @@ class VIEWS_EXPORT InkDropAnimationController {
// Animates from the current InkDropState to |ink_drop_state|.
virtual void AnimateToState(InkDropState ink_drop_state) = 0;
+ // Immediately snaps the InkDropState to ACTIVATED.
varkha 2016/03/11 17:57:17 Maybe some comment why it is necessary to treat AC
bruthig 2016/03/11 21:58:20 Done.
+ virtual void SnapToActivated() = 0;
+
// Enables or disables the hover state.
virtual void SetHovered(bool is_hovered) = 0;

Powered by Google App Engine
This is Rietveld 408576698