| 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 447 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 | 458 |
| 459 // input_method::ImeKeyboard::Observer implementation: | 459 // input_method::ImeKeyboard::Observer implementation: |
| 460 void OnCapsLockChanged(bool enabled) override; | 460 void OnCapsLockChanged(bool enabled) override; |
| 461 | 461 |
| 462 // Callback invoked after the feedback is finished. | 462 // Callback invoked after the feedback is finished. |
| 463 void OnFeedbackFinished(); | 463 void OnFeedbackFinished(); |
| 464 | 464 |
| 465 // Called when the cros property controlling allowed input methods changes. | 465 // Called when the cros property controlling allowed input methods changes. |
| 466 void OnAllowedInputMethodsChanged(); | 466 void OnAllowedInputMethodsChanged(); |
| 467 | 467 |
| 468 // Update the keyboard settings for |account_id|. | |
| 469 void SetKeyboardSettings(const AccountId& account_id); | |
| 470 | |
| 471 // Current UI state of the signin screen. | 468 // Current UI state of the signin screen. |
| 472 UIState ui_state_ = UI_STATE_UNKNOWN; | 469 UIState ui_state_ = UI_STATE_UNKNOWN; |
| 473 | 470 |
| 474 // A delegate that glues this handler with backend LoginDisplay. | 471 // A delegate that glues this handler with backend LoginDisplay. |
| 475 SigninScreenHandlerDelegate* delegate_ = nullptr; | 472 SigninScreenHandlerDelegate* delegate_ = nullptr; |
| 476 | 473 |
| 477 // A delegate used to get gfx::NativeWindow. | 474 // A delegate used to get gfx::NativeWindow. |
| 478 NativeWindowDelegate* native_window_delegate_ = nullptr; | 475 NativeWindowDelegate* native_window_delegate_ = nullptr; |
| 479 | 476 |
| 480 // Whether screen should be shown right after initialization. | 477 // Whether screen should be shown right after initialization. |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 558 lock_screen_apps_observer_; | 555 lock_screen_apps_observer_; |
| 559 | 556 |
| 560 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 557 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 561 | 558 |
| 562 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 559 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 563 }; | 560 }; |
| 564 | 561 |
| 565 } // namespace chromeos | 562 } // namespace chromeos |
| 566 | 563 |
| 567 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 564 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |