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

Unified Diff: chrome/browser/ui/views/infobars/confirm_infobar.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 | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | content/shell/browser/shell_views.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/infobars/confirm_infobar.cc
diff --git a/chrome/browser/ui/views/infobars/confirm_infobar.cc b/chrome/browser/ui/views/infobars/confirm_infobar.cc
index a6068689489ee44ea1a70cb7eb5c9b108b250a9d..5a7aa1599f09c1298c1fb75aaa08f0009b11fd06 100644
--- a/chrome/browser/ui/views/infobars/confirm_infobar.cc
+++ b/chrome/browser/ui/views/infobars/confirm_infobar.cc
@@ -73,7 +73,7 @@ void ConfirmInfoBar::ViewHierarchyChanged(
if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_OK) {
if (ui::MaterialDesignController::IsModeMaterial()) {
- views::MdTextButton* button = views::MdTextButton::CreateMdButton(
+ views::MdTextButton* button = views::MdTextButton::Create(
this, delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_OK));
button->SetCallToAction(true);
ok_button_ = button;
@@ -92,7 +92,7 @@ void ConfirmInfoBar::ViewHierarchyChanged(
if (delegate->GetButtons() & ConfirmInfoBarDelegate::BUTTON_CANCEL) {
if (ui::MaterialDesignController::IsModeMaterial()) {
- views::MdTextButton* button = views::MdTextButton::CreateMdButton(
+ views::MdTextButton* button = views::MdTextButton::Create(
this,
delegate->GetButtonLabel(ConfirmInfoBarDelegate::BUTTON_CANCEL));
if (delegate->GetButtons() == ConfirmInfoBarDelegate::BUTTON_CANCEL) {
« no previous file with comments | « chrome/browser/ui/views/download/download_shelf_view.cc ('k') | content/shell/browser/shell_views.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698