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

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

Issue 168813002: Refactor user pods to use authType property for distinct authentication modes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ScreenLockerTest Created 6 years, 10 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.cc ('k') | chrome/browser/chromeos/login/webui_screen_locker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698