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

Unified Diff: chrome/browser/ui/views/toolbar/toolbar_button.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: 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: chrome/browser/ui/views/toolbar/toolbar_button.cc
diff --git a/chrome/browser/ui/views/toolbar/toolbar_button.cc b/chrome/browser/ui/views/toolbar/toolbar_button.cc
index 58bd5f3cbb32c36fec2ba448d4fa6a0a2a0f2513..4cdeb34c6ec77167b486fb194e53c3625190fd7e 100644
--- a/chrome/browser/ui/views/toolbar/toolbar_button.cc
+++ b/chrome/browser/ui/views/toolbar/toolbar_button.cc
@@ -40,7 +40,7 @@ ToolbarButton::ToolbarButton(Profile* profile,
set_has_ink_drop_action_on_click(true);
set_context_menu_controller(this);
if (ui::MaterialDesignController::IsModeMaterial()) {
- SetHasInkDrop(true);
+ SetHasInkDrop(INK_DROP_WITH_GESTURE_HANDLING);
SetFocusPainter(nullptr);
}
}

Powered by Google App Engine
This is Rietveld 408576698