| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/chromeos/login/webui_login_display.h" | 5 #include "chrome/browser/chromeos/login/webui_login_display.h" |
| 6 | 6 |
| 7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" | 7 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" |
| 8 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" |
| 9 #include "chrome/browser/chromeos/input_method/input_method_manager.h" | 9 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
| 10 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 10 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
| (...skipping 239 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 } | 250 } |
| 251 | 251 |
| 252 void WebUILoginDisplay::LoadWallpaper(const std::string& username) { | 252 void WebUILoginDisplay::LoadWallpaper(const std::string& username) { |
| 253 WallpaperManager::Get()->SetUserWallpaper(username); | 253 WallpaperManager::Get()->SetUserWallpaper(username); |
| 254 } | 254 } |
| 255 | 255 |
| 256 void WebUILoginDisplay::LoadSigninWallpaper() { | 256 void WebUILoginDisplay::LoadSigninWallpaper() { |
| 257 WallpaperManager::Get()->SetDefaultWallpaper(); | 257 WallpaperManager::Get()->SetDefaultWallpaper(); |
| 258 } | 258 } |
| 259 | 259 |
| 260 void WebUILoginDisplay::OnSigninScreenReady() { |
| 261 if (delegate_) |
| 262 delegate_->OnSigninScreenReady(); |
| 263 } |
| 264 |
| 260 void WebUILoginDisplay::RemoveUser(const std::string& username) { | 265 void WebUILoginDisplay::RemoveUser(const std::string& username) { |
| 261 UserManager::Get()->RemoveUser(username, this); | 266 UserManager::Get()->RemoveUser(username, this); |
| 262 } | 267 } |
| 263 | 268 |
| 264 void WebUILoginDisplay::ResyncUserData() { | 269 void WebUILoginDisplay::ResyncUserData() { |
| 265 DCHECK(delegate_); | 270 DCHECK(delegate_); |
| 266 if (delegate_) | 271 if (delegate_) |
| 267 delegate_->ResyncUserData(); | 272 delegate_->ResyncUserData(); |
| 268 } | 273 } |
| 269 | 274 |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 308 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { | 313 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { |
| 309 if (delegate_) | 314 if (delegate_) |
| 310 delegate_->SetDisplayEmail(email); | 315 delegate_->SetDisplayEmail(email); |
| 311 } | 316 } |
| 312 | 317 |
| 313 void WebUILoginDisplay::Signout() { | 318 void WebUILoginDisplay::Signout() { |
| 314 delegate_->Signout(); | 319 delegate_->Signout(); |
| 315 } | 320 } |
| 316 | 321 |
| 317 } // namespace chromeos | 322 } // namespace chromeos |
| OLD | NEW |