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

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

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.cc
diff --git a/ui/views/controls/button/md_text_button.cc b/ui/views/controls/button/md_text_button.cc
index c2de27edb5e766c91de149c37731d8dcc52c62aa..b81c989fcee101f38a8106eb0311648cb7af6c48 100644
--- a/ui/views/controls/button/md_text_button.cc
+++ b/ui/views/controls/button/md_text_button.cc
@@ -88,13 +88,6 @@ class MdFocusRing : public View {
} // namespace internal
// static
-LabelButton* MdTextButton::CreateStandardButton(ButtonListener* listener,
- const base::string16& text) {
- return CreateButton(listener, text,
- ui::MaterialDesignController::IsModeMaterial());
-}
-
-// static
LabelButton* MdTextButton::CreateSecondaryUiButton(ButtonListener* listener,
const base::string16& text) {
return CreateButton(listener, text,

Powered by Google App Engine
This is Rietveld 408576698