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

Unified Diff: chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h

Issue 1978403003: [MD] Eliminate as many SetStyle(STYLE_BUTTON) calls as possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 7 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/passwords/auto_signin_first_run_dialog_view.h
diff --git a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
index ae76e65d251b8ce07ea595ebc68c067a748e50b8..e06674e9514709469562104b824550816ed1299f 100644
--- a/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
+++ b/chrome/browser/ui/views/passwords/auto_signin_first_run_dialog_view.h
@@ -7,7 +7,7 @@
#include "base/macros.h"
#include "chrome/browser/ui/passwords/password_dialog_prompts.h"
-#include "ui/views/controls/button/label_button.h"
+#include "ui/views/controls/button/button.h"
#include "ui/views/controls/styled_label_listener.h"
#include "ui/views/window/dialog_delegate.h"
@@ -50,8 +50,8 @@ class AutoSigninFirstRunDialogView : public views::DialogDelegateView,
// Sets up the child views.
void InitWindow();
- views::LabelButton* ok_button_;
- views::LabelButton* turn_off_button_;
+ views::View* ok_button_;
+ views::View* turn_off_button_;
// A weak pointer to the controller.
PasswordDialogController* controller_;

Powered by Google App Engine
This is Rietveld 408576698