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

Unified Diff: chrome/browser/chromeos/login/existing_user_controller.cc

Issue 10056001: chromeos: Remove old status-area related code. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 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/chromeos/login/existing_user_controller.cc
diff --git a/chrome/browser/chromeos/login/existing_user_controller.cc b/chrome/browser/chromeos/login/existing_user_controller.cc
index 49fd7b0ae37890a7007ff477f7a9d0523f5ddfd5..61553a8a359f01a2f278e264d16644925eae7226 100644
--- a/chrome/browser/chromeos/login/existing_user_controller.cc
+++ b/chrome/browser/chromeos/login/existing_user_controller.cc
@@ -334,7 +334,6 @@ void ExistingUserController::Login(const std::string& username,
const std::string& password) {
if (username.empty() || password.empty())
return;
- SetStatusAreaEnabled(false);
// Disable clicking on other windows.
login_display_->SetUIEnabled(false);
@@ -370,7 +369,6 @@ void ExistingUserController::Login(const std::string& username,
}
void ExistingUserController::LoginAsDemoUser() {
- SetStatusAreaEnabled(false);
// Disable clicking on other windows.
login_display_->SetUIEnabled(false);
// TODO(rkc): Add a CHECK to make sure demo logins are allowed once
@@ -388,7 +386,6 @@ void ExistingUserController::LoginAsDemoUser() {
void ExistingUserController::LoginAsGuest() {
- SetStatusAreaEnabled(false);
// Disable clicking on other windows.
login_display_->SetUIEnabled(false);
@@ -505,7 +502,6 @@ void ExistingUserController::OnLoginFailure(const LoginFailure& failure) {
}
// Reenable clicking on other windows and status area.
login_display_->SetUIEnabled(true);
- SetStatusAreaEnabled(true);
}
if (login_status_consumer_)
@@ -636,7 +632,6 @@ void ExistingUserController::WhiteListCheckFailed(const std::string& email) {
// Reenable clicking on other windows and status area.
login_display_->SetUIEnabled(true);
- SetStatusAreaEnabled(true);
display_email_.clear();
}
@@ -747,12 +742,6 @@ void ExistingUserController::InitializeStartUrls() const {
CommandLine::ForCurrentProcess()->AppendArg(start_urls[i]);
}
-void ExistingUserController::SetStatusAreaEnabled(bool enable) {
- if (!host_)
- return;
- host_->SetStatusAreaEnabled(enable);
-}
-
void ExistingUserController::ShowError(int error_id,
const std::string& details) {
// TODO(dpolukhin): show detailed error info. |details| string contains
@@ -791,7 +780,6 @@ void ExistingUserController::ShowGaiaPasswordChanged(
User::OAUTH_TOKEN_STATUS_INVALID);
login_display_->SetUIEnabled(true);
- SetStatusAreaEnabled(true);
login_display_->ShowGaiaPasswordChanged(username);
}

Powered by Google App Engine
This is Rietveld 408576698