| OLD | NEW |
| 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2013 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 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 // argument. Optionally it can pass screen initialization data via | 255 // argument. Optionally it can pass screen initialization data via |
| 256 // |params| argument. | 256 // |params| argument. |
| 257 void UpdateUIState(UIState ui_state, base::DictionaryValue* params); | 257 void UpdateUIState(UIState ui_state, base::DictionaryValue* params); |
| 258 | 258 |
| 259 void UpdateStateInternal(ErrorScreenActor::ErrorReason reason, | 259 void UpdateStateInternal(ErrorScreenActor::ErrorReason reason, |
| 260 bool force_update); | 260 bool force_update); |
| 261 void SetupAndShowOfflineMessage(NetworkStateInformer::State state, | 261 void SetupAndShowOfflineMessage(NetworkStateInformer::State state, |
| 262 ErrorScreenActor::ErrorReason reason); | 262 ErrorScreenActor::ErrorReason reason); |
| 263 void HideOfflineMessage(NetworkStateInformer::State state, | 263 void HideOfflineMessage(NetworkStateInformer::State state, |
| 264 ErrorScreenActor::ErrorReason reason); | 264 ErrorScreenActor::ErrorReason reason); |
| 265 void ReloadGaiaScreen(); | 265 void ReloadGaia(bool force_reload); |
| 266 | 266 |
| 267 // BaseScreenHandler implementation: | 267 // BaseScreenHandler implementation: |
| 268 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; | 268 virtual void DeclareLocalizedValues(LocalizedValuesBuilder* builder) OVERRIDE; |
| 269 virtual void Initialize() OVERRIDE; | 269 virtual void Initialize() OVERRIDE; |
| 270 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; | 270 virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; |
| 271 | 271 |
| 272 // WebUIMessageHandler implementation: | 272 // WebUIMessageHandler implementation: |
| 273 virtual void RegisterMessages() OVERRIDE; | 273 virtual void RegisterMessages() OVERRIDE; |
| 274 | 274 |
| 275 // LoginDisplayWebUIHandler implementation: | 275 // LoginDisplayWebUIHandler implementation: |
| (...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 462 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; | 462 scoped_ptr<AuthenticatedUserEmailRetriever> email_retriever_; |
| 463 | 463 |
| 464 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; | 464 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; |
| 465 | 465 |
| 466 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); | 466 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); |
| 467 }; | 467 }; |
| 468 | 468 |
| 469 } // namespace chromeos | 469 } // namespace chromeos |
| 470 | 470 |
| 471 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ | 471 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ |
| OLD | NEW |