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

Unified Diff: ui/app_list/views/search_result_actions_view.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
Index: ui/app_list/views/search_result_actions_view.cc
diff --git a/ui/app_list/views/search_result_actions_view.cc b/ui/app_list/views/search_result_actions_view.cc
index 90a6a50aded5fabbcb87ada3a9ea5b42751401bd..82e2d28ba39bcc34fbae6ffcc2873afd6bd0822d 100644
--- a/ui/app_list/views/search_result_actions_view.cc
+++ b/ui/app_list/views/search_result_actions_view.cc
@@ -80,7 +80,7 @@ void SearchResultActionsView::CreateImageButton(
void SearchResultActionsView::CreateBlueButton(
const SearchResult::Action& action) {
views::MdTextButton* button =
- views::MdTextButton::CreateMdButton(this, action.label_text);
+ views::MdTextButton::Create(this, action.label_text);
button->SetCallToAction(true);
button->SetTooltipText(action.tooltip_text);
button->SetFocusBehavior(FocusBehavior::NEVER);
« no previous file with comments | « mash/example/window_type_launcher/window_type_launcher.cc ('k') | ui/views/controls/button/md_text_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698