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

Unified Diff: ui/views/animation/ink_drop_delegate.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/ink_drop_animation_unittest.cc ('k') | ui/views/animation/square_ink_drop_animation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_delegate.h
diff --git a/ui/views/animation/ink_drop_delegate.h b/ui/views/animation/ink_drop_delegate.h
index 99b1e82c94291fb3642c09cd7247fe8d487be928..61235241f9269c554000d71266c982577c209214 100644
--- a/ui/views/animation/ink_drop_delegate.h
+++ b/ui/views/animation/ink_drop_delegate.h
@@ -29,6 +29,9 @@ class VIEWS_EXPORT InkDropDelegate {
// as well as a NONE value.
virtual void OnAction(InkDropState state) = 0;
+ // Immediately snaps the InkDropState to ACTIVATED.
+ virtual void SnapToActivated() = 0;
+
// Enables or disables the hover state.
virtual void SetHovered(bool is_hovered) = 0;
« no previous file with comments | « ui/views/animation/ink_drop_animation_unittest.cc ('k') | ui/views/animation/square_ink_drop_animation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698