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

Side by Side Diff: chrome/browser/chromeos/login/webui_login_display.cc

Issue 12218078: Implement a policy to autologin a public account. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: last upload failed Created 7 years, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698