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

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: Addressed review comments 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 c3fa8d8cbb9040d5025d6a0c64b14e1d547e69eb..2a3b8fa2e329e73c512685adb36880e80db2db42 100644
--- a/ui/views/animation/ink_drop_host_view.h
+++ b/ui/views/animation/ink_drop_host_view.h
@@ -86,6 +86,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);
James Cook 2016/06/23 20:08:08 Having a method that takes two bools side by side,
mohsen 2016/06/27 22:17:10 Right. I believe having two separate methods would
+
private:
class InkDropGestureHandler;
friend class InkDropGestureHandler;

Powered by Google App Engine
This is Rietveld 408576698