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/label_button.h

Issue 2855093002: Remove a new usage of LabelButton::SetStyle (in ChromeCleanerDialog). (Closed)
Patch Set: views:: Created 3 years, 7 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/blue_button_unittest.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 91b68faae2c37147351035d90e958e71c7bf733a..5e3591472b2edec25c8b79f1e34abcbfa7d8198e 100644
--- a/ui/views/controls/button/label_button.h
+++ b/ui/views/controls/button/label_button.h
@@ -76,8 +76,10 @@ class VIEWS_EXPORT LabelButton : public CustomButton,
void SetIsDefault(bool is_default);
// Gets or sets the button's overall style; the default is |STYLE_TEXTBUTTON|.
+ // DEPRECATED: ButtonStyle is deprecated. Use MdTextButton in place of
+ // |STYLE_BUTTON|.
ButtonStyle style() const { return style_; }
- void SetStyle(ButtonStyle style);
+ void SetStyleDeprecated(ButtonStyle style);
// Sets the spacing between the image and the text. Shrinking the spacing
// will not shrink the overall button size, as it is monotonically increasing.
« no previous file with comments | « ui/views/controls/button/blue_button_unittest.cc ('k') | ui/views/controls/button/label_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698