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

Unified Diff: ui/views/controls/button/label_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 | « ash/common/system/chromeos/session/logout_button_tray.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/button/label_button.h
diff --git a/ui/views/controls/button/label_button.h b/ui/views/controls/button/label_button.h
index cc4c102b975e0475dffffbdd33f902b065c46588..7a6f3eaba34f144567ee418cfb23f39682937f7f 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -62,7 +62,11 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
// Gets or sets the font list used by this button.
const gfx::FontList& GetFontList() const;
- void SetFontList(const gfx::FontList& font_list);
+ // TODO(estade): make this function protected.
+ virtual void SetFontList(const gfx::FontList& font_list);
+
+ // Adjusts the font size up or down by the given amount.
+ virtual void AdjustFontSize(int font_size_delta);
// Sets the elide behavior of this button.
void SetElideBehavior(gfx::ElideBehavior elide_behavior);
« no previous file with comments | « ash/common/system/chromeos/session/logout_button_tray.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698