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

Unified Diff: ui/views/controls/combobox/combobox.cc

Issue 2833133003: views: disable ink drops altogether on Mac (Closed)
Patch Set: use InkDropStub Created 3 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/controls/button/md_text_button.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/combobox/combobox.cc
diff --git a/ui/views/controls/combobox/combobox.cc b/ui/views/controls/combobox/combobox.cc
index f9c1c2d5711a0b7efda01f07c2f78a7b2719ce1c..6781ecb9fae6ae98676fe7415ae638991c39e664 100644
--- a/ui/views/controls/combobox/combobox.cc
+++ b/ui/views/controls/combobox/combobox.cc
@@ -123,8 +123,7 @@ class TransparentButton : public CustomButton {
set_notify_action(PlatformStyle::kMenuNotifyActivationAction);
if (UseMd()) {
- SetInkDropMode(PlatformStyle::kUseRipples ? InkDropMode::ON
- : InkDropMode::OFF);
+ SetInkDropMode(InkDropMode::ON);
set_has_ink_drop_action_on_click(true);
}
}
« no previous file with comments | « ui/views/controls/button/md_text_button.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698