OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
136 // BrowsingDataRemover::Observer overrides. | 136 // BrowsingDataRemover::Observer overrides. |
137 virtual void OnBrowsingDataRemoverDone() OVERRIDE; | 137 virtual void OnBrowsingDataRemoverDone() OVERRIDE; |
138 | 138 |
139 // SystemKeyEventListener::CapsLockObserver overrides. | 139 // SystemKeyEventListener::CapsLockObserver overrides. |
140 virtual void OnCapsLockChange(bool enabled) OVERRIDE; | 140 virtual void OnCapsLockChange(bool enabled) OVERRIDE; |
141 | 141 |
142 // Shows signin screen after dns cache and cookie cleanup operations finish. | 142 // Shows signin screen after dns cache and cookie cleanup operations finish. |
143 void ShowSigninScreenIfReady(); | 143 void ShowSigninScreenIfReady(); |
144 | 144 |
145 // Tells webui to load authentication extension. |force| is used to force the | 145 // Tells webui to load authentication extension. |force| is used to force the |
146 // extension reloading, if it has already been loaded. | 146 // extension reloading, if it has already been loaded. |silent_load| is true |
147 void LoadAuthExtension(bool force); | 147 // for cases when extension should be loaded in the background and it |
| 148 // shouldn't grab the focus. |
| 149 void LoadAuthExtension(bool force, bool silent_load); |
148 | 150 |
149 // Handles confirmation message of user authentication that was performed by | 151 // Handles confirmation message of user authentication that was performed by |
150 // the authentication extension. | 152 // the authentication extension. |
151 void HandleCompleteLogin(const base::ListValue* args); | 153 void HandleCompleteLogin(const base::ListValue* args); |
152 | 154 |
153 // Handles get existing user list request when populating account picker. | 155 // Handles get existing user list request when populating account picker. |
154 void HandleGetUsers(const base::ListValue* args); | 156 void HandleGetUsers(const base::ListValue* args); |
155 | 157 |
156 // Handles authentication request when signing in an existing user. | 158 // Handles authentication request when signing in an existing user. |
157 void HandleAuthenticateUser(const base::ListValue* args); | 159 void HandleAuthenticateUser(const base::ListValue* args); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 | 254 |
253 // CapsLock state change notifier instance; | 255 // CapsLock state change notifier instance; |
254 SystemKeyEventListener* key_event_listener_; | 256 SystemKeyEventListener* key_event_listener_; |
255 | 257 |
256 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 258 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
257 }; | 259 }; |
258 | 260 |
259 } // namespace chromeos | 261 } // namespace chromeos |
260 | 262 |
261 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 263 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
OLD | NEW |