| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "ash/wm/lock_state_observer.h" | 10 #include "ash/wm/lock_state_observer.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 // ScreenLockerDelegate implementation. | 55 // ScreenLockerDelegate implementation. |
| 56 virtual void LockScreen() OVERRIDE; | 56 virtual void LockScreen() OVERRIDE; |
| 57 virtual void ScreenLockReady() OVERRIDE; | 57 virtual void ScreenLockReady() OVERRIDE; |
| 58 virtual void OnAuthenticate() OVERRIDE; | 58 virtual void OnAuthenticate() OVERRIDE; |
| 59 virtual void SetInputEnabled(bool enabled) OVERRIDE; | 59 virtual void SetInputEnabled(bool enabled) OVERRIDE; |
| 60 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; | 60 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; |
| 61 virtual void ShowUserPodButton(const std::string& username, | 61 virtual void ShowUserPodButton(const std::string& username, |
| 62 const std::string& iconURL, | 62 const std::string& iconURL, |
| 63 const base::Closure& click_callback) OVERRIDE; | 63 const base::Closure& click_callback) OVERRIDE; |
| 64 virtual void HideUserPodButton(const std::string& username) OVERRIDE; |
| 65 virtual void SetAuthType(const std::string& username, |
| 66 LoginDisplay::AuthType auth_type, |
| 67 const std::string& initial_value) OVERRIDE; |
| 68 virtual LoginDisplay::AuthType GetAuthType(const std::string& username) |
| 69 const OVERRIDE; |
| 64 virtual void ShowErrorMessage( | 70 virtual void ShowErrorMessage( |
| 65 int error_msg_id, | 71 int error_msg_id, |
| 66 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 72 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
| 67 virtual void ClearErrors() OVERRIDE; | 73 virtual void ClearErrors() OVERRIDE; |
| 68 virtual void AnimateAuthenticationSuccess() OVERRIDE; | 74 virtual void AnimateAuthenticationSuccess() OVERRIDE; |
| 69 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 75 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 70 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; | 76 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; |
| 71 virtual void OnLockWebUIReady() OVERRIDE; | 77 virtual void OnLockWebUIReady() OVERRIDE; |
| 72 virtual void OnLockBackgroundDisplayed() OVERRIDE; | 78 virtual void OnLockBackgroundDisplayed() OVERRIDE; |
| 73 | 79 |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 148 scoped_ptr<login::NetworkStateHelper> network_state_helper_; | 154 scoped_ptr<login::NetworkStateHelper> network_state_helper_; |
| 149 | 155 |
| 150 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; | 156 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; |
| 151 | 157 |
| 152 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 158 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
| 153 }; | 159 }; |
| 154 | 160 |
| 155 } // namespace chromeos | 161 } // namespace chromeos |
| 156 | 162 |
| 157 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ | 163 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ |
| OLD | NEW |