| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 virtual void ShowErrorMessage(const string16& message, | 42 virtual void ShowErrorMessage(const string16& message, |
| 43 bool sign_out_only) OVERRIDE; | 43 bool sign_out_only) OVERRIDE; |
| 44 virtual void ShowCaptchaAndErrorMessage(const GURL& captcha_url, | 44 virtual void ShowCaptchaAndErrorMessage(const GURL& captcha_url, |
| 45 const string16& message) OVERRIDE; | 45 const string16& message) OVERRIDE; |
| 46 virtual void ClearErrors() OVERRIDE; | 46 virtual void ClearErrors() OVERRIDE; |
| 47 | 47 |
| 48 // LoginDisplay::Delegate: implementation | 48 // LoginDisplay::Delegate: implementation |
| 49 virtual void CreateAccount() OVERRIDE; | 49 virtual void CreateAccount() OVERRIDE; |
| 50 virtual string16 GetConnectedNetworkName() OVERRIDE; | 50 virtual string16 GetConnectedNetworkName() OVERRIDE; |
| 51 virtual void FixCaptivePortal() OVERRIDE; | 51 virtual void FixCaptivePortal() OVERRIDE; |
| 52 virtual void SetDisplayEmail(const std::string& email) OVERRIDE; |
| 52 virtual void CompleteLogin(const std::string& username, | 53 virtual void CompleteLogin(const std::string& username, |
| 53 const std::string& password) OVERRIDE; | 54 const std::string& password) OVERRIDE; |
| 54 virtual void Login(const std::string& username, | 55 virtual void Login(const std::string& username, |
| 55 const std::string& password) OVERRIDE; | 56 const std::string& password) OVERRIDE; |
| 56 virtual void LoginAsGuest() OVERRIDE; | 57 virtual void LoginAsGuest() OVERRIDE; |
| 57 virtual void OnUserSelected(const std::string& username) OVERRIDE; | 58 virtual void OnUserSelected(const std::string& username) OVERRIDE; |
| 58 virtual void OnStartEnterpriseEnrollment() OVERRIDE; | 59 virtual void OnStartEnterpriseEnrollment() OVERRIDE; |
| 59 | 60 |
| 60 // content::NotificationObserver implementation. | 61 // content::NotificationObserver implementation. |
| 61 virtual void Observe(int type, | 62 virtual void Observe(int type, |
| (...skipping 23 matching lines...) Expand all Loading... |
| 85 | 86 |
| 86 // Tracks when the WebUI finishes loading. | 87 // Tracks when the WebUI finishes loading. |
| 87 bool webui_ready_; | 88 bool webui_ready_; |
| 88 | 89 |
| 89 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 90 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
| 90 }; | 91 }; |
| 91 | 92 |
| 92 } // namespace chromeos | 93 } // namespace chromeos |
| 93 | 94 |
| 94 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 95 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| OLD | NEW |