OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 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_APP_LAUNCH_SPLASH_SCREEN_HANDLER_
H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDLER_
H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDLER_
H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDLER_
H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 10 matching lines...) Expand all Loading... |
21 : public BaseScreenHandler, | 21 : public BaseScreenHandler, |
22 public AppLaunchSplashScreenActor, | 22 public AppLaunchSplashScreenActor, |
23 public NetworkStateInformer::NetworkStateInformerObserver { | 23 public NetworkStateInformer::NetworkStateInformerObserver { |
24 public: | 24 public: |
25 AppLaunchSplashScreenHandler( | 25 AppLaunchSplashScreenHandler( |
26 const scoped_refptr<NetworkStateInformer>& network_state_informer, | 26 const scoped_refptr<NetworkStateInformer>& network_state_informer, |
27 ErrorScreenActor* error_screen_actor); | 27 ErrorScreenActor* error_screen_actor); |
28 ~AppLaunchSplashScreenHandler() override; | 28 ~AppLaunchSplashScreenHandler() override; |
29 | 29 |
30 // BaseScreenHandler implementation: | 30 // BaseScreenHandler implementation: |
31 void DeclareLocalizedValues(LocalizedValuesBuilder* builder) override; | 31 void DeclareLocalizedValues( |
| 32 ::login::LocalizedValuesBuilder* builder) override; |
32 void Initialize() override; | 33 void Initialize() override; |
33 | 34 |
34 // WebUIMessageHandler implementation: | 35 // WebUIMessageHandler implementation: |
35 void RegisterMessages() override; | 36 void RegisterMessages() override; |
36 | 37 |
37 // AppLaunchSplashScreenActor implementation: | 38 // AppLaunchSplashScreenActor implementation: |
38 void Show(const std::string& app_id) override; | 39 void Show(const std::string& app_id) override; |
39 void PrepareToShow() override; | 40 void PrepareToShow() override; |
40 void Hide() override; | 41 void Hide() override; |
41 void ToggleNetworkConfig(bool visible) override; | 42 void ToggleNetworkConfig(bool visible) override; |
(...skipping 28 matching lines...) Expand all Loading... |
70 bool network_config_done_; | 71 bool network_config_done_; |
71 // True if we have manually requested network config screen. | 72 // True if we have manually requested network config screen. |
72 bool network_config_requested_; | 73 bool network_config_requested_; |
73 | 74 |
74 DISALLOW_COPY_AND_ASSIGN(AppLaunchSplashScreenHandler); | 75 DISALLOW_COPY_AND_ASSIGN(AppLaunchSplashScreenHandler); |
75 }; | 76 }; |
76 | 77 |
77 } // namespace chromeos | 78 } // namespace chromeos |
78 | 79 |
79 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDL
ER_H_ | 80 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDL
ER_H_ |
OLD | NEW |