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

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: compiling is always a plus 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
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 eaffa6efa2bd7041814cdb0b3128ccbf57333022..687de5e43f5c9ba783c4f65c247c21f07ddbfe2e 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -48,13 +48,14 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
const 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
« no previous file with comments | « ui/views/controls/button/label_button.h ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698