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

Unified Diff: ui/views/examples/button_sticker_sheet.cc

Issue 2375543003: Add SetProminent() to MdTextButton to create blue buttons. (Closed)
Patch Set: 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/views/examples/button_sticker_sheet.cc
diff --git a/ui/views/examples/button_sticker_sheet.cc b/ui/views/examples/button_sticker_sheet.cc
index fd780937df84343fd7b38d54f86b0db1e0416234..dc98a833cd20b66b234147ebee7cada0eebb8cd4 100644
--- a/ui/views/examples/button_sticker_sheet.cc
+++ b/ui/views/examples/button_sticker_sheet.cc
@@ -73,7 +73,7 @@ void MakeButtonsInState(MdTextButton** primary,
Button::ButtonState state) {
const base::string16 button_text = base::ASCIIToUTF16("Button");
*primary = MdTextButton::Create(listener, button_text);
- (*primary)->SetCallToAction(true);
+ (*primary)->SetProminent(true);
(*primary)->SetState(state);
*secondary = MdTextButton::Create(listener, button_text);
« ui/views/controls/button/md_text_button.cc ('K') | « ui/views/examples/button_example.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698