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

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

Issue 13542003: Add browser test for new user CrOS login flow (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 7 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 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 "ash/wm/user_activity_detector.h" 7 #include "ash/wm/user_activity_detector.h"
8 #include "chrome/browser/chromeos/accessibility/accessibility_util.h" 8 #include "chrome/browser/chromeos/accessibility/accessibility_util.h"
9 #include "chrome/browser/chromeos/input_method/input_method_configuration.h" 9 #include "chrome/browser/chromeos/input_method/input_method_configuration.h"
10 #include "chrome/browser/chromeos/input_method/input_method_manager.h" 10 #include "chrome/browser/chromeos/input_method/input_method_manager.h"
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 webui_handler_ = webui_handler; 304 webui_handler_ = webui_handler;
305 } 305 }
306 306
307 void WebUILoginDisplay::ShowSigninScreenForCreds( 307 void WebUILoginDisplay::ShowSigninScreenForCreds(
308 const std::string& username, 308 const std::string& username,
309 const std::string& password) { 309 const std::string& password) {
310 if (webui_handler_) 310 if (webui_handler_)
311 webui_handler_->ShowSigninScreenForCreds(username, password); 311 webui_handler_->ShowSigninScreenForCreds(username, password);
312 } 312 }
313 313
314 void WebUILoginDisplay::SetGaiaOriginForTesting(const std::string& arg) {
315 if (webui_handler_)
316 webui_handler_->SetGaiaOriginForTesting(arg);
317 }
318
314 const UserList& WebUILoginDisplay::GetUsers() const { 319 const UserList& WebUILoginDisplay::GetUsers() const {
315 return users_; 320 return users_;
316 } 321 }
317 322
318 bool WebUILoginDisplay::IsShowGuest() const { 323 bool WebUILoginDisplay::IsShowGuest() const {
319 return show_guest_; 324 return show_guest_;
320 } 325 }
321 326
322 bool WebUILoginDisplay::IsShowUsers() const { 327 bool WebUILoginDisplay::IsShowUsers() const {
323 return show_users_; 328 return show_users_;
(...skipping 26 matching lines...) Expand all
350 base::TimeDelta::FromSeconds(kPasswordClearTimeoutSec), this, 355 base::TimeDelta::FromSeconds(kPasswordClearTimeoutSec), this,
351 &WebUILoginDisplay::OnPasswordClearTimerExpired); 356 &WebUILoginDisplay::OnPasswordClearTimerExpired);
352 } 357 }
353 358
354 void WebUILoginDisplay::OnPasswordClearTimerExpired() { 359 void WebUILoginDisplay::OnPasswordClearTimerExpired() {
355 if (webui_handler_) 360 if (webui_handler_)
356 webui_handler_->ClearUserPodPassword(); 361 webui_handler_->ClearUserPodPassword();
357 } 362 }
358 363
359 } // namespace chromeos 364 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.h ('k') | chrome/browser/extensions/user_script_master.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698