| 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 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 408 // Gaia sign-in page. | 408 // Gaia sign-in page. |
| 409 bool IsGaiaHiddenByError() const; | 409 bool IsGaiaHiddenByError() const; |
| 410 | 410 |
| 411 // Returns true if current screen is the error screen over signin | 411 // Returns true if current screen is the error screen over signin |
| 412 // screen. | 412 // screen. |
| 413 bool IsSigninScreenHiddenByError() const; | 413 bool IsSigninScreenHiddenByError() const; |
| 414 | 414 |
| 415 // Returns true if guest signin is allowed. | 415 // Returns true if guest signin is allowed. |
| 416 bool IsGuestSigninAllowed() const; | 416 bool IsGuestSigninAllowed() const; |
| 417 | 417 |
| 418 // Returns true if offline login is allowed. | |
| 419 bool IsOfflineLoginAllowed() const; | |
| 420 | |
| 421 bool ShouldLoadGaia() const; | 418 bool ShouldLoadGaia() const; |
| 422 | 419 |
| 423 // Shows signin. | 420 // Shows signin. |
| 424 void OnShowAddUser(); | 421 void OnShowAddUser(); |
| 425 | 422 |
| 426 net::Error FrameError() const; | 423 net::Error FrameError() const; |
| 427 | 424 |
| 428 // input_method::ImeKeyboard::Observer implementation: | 425 // input_method::ImeKeyboard::Observer implementation: |
| 429 void OnCapsLockChanged(bool enabled) override; | 426 void OnCapsLockChanged(bool enabled) override; |
| 430 | 427 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 std::unique_ptr<LoginFeedback> login_feedback_; | 511 std::unique_ptr<LoginFeedback> login_feedback_; |
| 515 | 512 |
| 516 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 513 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 517 | 514 |
| 518 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 515 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 519 }; | 516 }; |
| 520 | 517 |
| 521 } // namespace chromeos | 518 } // namespace chromeos |
| 522 | 519 |
| 523 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 520 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |