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

Unified Diff: chrome/browser/ui/views/profiles/profile_chooser_view.cc

Issue 2923933003: Remove an unused member from ProfileChooserView. (Closed)
Patch Set: Created 3 years, 6 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/profiles/profile_chooser_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/profiles/profile_chooser_view.cc
diff --git a/chrome/browser/ui/views/profiles/profile_chooser_view.cc b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
index 41e5d35a3d3518692f0b12015684b2e4b2340591..e016b9501f5714411adb725ff4b54aa3247af605 100644
--- a/chrome/browser/ui/views/profiles/profile_chooser_view.cc
+++ b/chrome/browser/ui/views/profiles/profile_chooser_view.cc
@@ -581,7 +581,6 @@ void ProfileChooserView::ResetView() {
manage_accounts_link_ = nullptr;
manage_accounts_button_ = nullptr;
signin_current_profile_button_ = nullptr;
- auth_error_email_button_ = nullptr;
current_profile_card_ = nullptr;
first_profile_button_ = nullptr;
guest_profile_button_ = nullptr;
@@ -632,11 +631,6 @@ void ProfileChooserView::OnNativeThemeChanged(
views::BubbleDialogDelegateView::OnNativeThemeChanged(native_theme);
SetBackground(views::CreateSolidBackground(GetNativeTheme()->GetSystemColor(
ui::NativeTheme::kColorId_DialogBackground)));
- if (auth_error_email_button_) {
- auth_error_email_button_->SetTextColor(
- views::LabelButton::STATE_NORMAL,
- native_theme->GetSystemColor(ui::NativeTheme::kColorId_LinkEnabled));
- }
}
void ProfileChooserView::OnAvatarMenuChanged(
@@ -808,8 +802,7 @@ void ProfileChooserView::ButtonPressed(views::Button* sender,
PostActionPerformed(ProfileMetrics::PROFILE_DESKTOP_MENU_LOCK);
} else if (sender == close_all_windows_button_) {
profiles::CloseProfileWindows(browser_->profile());
- } else if (sender == auth_error_email_button_ ||
- sender == sync_error_signin_button_) {
+ } else if (sender == sync_error_signin_button_) {
ShowViewFromMode(profiles::BUBBLE_VIEW_MODE_GAIA_REAUTH);
} else if (sender == sync_error_passphrase_button_) {
chrome::ShowSettingsSubPage(browser_, chrome::kSyncSetupSubPage);
« no previous file with comments | « chrome/browser/ui/views/profiles/profile_chooser_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698