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_OOBE_UI_H_ | 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 #include <string> | 10 #include <string> |
(...skipping 14 matching lines...) Expand all Loading... |
25 } | 25 } |
26 | 26 |
27 namespace base { | 27 namespace base { |
28 class DictionaryValue; | 28 class DictionaryValue; |
29 } // namespace base | 29 } // namespace base |
30 | 30 |
31 namespace chromeos { | 31 namespace chromeos { |
32 class AppLaunchSplashScreenView; | 32 class AppLaunchSplashScreenView; |
33 class ArcKioskSplashScreenView; | 33 class ArcKioskSplashScreenView; |
34 class ArcTermsOfServiceScreenView; | 34 class ArcTermsOfServiceScreenView; |
35 class VoiceInteractionValuePropScreenView; | |
36 class AutoEnrollmentCheckScreenView; | 35 class AutoEnrollmentCheckScreenView; |
37 class BaseScreenHandler; | 36 class BaseScreenHandler; |
38 class ControllerPairingScreenView; | 37 class ControllerPairingScreenView; |
39 class CoreOobeView; | 38 class CoreOobeView; |
40 class DeviceDisabledScreenView; | 39 class DeviceDisabledScreenView; |
41 class EnableDebuggingScreenView; | 40 class EnableDebuggingScreenView; |
42 class EncryptionMigrationScreenView; | 41 class EncryptionMigrationScreenView; |
43 class EnrollmentScreenView; | 42 class EnrollmentScreenView; |
44 class EulaView; | 43 class EulaView; |
45 class ErrorScreen; | 44 class ErrorScreen; |
(...skipping 10 matching lines...) Expand all Loading... |
56 class NetworkView; | 55 class NetworkView; |
57 class OobeDisplayChooser; | 56 class OobeDisplayChooser; |
58 class SigninScreenHandler; | 57 class SigninScreenHandler; |
59 class SigninScreenHandlerDelegate; | 58 class SigninScreenHandlerDelegate; |
60 class SupervisedUserCreationScreenHandler; | 59 class SupervisedUserCreationScreenHandler; |
61 class ResetView; | 60 class ResetView; |
62 class TermsOfServiceScreenView; | 61 class TermsOfServiceScreenView; |
63 class UserBoardView; | 62 class UserBoardView; |
64 class UserImageView; | 63 class UserImageView; |
65 class UpdateView; | 64 class UpdateView; |
| 65 class VoiceInteractionValuePropScreenView; |
| 66 class WaitForContainerReadyScreenView; |
66 class WrongHWIDScreenView; | 67 class WrongHWIDScreenView; |
67 | 68 |
68 // A custom WebUI that defines datasource for out-of-box-experience (OOBE) UI: | 69 // A custom WebUI that defines datasource for out-of-box-experience (OOBE) UI: |
69 // - welcome screen (setup language/keyboard/network). | 70 // - welcome screen (setup language/keyboard/network). |
70 // - eula screen (CrOS (+ OEM) EULA content/TPM password/crash reporting). | 71 // - eula screen (CrOS (+ OEM) EULA content/TPM password/crash reporting). |
71 // - update screen. | 72 // - update screen. |
72 class OobeUI : public content::WebUIController, | 73 class OobeUI : public content::WebUIController, |
73 public ShutdownPolicyHandler::Delegate { | 74 public ShutdownPolicyHandler::Delegate { |
74 public: | 75 public: |
75 // List of known types of OobeUI. Type added as path in chrome://oobe url, for | 76 // List of known types of OobeUI. Type added as path in chrome://oobe url, for |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 AutoEnrollmentCheckScreenView* GetAutoEnrollmentCheckScreenView(); | 113 AutoEnrollmentCheckScreenView* GetAutoEnrollmentCheckScreenView(); |
113 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenView(); | 114 SupervisedUserCreationScreenHandler* GetSupervisedUserCreationScreenView(); |
114 AppLaunchSplashScreenView* GetAppLaunchSplashScreenView(); | 115 AppLaunchSplashScreenView* GetAppLaunchSplashScreenView(); |
115 ArcKioskSplashScreenView* GetArcKioskSplashScreenView(); | 116 ArcKioskSplashScreenView* GetArcKioskSplashScreenView(); |
116 HIDDetectionView* GetHIDDetectionView(); | 117 HIDDetectionView* GetHIDDetectionView(); |
117 ControllerPairingScreenView* GetControllerPairingScreenView(); | 118 ControllerPairingScreenView* GetControllerPairingScreenView(); |
118 HostPairingScreenView* GetHostPairingScreenView(); | 119 HostPairingScreenView* GetHostPairingScreenView(); |
119 DeviceDisabledScreenView* GetDeviceDisabledScreenView(); | 120 DeviceDisabledScreenView* GetDeviceDisabledScreenView(); |
120 EncryptionMigrationScreenView* GetEncryptionMigrationScreenView(); | 121 EncryptionMigrationScreenView* GetEncryptionMigrationScreenView(); |
121 VoiceInteractionValuePropScreenView* GetVoiceInteractionValuePropScreenView(); | 122 VoiceInteractionValuePropScreenView* GetVoiceInteractionValuePropScreenView(); |
| 123 WaitForContainerReadyScreenView* GetWaitForContainerReadyScreenView(); |
122 GaiaView* GetGaiaScreenView(); | 124 GaiaView* GetGaiaScreenView(); |
123 UserBoardView* GetUserBoardView(); | 125 UserBoardView* GetUserBoardView(); |
124 | 126 |
125 // ShutdownPolicyHandler::Delegate | 127 // ShutdownPolicyHandler::Delegate |
126 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override; | 128 void OnShutdownPolicyChanged(bool reboot_on_shutdown) override; |
127 | 129 |
128 // Collects localized strings from the owned handlers. | 130 // Collects localized strings from the owned handlers. |
129 void GetLocalizedStrings(base::DictionaryValue* localized_strings); | 131 void GetLocalizedStrings(base::DictionaryValue* localized_strings); |
130 | 132 |
131 // Initializes the handlers. | 133 // Initializes the handlers. |
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
252 // Store the deferred JS calls before the screen handler instance is | 254 // Store the deferred JS calls before the screen handler instance is |
253 // initialized. | 255 // initialized. |
254 std::unique_ptr<JSCallsContainer> js_calls_container; | 256 std::unique_ptr<JSCallsContainer> js_calls_container; |
255 | 257 |
256 DISALLOW_COPY_AND_ASSIGN(OobeUI); | 258 DISALLOW_COPY_AND_ASSIGN(OobeUI); |
257 }; | 259 }; |
258 | 260 |
259 } // namespace chromeos | 261 } // namespace chromeos |
260 | 262 |
261 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ | 263 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_OOBE_UI_H_ |
OLD | NEW |