| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <set> | 10 #include <set> |
| (...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 | 318 |
| 319 void UpdateAddButtonStatus(); | 319 void UpdateAddButtonStatus(); |
| 320 | 320 |
| 321 // Restore input focus to current user pod. | 321 // Restore input focus to current user pod. |
| 322 void RefocusCurrentPod(); | 322 void RefocusCurrentPod(); |
| 323 | 323 |
| 324 // WebUI message handlers. | 324 // WebUI message handlers. |
| 325 void HandleGetUsers(); | 325 void HandleGetUsers(); |
| 326 void HandleAuthenticateUser(const AccountId& account_id, | 326 void HandleAuthenticateUser(const AccountId& account_id, |
| 327 const std::string& password); | 327 const std::string& password); |
| 328 void HandleAuthenticateUserWithPin(const AccountId& account_id, |
| 329 const std::string& password); |
| 328 void HandleAttemptUnlock(const std::string& username); | 330 void HandleAttemptUnlock(const std::string& username); |
| 329 void HandleLaunchIncognito(); | 331 void HandleLaunchIncognito(); |
| 330 void HandleLaunchPublicSession(const AccountId& account_id, | 332 void HandleLaunchPublicSession(const AccountId& account_id, |
| 331 const std::string& locale, | 333 const std::string& locale, |
| 332 const std::string& input_method); | 334 const std::string& input_method); |
| 333 void HandleOfflineLogin(const base::ListValue* args); | 335 void HandleOfflineLogin(const base::ListValue* args); |
| 334 void HandleShutdownSystem(); | 336 void HandleShutdownSystem(); |
| 335 void HandleLoadWallpaper(const AccountId& account_id); | 337 void HandleLoadWallpaper(const AccountId& account_id); |
| 336 void HandleRebootSystem(); | 338 void HandleRebootSystem(); |
| 337 void HandleRemoveUser(const AccountId& account_id); | 339 void HandleRemoveUser(const AccountId& account_id); |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 std::unique_ptr<LoginFeedback> login_feedback_; | 488 std::unique_ptr<LoginFeedback> login_feedback_; |
| 487 | 489 |
| 488 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 490 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 489 | 491 |
| 490 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 492 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 491 }; | 493 }; |
| 492 | 494 |
| 493 } // namespace chromeos | 495 } // namespace chromeos |
| 494 | 496 |
| 495 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 497 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |