| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/ui/webui_login_display.h" | 5 #include "chrome/browser/chromeos/login/ui/webui_login_display.h" |
| 6 | 6 |
| 7 #include "ash/shell.h" | 7 #include "ash/shell.h" |
| 8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" | 8 #include "chrome/browser/chromeos/accessibility/accessibility_manager.h" |
| 9 #include "chrome/browser/chromeos/login/lock/screen_locker.h" | 9 #include "chrome/browser/chromeos/login/lock/screen_locker.h" |
| 10 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" | 10 #include "chrome/browser/chromeos/login/screens/chrome_user_selection_screen.h" |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 } | 97 } |
| 98 | 98 |
| 99 const user_manager::UserList& WebUILoginDisplay::GetUsers() const { | 99 const user_manager::UserList& WebUILoginDisplay::GetUsers() const { |
| 100 return user_selection_screen_->GetUsers(); | 100 return user_selection_screen_->GetUsers(); |
| 101 } | 101 } |
| 102 | 102 |
| 103 // User selection screen, screen lock API | 103 // User selection screen, screen lock API |
| 104 | 104 |
| 105 void WebUILoginDisplay::SetAuthType( | 105 void WebUILoginDisplay::SetAuthType( |
| 106 const std::string& username, | 106 const std::string& username, |
| 107 ScreenlockBridge::LockHandler::AuthType auth_type) { | 107 SigninScreenBridge::LockHandler::AuthType auth_type) { |
| 108 user_selection_screen_->SetAuthType(username, auth_type); | 108 user_selection_screen_->SetAuthType(username, auth_type); |
| 109 } | 109 } |
| 110 | 110 |
| 111 ScreenlockBridge::LockHandler::AuthType WebUILoginDisplay::GetAuthType( | 111 SigninScreenBridge::LockHandler::AuthType WebUILoginDisplay::GetAuthType( |
| 112 const std::string& username) const { | 112 const std::string& username) const { |
| 113 return user_selection_screen_->GetAuthType(username); | 113 return user_selection_screen_->GetAuthType(username); |
| 114 } | 114 } |
| 115 | 115 |
| 116 // ---- Gaia screen methods | 116 // ---- Gaia screen methods |
| 117 | 117 |
| 118 // ---- Not yet classified methods | 118 // ---- Not yet classified methods |
| 119 | 119 |
| 120 void WebUILoginDisplay::OnPreferencesChanged() { | 120 void WebUILoginDisplay::OnPreferencesChanged() { |
| 121 if (webui_handler_) | 121 if (webui_handler_) |
| (...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 351 delegate_->Signout(); | 351 delegate_->Signout(); |
| 352 } | 352 } |
| 353 | 353 |
| 354 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { | 354 void WebUILoginDisplay::OnUserActivity(const ui::Event* event) { |
| 355 if (delegate_) | 355 if (delegate_) |
| 356 delegate_->ResetPublicSessionAutoLoginTimer(); | 356 delegate_->ResetPublicSessionAutoLoginTimer(); |
| 357 } | 357 } |
| 358 | 358 |
| 359 | 359 |
| 360 } // namespace chromeos | 360 } // namespace chromeos |
| OLD | NEW |