Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: chrome/browser/chromeos/login/webui_screen_locker.h

Issue 289013002: cros: Clean up screenlockPrivate plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix test compile Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 public views::WidgetObserver, 50 public views::WidgetObserver,
51 public PowerManagerClient::Observer { 51 public PowerManagerClient::Observer {
52 public: 52 public:
53 explicit WebUIScreenLocker(ScreenLocker* screen_locker); 53 explicit WebUIScreenLocker(ScreenLocker* screen_locker);
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;
61 virtual void ShowUserPodButton(const std::string& username,
62 const std::string& iconURL,
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;
70 virtual void ShowErrorMessage( 60 virtual void ShowErrorMessage(
71 int error_msg_id, 61 int error_msg_id,
72 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; 62 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
73 virtual void ClearErrors() OVERRIDE; 63 virtual void ClearErrors() OVERRIDE;
74 virtual void AnimateAuthenticationSuccess() OVERRIDE; 64 virtual void AnimateAuthenticationSuccess() OVERRIDE;
75 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 65 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
76 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE; 66 virtual content::WebUI* GetAssociatedWebUI() OVERRIDE;
77 virtual void OnLockWebUIReady() OVERRIDE; 67 virtual void OnLockWebUIReady() OVERRIDE;
78 virtual void OnLockBackgroundDisplayed() OVERRIDE; 68 virtual void OnLockBackgroundDisplayed() OVERRIDE;
79 69
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 scoped_ptr<login::NetworkStateHelper> network_state_helper_; 143 scoped_ptr<login::NetworkStateHelper> network_state_helper_;
154 144
155 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_; 145 base::WeakPtrFactory<WebUIScreenLocker> weak_factory_;
156 146
157 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker); 147 DISALLOW_COPY_AND_ASSIGN(WebUIScreenLocker);
158 }; 148 };
159 149
160 } // namespace chromeos 150 } // namespace chromeos
161 151
162 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_ 152 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_SCREEN_LOCKER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698