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

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: Created 4 years, 5 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 eb6b6fee07dce8a360740be9d6f03150283a973e..4c480dddcd5a70f1998f85ff6375395071c314d3 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -38,6 +38,7 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
int thickness,
SkAlpha alpha);
+ void AdjustFontSize(int size_delta);
void SetCallToAction(bool cta);
void set_bg_color_override(SkColor color) { bg_color_override_ = color; }
@@ -57,6 +58,7 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
MdTextButton(ButtonListener* listener);
~MdTextButton() override;
+ void UpdatePaddingForFont();
void UpdateColors();
// The MD-style focus ring. This is not done via a FocusPainter

Powered by Google App Engine
This is Rietveld 408576698