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

Unified Diff: ash/system/toast/toast_overlay.cc

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: ash/system/toast/toast_overlay.cc
diff --git a/ash/system/toast/toast_overlay.cc b/ash/system/toast/toast_overlay.cc
index d06ecdf580895c42b7e0e8f7db4605abd77f87cd..956e8822060e3e2822caa7ba9ef5324443f82983 100644
--- a/ash/system/toast/toast_overlay.cc
+++ b/ash/system/toast/toast_overlay.cc
@@ -102,7 +102,7 @@ class ToastOverlayButton : public views::LabelButton {
ToastOverlayButton::ToastOverlayButton(views::ButtonListener* listener,
const base::string16& text)
: views::LabelButton(listener, text) {
- SetHasInkDrop(true);
+ SetHasInkDrop(INK_DROP_WITH_GESTURE_HANDLING);
set_has_ink_drop_action_on_click(true);
set_ink_drop_base_color(SK_ColorWHITE);

Powered by Google App Engine
This is Rietveld 408576698