| 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 434 | 434 |
| 435 // input_method::ImeKeyboard::Observer implementation: | 435 // input_method::ImeKeyboard::Observer implementation: |
| 436 void OnCapsLockChanged(bool enabled) override; | 436 void OnCapsLockChanged(bool enabled) override; |
| 437 | 437 |
| 438 // Callback invoked after the feedback is finished. | 438 // Callback invoked after the feedback is finished. |
| 439 void OnFeedbackFinished(); | 439 void OnFeedbackFinished(); |
| 440 | 440 |
| 441 // Called when the cros property controlling allowed input methods changes. | 441 // Called when the cros property controlling allowed input methods changes. |
| 442 void OnAllowedInputMethodsChanged(); | 442 void OnAllowedInputMethodsChanged(); |
| 443 | 443 |
| 444 // Update the keyboard settings for |account_id|. |
| 445 void SetKeyboardSettings(const AccountId& account_id); |
| 446 |
| 444 // Current UI state of the signin screen. | 447 // Current UI state of the signin screen. |
| 445 UIState ui_state_ = UI_STATE_UNKNOWN; | 448 UIState ui_state_ = UI_STATE_UNKNOWN; |
| 446 | 449 |
| 447 // A delegate that glues this handler with backend LoginDisplay. | 450 // A delegate that glues this handler with backend LoginDisplay. |
| 448 SigninScreenHandlerDelegate* delegate_ = nullptr; | 451 SigninScreenHandlerDelegate* delegate_ = nullptr; |
| 449 | 452 |
| 450 // A delegate used to get gfx::NativeWindow. | 453 // A delegate used to get gfx::NativeWindow. |
| 451 NativeWindowDelegate* native_window_delegate_ = nullptr; | 454 NativeWindowDelegate* native_window_delegate_ = nullptr; |
| 452 | 455 |
| 453 // Whether screen should be shown right after initialization. | 456 // Whether screen should be shown right after initialization. |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 527 std::unique_ptr<AccountId> focused_pod_account_id_; | 530 std::unique_ptr<AccountId> focused_pod_account_id_; |
| 528 | 531 |
| 529 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 532 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 530 | 533 |
| 531 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 534 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 532 }; | 535 }; |
| 533 | 536 |
| 534 } // namespace chromeos | 537 } // namespace chromeos |
| 535 | 538 |
| 536 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 539 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |