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_manager.h" | 8 #include "chrome/browser/chromeos/input_method/input_method_manager.h" |
9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" | 9 #include "chrome/browser/chromeos/input_method/xkeyboard.h" |
10 #include "chrome/browser/chromeos/login/screen_locker.h" | 10 #include "chrome/browser/chromeos/login/screen_locker.h" |
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
220 DCHECK(delegate_); | 220 DCHECK(delegate_); |
221 if (delegate_) | 221 if (delegate_) |
222 delegate_->CreateAccount(); | 222 delegate_->CreateAccount(); |
223 } | 223 } |
224 | 224 |
225 void WebUILoginDisplay::LoadWallpaper(const std::string& username) { | 225 void WebUILoginDisplay::LoadWallpaper(const std::string& username) { |
226 WallpaperManager::Get()->SetUserWallpaper(username); | 226 WallpaperManager::Get()->SetUserWallpaper(username); |
227 } | 227 } |
228 | 228 |
229 void WebUILoginDisplay::LoadSigninWallpaper() { | 229 void WebUILoginDisplay::LoadSigninWallpaper() { |
230 WallpaperManager::Get()->SetSigninWallpaper(); | 230 WallpaperManager::Get()->SetDefaultWallpaper(); |
231 } | 231 } |
232 | 232 |
233 void WebUILoginDisplay::RemoveUser(const std::string& username) { | 233 void WebUILoginDisplay::RemoveUser(const std::string& username) { |
234 UserManager::Get()->RemoveUser(username, this); | 234 UserManager::Get()->RemoveUser(username, this); |
235 } | 235 } |
236 | 236 |
237 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { | 237 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { |
238 if (delegate_) | 238 if (delegate_) |
239 delegate_->OnStartEnterpriseEnrollment(); | 239 delegate_->OnStartEnterpriseEnrollment(); |
240 } | 240 } |
(...skipping 30 matching lines...) Expand all Loading... |
271 bool WebUILoginDisplay::IsShowNewUser() const { | 271 bool WebUILoginDisplay::IsShowNewUser() const { |
272 return show_new_user_; | 272 return show_new_user_; |
273 } | 273 } |
274 | 274 |
275 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { | 275 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { |
276 if (delegate_) | 276 if (delegate_) |
277 delegate_->SetDisplayEmail(email); | 277 delegate_->SetDisplayEmail(email); |
278 } | 278 } |
279 | 279 |
280 } // namespace chromeos | 280 } // namespace chromeos |
OLD | NEW |