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

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

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/app_list/views/search_result_actions_view.cc ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7f7c8467a4d29cfb64b94663fbe1ac53b2770713..97aa3c1af745199eb0054a6c47f8c4be7a8c68d3 100644
--- a/ui/views/controls/button/md_text_button.h
+++ b/ui/views/controls/button/md_text_button.h
@@ -29,8 +29,8 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
const base::string16& text);
static LabelButton* CreateSecondaryUiBlueButton(ButtonListener* listener,
const base::string16& text);
- static MdTextButton* CreateMdButton(ButtonListener* listener,
- const base::string16& text);
+ static MdTextButton* Create(ButtonListener* listener,
+ const base::string16& text);
// See |is_cta_|.
void SetCallToAction(bool cta);
@@ -57,7 +57,7 @@ class VIEWS_EXPORT MdTextButton : public LabelButton {
void SetFontList(const gfx::FontList& font_list) override;
private:
- MdTextButton(ButtonListener* listener);
+ explicit MdTextButton(ButtonListener* listener);
~MdTextButton() override;
void UpdatePadding();
« no previous file with comments | « ui/app_list/views/search_result_actions_view.cc ('k') | ui/views/controls/button/md_text_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698