| 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 |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 #include "chrome/browser/chromeos/login/screens/app_launch_splash_screen_actor.h
" | 12 #include "chrome/browser/chromeos/login/screens/app_launch_splash_screen_view.h" |
| 13 #include "chrome/browser/chromeos/login/screens/error_screen.h" | 13 #include "chrome/browser/chromeos/login/screens/error_screen.h" |
| 14 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" | 14 #include "chrome/browser/ui/webui/chromeos/login/base_screen_handler.h" |
| 15 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" | 15 #include "chrome/browser/ui/webui/chromeos/login/network_state_informer.h" |
| 16 | 16 |
| 17 namespace chromeos { | 17 namespace chromeos { |
| 18 | 18 |
| 19 // A class that handles the WebUI hooks for the app launch splash screen. | 19 // A class that handles the WebUI hooks for the app launch splash screen. |
| 20 class AppLaunchSplashScreenHandler | 20 class AppLaunchSplashScreenHandler |
| 21 : public BaseScreenHandler, | 21 : public BaseScreenHandler, |
| 22 public AppLaunchSplashScreenActor, | 22 public AppLaunchSplashScreenView, |
| 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 ErrorScreen* error_screen); | 27 ErrorScreen* error_screen); |
| 28 ~AppLaunchSplashScreenHandler() override; | 28 ~AppLaunchSplashScreenHandler() override; |
| 29 | 29 |
| 30 // BaseScreenHandler implementation: | 30 // BaseScreenHandler implementation: |
| 31 void DeclareLocalizedValues( | 31 void DeclareLocalizedValues( |
| 32 ::login::LocalizedValuesBuilder* builder) override; | 32 ::login::LocalizedValuesBuilder* builder) override; |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 73 |
| 74 // True if we have manually requested network config screen. | 74 // True if we have manually requested network config screen. |
| 75 bool network_config_requested_ = false; | 75 bool network_config_requested_ = false; |
| 76 | 76 |
| 77 DISALLOW_COPY_AND_ASSIGN(AppLaunchSplashScreenHandler); | 77 DISALLOW_COPY_AND_ASSIGN(AppLaunchSplashScreenHandler); |
| 78 }; | 78 }; |
| 79 | 79 |
| 80 } // namespace chromeos | 80 } // namespace chromeos |
| 81 | 81 |
| 82 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDL
ER_H_ | 82 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_APP_LAUNCH_SPLASH_SCREEN_HANDL
ER_H_ |
| OLD | NEW |