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

Unified Diff: ui/app_list/views/search_result_actions_view.cc

Issue 2375543003: Add SetProminent() to MdTextButton to create blue buttons. (Closed)
Patch Set: Fix nits. 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/tabs/tab.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 82e2d28ba39bcc34fbae6ffcc2873afd6bd0822d..83b87416f3f14c8ee7db2bdd81049434598eda23 100644
--- a/ui/app_list/views/search_result_actions_view.cc
+++ b/ui/app_list/views/search_result_actions_view.cc
@@ -81,7 +81,7 @@ void SearchResultActionsView::CreateBlueButton(
const SearchResult::Action& action) {
views::MdTextButton* button =
views::MdTextButton::Create(this, action.label_text);
- button->SetCallToAction(true);
+ button->SetProminent(true);
button->SetTooltipText(action.tooltip_text);
button->SetFocusBehavior(FocusBehavior::NEVER);
AddChildView(button);
« no previous file with comments | « chrome/browser/ui/views/tabs/tab.cc ('k') | ui/native_theme/common_theme.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698