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

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

Issue 2389453002: Remove IsModeMaterial checks in ui/views/ (Closed)
Patch Set: oops Created 4 years, 3 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 f62979e33620de4b43c3d8717585f37501c7d39f..fde4ff92d9d7cb45de46ef6545526c53f3a8d539 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -19,10 +19,6 @@ class MdFocusRing;
// A button class that implements the Material Design text button spec.
class VIEWS_EXPORT MdTextButton : public LabelButton {
public:
- // Creates a normal STYLE_BUTTON LabelButton in pre-MD, or an MdTextButton
- // in MD mode.
- static LabelButton* CreateStandardButton(ButtonListener* listener,
- const base::string16& text);
// As above, but only creates an MdTextButton if MD is enabled in the
// secondary UI (as opposed to just "top chrome"/"primary" UI).
static LabelButton* CreateSecondaryUiButton(ButtonListener* listener,

Powered by Google App Engine
This is Rietveld 408576698