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

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

Issue 1495753002: Make the material design ripple effect more visible on a quick action (single click or single tap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Polished for review. Created 4 years, 11 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_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 ff29f9f86b08164fe22fad4fecef664e4d2ee655..40eb0ba426ebe0a61ead82c4dbf303ef4a0ec6c2 100644
--- a/ui/views/animation/ink_drop_animation_controller_impl.h
+++ b/ui/views/animation/ink_drop_animation_controller_impl.h
@@ -115,6 +115,10 @@ class VIEWS_EXPORT InkDropAnimationControllerImpl
// CreateInkDropAnimation().
scoped_ptr<InkDropAnimation> ink_drop_animation_;
+ // Tracks whether the InkDropAnimation can safely be destroyed when an
+ // InkDropState::HIDDEN animation completes.
+ bool can_destroy_after_hidden_animation_;
+
// The timer used to delay the hover fade in after an ink drop animation.
scoped_ptr<base::Timer> hover_after_animation_timer_;

Powered by Google App Engine
This is Rietveld 408576698