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

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

Issue 12330002: Add views::Button style enum for LabelButton [native] styling, etc. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync and merge. Created 7 years, 10 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/autofill/autocheckout_bubble_views.cc ('k') | ui/views/controls/button/button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/app_list/views/signin_view.cc
diff --git a/ui/app_list/views/signin_view.cc b/ui/app_list/views/signin_view.cc
index 91d8576eab0caaebe7dc74a5f7c0e7cae199f21d..f36dc23e6bca247add042021ebce4f6e33982805 100644
--- a/ui/app_list/views/signin_view.cc
+++ b/ui/app_list/views/signin_view.cc
@@ -62,7 +62,7 @@ SigninView::SigninView(SigninDelegate* delegate, int width)
views::LabelButton* signin_button = new views::LabelButton(
this,
delegate_->GetSigninButtonText());
- signin_button->SetNativeTheme(true);
+ signin_button->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
layout->StartRowWithPadding(0, kTopSetId, 0, kButtonPadding);
layout->AddView(signin_button);
« no previous file with comments | « chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc ('k') | ui/views/controls/button/button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698