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

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

Issue 2070143003: Add MD ink drop ripple to app list button (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@b612539_shelf_button_ripple
Patch Set: Rebased Created 4 years, 6 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_view.h
diff --git a/ui/views/animation/ink_drop_host_view.h b/ui/views/animation/ink_drop_host_view.h
index c6334de5912abd181a17ef7b441d92aec9152b78..6535be103b108c08aee268667c7f791bf3c47684 100644
--- a/ui/views/animation/ink_drop_host_view.h
+++ b/ui/views/animation/ink_drop_host_view.h
@@ -60,6 +60,11 @@ class VIEWS_EXPORT InkDropHostView : public View, public InkDropHost {
// of the InkDrop.
void SetHasInkDrop(bool has_an_ink_drop);
+ // An overload of SetHasInkDrop() that takes an extra argument specifying
+ // whether the default gesture handler should be installed for the ink drop or
+ // not. |handles_gesture_event| can only be true when |has_ink_drop| is true.
+ void SetHasInkDrop(bool has_an_ink_drop, bool handles_gesture_event);
+
// Animates |ink_drop_| to the desired |ink_drop_state|.
//
// TODO(bruthig): Enhance to accept a ui::Event parameter so InkDrops can be

Powered by Google App Engine
This is Rietveld 408576698