| 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 <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 // Updates authentication extension. Called when device settings that affect | 345 // Updates authentication extension. Called when device settings that affect |
| 346 // sign-in (allow BWSI and allow whitelist) are changed. | 346 // sign-in (allow BWSI and allow whitelist) are changed. |
| 347 void UserSettingsChanged(); | 347 void UserSettingsChanged(); |
| 348 void UpdateAddButtonStatus(); | 348 void UpdateAddButtonStatus(); |
| 349 | 349 |
| 350 // Restore input focus to current user pod. | 350 // Restore input focus to current user pod. |
| 351 void RefocusCurrentPod(); | 351 void RefocusCurrentPod(); |
| 352 | 352 |
| 353 // WebUI message handlers. | 353 // WebUI message handlers. |
| 354 void HandleGetUsers(); | 354 void HandleGetUsers(); |
| 355 void HandleAuthenticateUser(const std::string& username, | 355 void HandleAuthenticateUser(const std::string& gaia_id, |
| 356 const std::string& username, |
| 356 const std::string& password); | 357 const std::string& password); |
| 357 void HandleAttemptUnlock(const std::string& username); | 358 void HandleAttemptUnlock(const std::string& username); |
| 358 void HandleLaunchDemoUser(); | 359 void HandleLaunchDemoUser(); |
| 359 void HandleLaunchIncognito(); | 360 void HandleLaunchIncognito(); |
| 360 void HandleLaunchPublicSession(const std::string& user_id, | 361 void HandleLaunchPublicSession(const std::string& user_id, |
| 361 const std::string& locale, | 362 const std::string& locale, |
| 362 const std::string& input_method); | 363 const std::string& input_method); |
| 363 void HandleOfflineLogin(const base::ListValue* args); | 364 void HandleOfflineLogin(const base::ListValue* args); |
| 364 void HandleShutdownSystem(); | 365 void HandleShutdownSystem(); |
| 365 void HandleLoadWallpaper(const std::string& email); | 366 void HandleLoadWallpaper(const std::string& email); |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 bool oobe_ui_observer_added_; | 528 bool oobe_ui_observer_added_; |
| 528 | 529 |
| 529 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 530 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 530 | 531 |
| 531 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 532 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 532 }; | 533 }; |
| 533 | 534 |
| 534 } // namespace chromeos | 535 } // namespace chromeos |
| 535 | 536 |
| 536 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 537 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |