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

Unified Diff: chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.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/sync/profile_signin_confirmation_dialog_views.h
diff --git a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h
index 41f11fb264528dbcacb9ee1c22b3acec9299a548..ffa5f5792f24a509871a0f78512dc49a6a6bfe4f 100644
--- a/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h
+++ b/chrome/browser/ui/views/sync/profile_signin_confirmation_dialog_views.h
@@ -9,7 +9,6 @@
#include "base/macros.h"
#include "chrome/browser/ui/sync/profile_signin_confirmation_helper.h"
#include "ui/views/controls/button/button.h"
-#include "ui/views/controls/button/label_button.h"
#include "ui/views/controls/link_listener.h"
#include "ui/views/controls/styled_label_listener.h"
#include "ui/views/window/dialog_delegate.h"
@@ -17,14 +16,6 @@
class Browser;
class Profile;
-namespace content {
-class WebContents;
-}
-
-namespace views {
-class StyledLabel;
-}
-
// A tab-modal dialog to allow a user signing in with a managed account
// to create a new Chrome profile.
class ProfileSigninConfirmationDialogViews : public views::DialogDelegateView,
@@ -71,9 +62,6 @@ class ProfileSigninConfirmationDialogViews : public views::DialogDelegateView,
// is true, the dialog will offer to create a new profile before signin.
void Show(bool prompt_for_new_profile);
- // Weak ptr to label for dialog explanation text.
- views::StyledLabel* explanation_label_;
-
// Weak ptr to parent view.
Browser* browser_;
@@ -86,9 +74,6 @@ class ProfileSigninConfirmationDialogViews : public views::DialogDelegateView,
// Whether the user should be prompted to create a new profile.
bool prompt_for_new_profile_;
- // The button to continue with signin, if an extra button is required.
- views::LabelButton* continue_signin_button_;
-
DISALLOW_COPY_AND_ASSIGN(ProfileSigninConfirmationDialogViews);
};

Powered by Google App Engine
This is Rietveld 408576698