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

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

Issue 2720183002: [Views] Update ink drop for omnibox icons (Closed)
Patch Set: Update the behavior Created 3 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_host.h
diff --git a/ui/views/animation/ink_drop_host.h b/ui/views/animation/ink_drop_host.h
index fa77f3ede4b8155ca3c16be9f6599f514844f69d..2502ee9efe121d1e48c8df7e29e1442fa5d31ff2 100644
--- a/ui/views/animation/ink_drop_host.h
+++ b/ui/views/animation/ink_drop_host.h
@@ -39,6 +39,9 @@ class VIEWS_EXPORT InkDropHost {
// Removes |ink_drop_layer| from the layer tree.
virtual void RemoveInkDropLayer(ui::Layer* ink_drop_layer) = 0;
+ // Called when an ink drop has started to animate.
+ virtual void InkDropAnimationStarted() {}
bruthig 2017/03/08 18:58:24 To enable compos-ability this should be a function
spqchan 2017/03/14 00:07:52 Done, create a InkDropObserver class
+
// Returns a configured InkDrop. In general subclasses will return an
// InkDropImpl instance that will use the CreateInkDropRipple() and
// CreateInkDropHighlight() methods to create the visual effects.

Powered by Google App Engine
This is Rietveld 408576698