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

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

Issue 1924663007: Expand the Material Design hover as it fades out when a ripple is triggered. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 years, 8 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 | « no previous file | ui/views/animation/ink_drop_animation_controller_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/ink_drop_animation_controller_impl.h
diff --git a/ui/views/animation/ink_drop_animation_controller_impl.h b/ui/views/animation/ink_drop_animation_controller_impl.h
index 9324b0bf8ec3d1438f12f0b782a4668e31a6ac9b..a8d786d1bb0d11b47f90fd41a4b8299e7cba3305 100644
--- a/ui/views/animation/ink_drop_animation_controller_impl.h
+++ b/ui/views/animation/ink_drop_animation_controller_impl.h
@@ -73,8 +73,11 @@ class VIEWS_EXPORT InkDropAnimationControllerImpl
// Enables or disables the hover state based on |is_hovered| and if an
// animation is triggered it will be scheduled to have the given
- // |animation_duration|.
- void SetHoveredInternal(bool is_hovered, base::TimeDelta animation_duration);
+ // |animation_duration|. If |explode| is true the hover will expand as it
+ // fades out. |explode| is ignored when |is_hovered| is true.
+ void SetHoveredInternal(bool is_hovered,
+ base::TimeDelta animation_duration,
+ bool explode);
// Starts the |hover_after_animation_timer_| timer. This will stop the current
// |hover_after_animation_timer_| instance if it exists.
« no previous file with comments | « no previous file | ui/views/animation/ink_drop_animation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698