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

Unified Diff: ash/shell/widgets.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 | « ash/shell/lock_view.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/widgets.cc
diff --git a/ash/shell/widgets.cc b/ash/shell/widgets.cc
index 42e7f629235012b795b2ecf55f0f2a9a8e209c86..e62343bcb341c1ec5e9fddcdd6fd2e5203153cc0 100644
--- a/ash/shell/widgets.cc
+++ b/ash/shell/widgets.cc
@@ -54,11 +54,10 @@ class WidgetsWindow : public views::WidgetDelegateView {
WidgetsWindow::WidgetsWindow()
: button_(
- views::MdTextButton::CreateMdButton(nullptr,
- base::ASCIIToUTF16("Button"))),
- disabled_button_(views::MdTextButton::CreateMdButton(
- nullptr,
- base::ASCIIToUTF16("Disabled button"))),
+ views::MdTextButton::Create(nullptr, base::ASCIIToUTF16("Button"))),
+ disabled_button_(
+ views::MdTextButton::Create(nullptr,
+ base::ASCIIToUTF16("Disabled button"))),
checkbox_(new views::Checkbox(base::ASCIIToUTF16("Checkbox"))),
checkbox_disabled_(
new views::Checkbox(base::ASCIIToUTF16("Checkbox disabled"))),
« no previous file with comments | « ash/shell/lock_view.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698