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

Unified Diff: ui/views/style/platform_style.cc

Issue 2270933002: Harmony: disable ripples on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: call superclass in StateChanged Created 4 years, 4 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/style/platform_style.h ('k') | ui/views/style/platform_style_mac.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/style/platform_style.cc
diff --git a/ui/views/style/platform_style.cc b/ui/views/style/platform_style.cc
index fe6b9acac5b1ff049aaca5f7cc93a6309f13482c..76932f1fbeb7491654d145ae2bf98f9ab90b6dc7 100644
--- a/ui/views/style/platform_style.cc
+++ b/ui/views/style/platform_style.cc
@@ -43,6 +43,7 @@ const bool PlatformStyle::kTextfieldDragVerticallyDragsToEnd = false;
const CustomButton::NotifyAction PlatformStyle::kMenuNotifyActivationAction =
CustomButton::NOTIFY_ON_RELEASE;
const bool PlatformStyle::kTreeViewSelectionPaintsEntireRow = false;
+const bool PlatformStyle::kUseRipples = true;
// static
gfx::ImageSkia PlatformStyle::CreateComboboxArrow(bool is_enabled,
@@ -88,6 +89,12 @@ SkColor PlatformStyle::TextColorForButton(
return color_by_state[button.state()];
}
+SkColor PlatformStyle::BackgroundColorForMdButton(
+ SkColor color,
+ Button::ButtonState state) {
+ return color;
+}
+
#endif // OS_MACOSX
#if !defined(DESKTOP_LINUX) && !defined(OS_MACOSX)
« no previous file with comments | « ui/views/style/platform_style.h ('k') | ui/views/style/platform_style_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698