| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_LOCK_WEBUI_SCREEN_LOCKER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 public views::WidgetObserver, | 49 public views::WidgetObserver, |
| 50 public PowerManagerClient::Observer { | 50 public PowerManagerClient::Observer { |
| 51 public: | 51 public: |
| 52 explicit WebUIScreenLocker(ScreenLocker* screen_locker); | 52 explicit WebUIScreenLocker(ScreenLocker* screen_locker); |
| 53 | 53 |
| 54 // ScreenLockerDelegate implementation. | 54 // ScreenLockerDelegate implementation. |
| 55 virtual void LockScreen() OVERRIDE; | 55 virtual void LockScreen() OVERRIDE; |
| 56 virtual void ScreenLockReady() OVERRIDE; | 56 virtual void ScreenLockReady() OVERRIDE; |
| 57 virtual void OnAuthenticate() OVERRIDE; | 57 virtual void OnAuthenticate() OVERRIDE; |
| 58 virtual void SetInputEnabled(bool enabled) OVERRIDE; | 58 virtual void SetInputEnabled(bool enabled) OVERRIDE; |
| 59 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; | |
| 60 virtual void ShowUserPodButton(const std::string& username, | |
| 61 const std::string& iconURL, | |
| 62 const base::Closure& click_callback) OVERRIDE; | |
| 63 virtual void HideUserPodButton(const std::string& username) OVERRIDE; | |
| 64 virtual void SetAuthType(const std::string& username, | |
| 65 LoginDisplay::AuthType auth_type, | |
| 66 const std::string& initial_value) OVERRIDE; | |
| 67 virtual LoginDisplay::AuthType GetAuthType(const std::string& username) | |
| 68 const OVERRIDE; | |
| 69 virtual void ShowErrorMessage( | 59 virtual void ShowErrorMessage( |
| 70 int error_msg_id, | 60 int error_msg_id, |
| 71 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; | 61 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; |
| 72 virtual void ClearErrors() OVERRIDE; | 62 virtual void ClearErrors() OVERRIDE; |
| 73 virtual void AnimateAuthenticationSuccess() OVERRIDE; | 63 virtual void AnimateAuthenticationSuccess() OVERRIDE; |
| 74 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; | 64 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; |
| 75 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; | 65 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; |
| 76 virtual void OnLockWebUIReady() OVERRIDE; | 66 virtual void OnLockWebUIReady() OVERRIDE; |
| 77 virtual void OnLockBackgroundDisplayed() OVERRIDE; | 67 virtual void OnLockBackgroundDisplayed() OVERRIDE; |
| 78 | 68 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 scoped_ptr<login::NetworkStateHelper> network_state_helper_; | 142 scoped_ptr<login::NetworkStateHelper> network_state_helper_; |
| 153 | 143 |
| 154 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; | 144 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; |
| 155 | 145 |
| 156 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); | 146 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); |
| 157 }; | 147 }; |
| 158 | 148 |
| 159 } // namespace chromeos | 149 } // namespace chromeos |
| 160 | 150 |
| 161 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ | 151 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_LOCK_WEBUI_SCREEN_LOCKER_H_ |
| OLD | NEW |