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

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

Issue 10207030: Asynchronously load wallpapers when user pod is selected. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nits Created 8 years, 7 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_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/webui_login_view.h" 10 #include "chrome/browser/chromeos/login/webui_login_view.h"
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 void WebUILoginDisplay::Signout() { 176 void WebUILoginDisplay::Signout() {
177 delegate_->Signout(); 177 delegate_->Signout();
178 } 178 }
179 179
180 void WebUILoginDisplay::CreateAccount() { 180 void WebUILoginDisplay::CreateAccount() {
181 DCHECK(delegate_); 181 DCHECK(delegate_);
182 if (delegate_) 182 if (delegate_)
183 delegate_->CreateAccount(); 183 delegate_->CreateAccount();
184 } 184 }
185 185
186 void WebUILoginDisplay::UserSelected(const std::string& username) {
187 UserManager::Get()->UserSelected(username);
188 }
189
186 void WebUILoginDisplay::RemoveUser(const std::string& username) { 190 void WebUILoginDisplay::RemoveUser(const std::string& username) {
187 UserManager::Get()->RemoveUser(username, this); 191 UserManager::Get()->RemoveUser(username, this);
188 } 192 }
189 193
190 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() { 194 void WebUILoginDisplay::ShowEnterpriseEnrollmentScreen() {
191 if (delegate_) 195 if (delegate_)
192 delegate_->OnStartEnterpriseEnrollment(); 196 delegate_->OnStartEnterpriseEnrollment();
193 } 197 }
194 198
195 void WebUILoginDisplay::SetWebUIHandler( 199 void WebUILoginDisplay::SetWebUIHandler(
(...skipping 23 matching lines...) Expand all
219 bool WebUILoginDisplay::IsShowNewUser() const { 223 bool WebUILoginDisplay::IsShowNewUser() const {
220 return show_new_user_; 224 return show_new_user_;
221 } 225 }
222 226
223 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) { 227 void WebUILoginDisplay::SetDisplayEmail(const std::string& email) {
224 if (delegate_) 228 if (delegate_)
225 delegate_->SetDisplayEmail(email); 229 delegate_->SetDisplayEmail(email);
226 } 230 }
227 231
228 } // namespace chromeos 232 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.h ('k') | chrome/browser/resources/chromeos/login/user_pod_row.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698