Index: ui/views/style/platform_style.h |
diff --git a/ui/views/style/platform_style.h b/ui/views/style/platform_style.h |
index 16d10b266fb9a23886e85fc5412952f2d1a5e4d9..dadf7a34d712e7ec085846712525fab48ce613cc 100644 |
--- a/ui/views/style/platform_style.h |
+++ b/ui/views/style/platform_style.h |
@@ -53,6 +53,9 @@ class VIEWS_EXPORT PlatformStyle { |
// label for that row. |
static const bool kTreeViewSelectionPaintsEntireRow; |
+ // Whether ripples should be used for visual feedback on control activation. |
+ static const bool kUseRipples; |
+ |
// Creates an ImageSkia containing the image to use for the combobox arrow. |
// The |is_enabled| argument is true if the control the arrow is for is |
// enabled, and false if the control is disabled. The |style| argument is the |
@@ -85,6 +88,11 @@ class VIEWS_EXPORT PlatformStyle { |
static void ApplyLabelButtonTextStyle(Label* label, |
ButtonColorByState* color_by_state); |
+ // Returns the background color that should be used for an MdTextButton or |
+ // other MD controls when in the given state. |
+ static SkColor BackgroundColorForMdButton(SkColor color, |
+ Button::ButtonState state); |
+ |
// Applies the current system theme to the default border created by |button|. |
static std::unique_ptr<Border> CreateThemedLabelButtonBorder( |
LabelButton* button); |