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

Unified Diff: ui/views/examples/button_sticker_sheet.cc

Issue 2313253003: Rename views::MdTextButton::CreateMdButton to just Create (Closed)
Patch Set: more renames 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
« no previous file with comments | « ui/views/examples/button_example.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/examples/button_sticker_sheet.cc
diff --git a/ui/views/examples/button_sticker_sheet.cc b/ui/views/examples/button_sticker_sheet.cc
index 922cc986b04cb63d6bb5b7709ded4ca8f4e4b0ed..fd780937df84343fd7b38d54f86b0db1e0416234 100644
--- a/ui/views/examples/button_sticker_sheet.cc
+++ b/ui/views/examples/button_sticker_sheet.cc
@@ -72,11 +72,11 @@ void MakeButtonsInState(MdTextButton** primary,
ButtonListener* listener,
Button::ButtonState state) {
const base::string16 button_text = base::ASCIIToUTF16("Button");
- *primary = MdTextButton::CreateMdButton(listener, button_text);
+ *primary = MdTextButton::Create(listener, button_text);
(*primary)->SetCallToAction(true);
(*primary)->SetState(state);
- *secondary = MdTextButton::CreateMdButton(listener, button_text);
+ *secondary = MdTextButton::Create(listener, button_text);
(*secondary)->SetState(state);
}
« no previous file with comments | « ui/views/examples/button_example.cc ('k') | ui/views/focus/focus_traversal_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698