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

Side by Side Diff: chrome/browser/chromeos/login/webui_login_display.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_LOGIN_DISPLAY_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 27 matching lines...) Expand all
38 virtual void OnUserImageChanged(const User& user) OVERRIDE; 38 virtual void OnUserImageChanged(const User& user) OVERRIDE;
39 virtual void OnUserRemoved(const std::string& username) OVERRIDE; 39 virtual void OnUserRemoved(const std::string& username) OVERRIDE;
40 virtual void OnFadeOut() OVERRIDE; 40 virtual void OnFadeOut() OVERRIDE;
41 virtual void OnLoginSuccess(const std::string& username) OVERRIDE; 41 virtual void OnLoginSuccess(const std::string& username) OVERRIDE;
42 virtual void SetUIEnabled(bool is_enabled) OVERRIDE; 42 virtual void SetUIEnabled(bool is_enabled) OVERRIDE;
43 virtual void SelectPod(int index) OVERRIDE; 43 virtual void SelectPod(int index) OVERRIDE;
44 virtual void ShowBannerMessage(const std::string& message) OVERRIDE; 44 virtual void ShowBannerMessage(const std::string& message) OVERRIDE;
45 virtual void ShowUserPodButton(const std::string& username, 45 virtual void ShowUserPodButton(const std::string& username,
46 const std::string& iconURL, 46 const std::string& iconURL,
47 const base::Closure& click_callback) OVERRIDE; 47 const base::Closure& click_callback) OVERRIDE;
48 virtual void HideUserPodButton(const std::string& username) OVERRIDE;
49 virtual void SetAuthType(const std::string& username,
50 AuthType auth_type,
51 const std::string& initial_value) OVERRIDE;
52 virtual AuthType GetAuthType(const std::string& username) const OVERRIDE;
48 virtual void ShowError(int error_msg_id, 53 virtual void ShowError(int error_msg_id,
49 int login_attempts, 54 int login_attempts,
50 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE; 55 HelpAppLauncher::HelpTopic help_topic_id) OVERRIDE;
51 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE; 56 virtual void ShowErrorScreen(LoginDisplay::SigninError error_id) OVERRIDE;
52 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE; 57 virtual void ShowGaiaPasswordChanged(const std::string& username) OVERRIDE;
53 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE; 58 virtual void ShowPasswordChangedDialog(bool show_password_error) OVERRIDE;
54 virtual void ShowSigninUI(const std::string& email) OVERRIDE; 59 virtual void ShowSigninUI(const std::string& email) OVERRIDE;
55 60
56 // NativeWindowDelegate implementation: 61 // NativeWindowDelegate implementation:
57 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE; 62 virtual gfx::NativeWindow GetNativeWindow() const OVERRIDE;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 120
116 // Reference to the WebUI handling layer for the login screen 121 // Reference to the WebUI handling layer for the login screen
117 LoginDisplayWebUIHandler* webui_handler_; 122 LoginDisplayWebUIHandler* webui_handler_;
118 123
119 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay); 124 DISALLOW_COPY_AND_ASSIGN(WebUILoginDisplay);
120 }; 125 };
121 126
122 } // namespace chromeos 127 } // namespace chromeos
123 128
124 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_ 129 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WEBUI_LOGIN_DISPLAY_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/screen_locker_delegate.h ('k') | chrome/browser/chromeos/login/webui_login_display.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698