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 <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
380 | 380 |
381 // Returns true if offline login is allowed. | 381 // Returns true if offline login is allowed. |
382 bool IsOfflineLoginAllowed() const; | 382 bool IsOfflineLoginAllowed() const; |
383 | 383 |
384 // Attempts login for test. | 384 // Attempts login for test. |
385 void SubmitLoginFormForTest(); | 385 void SubmitLoginFormForTest(); |
386 | 386 |
387 // Update current input method (namely keyboard layout) to LRU by this user. | 387 // Update current input method (namely keyboard layout) to LRU by this user. |
388 void SetUserInputMethod(const std::string& username); | 388 void SetUserInputMethod(const std::string& username); |
389 | 389 |
390 // Update current input method to HW default. | |
391 void SetUserInputMethodHWDefault(); | |
392 | |
393 // Current UI state of the signin screen. | 390 // Current UI state of the signin screen. |
394 UIState ui_state_; | 391 UIState ui_state_; |
395 | 392 |
396 // Current state of Gaia frame. | 393 // Current state of Gaia frame. |
397 FrameState frame_state_; | 394 FrameState frame_state_; |
398 | 395 |
399 // Latest Gaia frame error. | 396 // Latest Gaia frame error. |
400 net::Error frame_error_; | 397 net::Error frame_error_; |
401 | 398 |
402 // A delegate that glues this handler with backend LoginDisplay. | 399 // A delegate that glues this handler with backend LoginDisplay. |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
470 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or | 467 // NOTIFICATION_AUTH_NEEDED and reset on either NOTIFICATION_AUTH_SUPPLIED or |
471 // NOTIFICATION_AUTH_CANCELLED. | 468 // NOTIFICATION_AUTH_CANCELLED. |
472 bool has_pending_auth_ui_; | 469 bool has_pending_auth_ui_; |
473 | 470 |
474 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 471 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
475 }; | 472 }; |
476 | 473 |
477 } // namespace chromeos | 474 } // namespace chromeos |
478 | 475 |
479 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 476 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |