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

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
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view.cc ('k') | ui/app_list/presenter/app_list_presenter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..59fb561cce375d16f172c22828f21d1d0904a250 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);
+ SetInkDropMode(InkDropMode::ON);
SetFocusPainter(nullptr);
}
}
« no previous file with comments | « chrome/browser/ui/views/toolbar/toolbar_action_view.cc ('k') | ui/app_list/presenter/app_list_presenter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698