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

Unified Diff: ui/views/controls/button/custom_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
« no previous file with comments | « ui/views/animation/square_ink_drop_animation.cc ('k') | ui/views/controls/button/custom_button_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/custom_button.cc
diff --git a/ui/views/controls/button/custom_button.cc b/ui/views/controls/button/custom_button.cc
index fc07e0b7b0fa4bf42ef5db8e41cb481045232006..f864f5ee08df1708b6daf3d81331b7fae2670c34 100644
--- a/ui/views/controls/button/custom_button.cc
+++ b/ui/views/controls/button/custom_button.cc
@@ -433,7 +433,7 @@ CustomButton::CustomButton(ButtonListener* listener)
ink_drop_delegate_(nullptr),
notify_action_(NOTIFY_ON_RELEASE),
has_ink_drop_action_on_click_(false),
- ink_drop_action_on_click_(InkDropState::QUICK_ACTION),
+ ink_drop_action_on_click_(InkDropState::ACTION_TRIGGERED),
ink_drop_base_color_(gfx::kPlaceholderColor),
md_focus_ring_(nullptr) {
hover_animation_.SetSlideDuration(kHoverFadeDurationMs);
« no previous file with comments | « ui/views/animation/square_ink_drop_animation.cc ('k') | ui/views/controls/button/custom_button_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698