| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 309 |
| 310 // content::NotificationObserver implementation: | 310 // content::NotificationObserver implementation: |
| 311 void Observe(int type, | 311 void Observe(int type, |
| 312 const content::NotificationSource& source, | 312 const content::NotificationSource& source, |
| 313 const content::NotificationDetails& details) override; | 313 const content::NotificationDetails& details) override; |
| 314 | 314 |
| 315 // TouchViewControllerDelegate::Observer implementation: | 315 // TouchViewControllerDelegate::Observer implementation: |
| 316 void OnMaximizeModeStarted() override; | 316 void OnMaximizeModeStarted() override; |
| 317 void OnMaximizeModeEnded() override; | 317 void OnMaximizeModeEnded() override; |
| 318 | 318 |
| 319 // Updates authentication extension. Called when device settings that affect | |
| 320 // sign-in (allow BWSI and allow whitelist) are changed. | |
| 321 void UserSettingsChanged(); | |
| 322 void UpdateAddButtonStatus(); | 319 void UpdateAddButtonStatus(); |
| 323 | 320 |
| 324 // Restore input focus to current user pod. | 321 // Restore input focus to current user pod. |
| 325 void RefocusCurrentPod(); | 322 void RefocusCurrentPod(); |
| 326 | 323 |
| 327 // WebUI message handlers. | 324 // WebUI message handlers. |
| 328 void HandleGetUsers(); | 325 void HandleGetUsers(); |
| 329 void HandleAuthenticateUser(const std::string& username, | 326 void HandleAuthenticateUser(const std::string& username, |
| 330 const std::string& password); | 327 const std::string& password); |
| 331 void HandleAttemptUnlock(const std::string& username); | 328 void HandleAttemptUnlock(const std::string& username); |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 497 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; | 494 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; |
| 498 | 495 |
| 499 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 496 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 500 | 497 |
| 501 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 498 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 502 }; | 499 }; |
| 503 | 500 |
| 504 } // namespace chromeos | 501 } // namespace chromeos |
| 505 | 502 |
| 506 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 503 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |