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

Unified Diff: chrome/browser/ui/views/autofill/autofill_dialog_views.cc

Issue 13602010: views: Convert more TextButtons to LabelButton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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: chrome/browser/ui/views/autofill/autofill_dialog_views.cc
diff --git a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
index 07ac04e03b27f8c020fef938e0a723ef38e6788d..bec984997cb93d999b41817c4652116655662a4c 100644
--- a/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
+++ b/chrome/browser/ui/views/autofill/autofill_dialog_views.cc
@@ -30,6 +30,7 @@
#include "ui/views/border.h"
#include "ui/views/controls/button/checkbox.h"
#include "ui/views/controls/button/image_button.h"
+#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/combobox/combobox.h"
#include "ui/views/controls/image_view.h"
#include "ui/views/controls/label.h"
@@ -984,8 +985,8 @@ views::View* AutofillDialogViews::CreateSignInContainer() {
new views::BoxLayout(views::BoxLayout::kVertical, 0, 0, 0));
sign_in_container_->SetVisible(false);
sign_in_webview_ = new views::WebView(controller_->profile());
- cancel_sign_in_ = new views::TextButton(this,
- controller_->CancelSignInText());
+ cancel_sign_in_ = new views::LabelButton(this,
+ controller_->CancelSignInText());
sign_in_container_->AddChildView(cancel_sign_in_);
sign_in_container_->AddChildView(sign_in_webview_);
return sign_in_container_;
« no previous file with comments | « chrome/browser/ui/views/autofill/autofill_dialog_views.h ('k') | ui/message_center/views/message_center_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698