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

Unified Diff: ui/views/controls/button/md_text_button.h

Issue 2094553002: MD - Fix coloring of buttons on DL shelf. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/md_text_button.h
diff --git a/ui/views/controls/button/md_text_button.h b/ui/views/controls/button/md_text_button.h
index 1932a40dfd53d85e74b0605fd5d29c087a383a2e..a7c2bff07c1705f645c8d294b9970c8305e47bbf 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -39,13 +39,14 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
void OnNativeThemeChanged(const ui::NativeTheme* theme) override;
SkColor GetInkDropBaseColor() const override;
bool ShouldShowInkDropForFocus() const override;
+ void SetEnabledTextColors(SkColor color) override;
void UpdateStyleToIndicateDefaultStatus() override;
private:
MdTextButton(ButtonListener* listener);
~MdTextButton() override;
- void UpdateColorsFromNativeTheme();
+ void UpdateColors();
// The MD-style focus ring. This is not done via a FocusPainter
// because it needs to paint to a layer so it can extend beyond the bounds of

Powered by Google App Engine
This is Rietveld 408576698