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

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

Issue 289013002: cros: Clean up screenlockPrivate plumbing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase 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 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
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/screen_locker_delegate.h ('k') | chrome/browser/chromeos/login/lock/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698