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

Unified Diff: chrome/browser/ui/views/autofill/autocheckout_bubble_views.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 | « ash/system/user/tray_user.cc ('k') | ui/app_list/views/signin_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc
diff --git a/chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc b/chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc
index 72a4adbde4659a1b7fa4685ddd1fa598ee1fc0ba..fb8f2a391096a8bb8d19201d958f24e82bedb13e 100644
--- a/chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc
+++ b/chrome/browser/ui/views/autofill/autocheckout_bubble_views.cc
@@ -89,10 +89,10 @@ void AutocheckoutBubbleViews::Init() {
0);
layout->StartRow(0, 2);
ok_button_ = new views::LabelButton(this, ASCIIToUTF16(kAcceptText));
- ok_button_->SetNativeTheme(true);
+ ok_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
layout->AddView(ok_button_);
cancel_button_ = new views::LabelButton(this, ASCIIToUTF16(kCancelText));
- cancel_button_->SetNativeTheme(true);
+ cancel_button_->SetStyle(views::Button::STYLE_NATIVE_TEXTBUTTON);
layout->AddView(cancel_button_);
}
« no previous file with comments | « ash/system/user/tray_user.cc ('k') | ui/app_list/views/signin_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698