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

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

Issue 1422593003: Made material design ink drop QUICK_ACTION animation more visible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added varkha@'s behavioural changes Created 5 years, 1 month 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 51c115d5e518c8296d8fca162d2ff6d46f00386d..9a950d2afbef5a16280e1477e3e125b6f8a1f112 100644
--- a/ui/views/animation/ink_drop_animation_controller.h
+++ b/ui/views/animation/ink_drop_animation_controller.h
@@ -32,6 +32,10 @@ class VIEWS_EXPORT InkDropAnimationController {
// Animates from the current InkDropState to |ink_drop_state|.
virtual void AnimateToState(InkDropState ink_drop_state) = 0;
+ // Returns true if the ink drop animation will automatically transition to the
varkha 2015/11/06 00:00:27 nit: s/will/should if you agree the name ShouldAut
+ // HIDDEN state when the current state animation completes.
+ virtual bool WillAutoAnimateToHidden() const = 0;
+
// Enables or disables the hover state.
virtual void SetHovered(bool is_hovered) = 0;

Powered by Google App Engine
This is Rietveld 408576698