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

Unified Diff: ui/views/controls/button/menu_button.cc

Issue 1832963002: MD - add ripples to DL shelf items (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix another TODO Created 4 years, 8 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/controls/button/menu_button.cc
diff --git a/ui/views/controls/button/menu_button.cc b/ui/views/controls/button/menu_button.cc
index 41921b923dbabc7f804ee752d0ffa7a353b0eb50..4d1a1b9728157e8581a4ec725a94de28183a7715 100644
--- a/ui/views/controls/button/menu_button.cc
+++ b/ui/views/controls/button/menu_button.cc
@@ -150,7 +150,7 @@ bool MenuButton::Activate(const ui::Event* event) {
if (ink_drop_delegate() && !increment_pressed_lock_called &&
pressed_lock_count_ == 0) {
- ink_drop_delegate()->OnAction(InkDropState::QUICK_ACTION);
+ ink_drop_delegate()->OnAction(InkDropState::ACTION_TRIGGERED);
}
// We must return false here so that the RootView does not get stuck
« no previous file with comments | « ui/views/controls/button/custom_button_unittest.cc ('k') | ui/views/controls/button/menu_button_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698