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

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

Issue 2190453002: Update CrOS logout button for MD. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix override 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/controls/button/label_button.cc ('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 eb6b6fee07dce8a360740be9d6f03150283a973e..5adc6eec9b635d4bc235e60db9df6cce0e28d219 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -51,12 +51,18 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
SkColor GetInkDropBaseColor() const override;
bool ShouldShowInkDropForFocus() const override;
void SetEnabledTextColors(SkColor color) override;
+ void AdjustFontSize(int size_delta) override;
void UpdateStyleToIndicateDefaultStatus() override;
+ protected:
+ // LabelButton:
+ void SetFontList(const gfx::FontList& font_list) override;
+
private:
MdTextButton(ButtonListener* listener);
~MdTextButton() override;
+ void UpdatePaddingForFont();
void UpdateColors();
// The MD-style focus ring. This is not done via a FocusPainter
« no previous file with comments | « ui/views/controls/button/label_button.cc ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698