| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <memory> | 9 #include <memory> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 void ShowWrongHWIDScreen(); | 146 void ShowWrongHWIDScreen(); |
| 147 void ShowAutoEnrollmentCheckScreen(); | 147 void ShowAutoEnrollmentCheckScreen(); |
| 148 void ShowSupervisedUserCreationScreen(); | 148 void ShowSupervisedUserCreationScreen(); |
| 149 void ShowArcKioskSplashScreen(); | 149 void ShowArcKioskSplashScreen(); |
| 150 void ShowHIDDetectionScreen(); | 150 void ShowHIDDetectionScreen(); |
| 151 void ShowControllerPairingScreen(); | 151 void ShowControllerPairingScreen(); |
| 152 void ShowHostPairingScreen(); | 152 void ShowHostPairingScreen(); |
| 153 void ShowDeviceDisabledScreen(); | 153 void ShowDeviceDisabledScreen(); |
| 154 void ShowEncryptionMigrationScreen(); | 154 void ShowEncryptionMigrationScreen(); |
| 155 void ShowVoiceInteractionValuePropScreen(); | 155 void ShowVoiceInteractionValuePropScreen(); |
| 156 void ShowWaitForContainerReadyScreen(); |
| 156 | 157 |
| 157 // Shows images login screen. | 158 // Shows images login screen. |
| 158 void ShowLoginScreen(const LoginScreenContext& context); | 159 void ShowLoginScreen(const LoginScreenContext& context); |
| 159 | 160 |
| 160 // Exit handlers: | 161 // Exit handlers: |
| 161 void OnHIDDetectionCompleted(); | 162 void OnHIDDetectionCompleted(); |
| 162 void OnNetworkConnected(); | 163 void OnNetworkConnected(); |
| 163 void OnNetworkOffline(); | 164 void OnNetworkOffline(); |
| 164 void OnConnectionFailed(); | 165 void OnConnectionFailed(); |
| 165 void OnUpdateCompleted(); | 166 void OnUpdateCompleted(); |
| 166 void OnEulaAccepted(); | 167 void OnEulaAccepted(); |
| 167 void OnUpdateErrorCheckingForUpdate(); | 168 void OnUpdateErrorCheckingForUpdate(); |
| 168 void OnUpdateErrorUpdating(bool is_critical_update); | 169 void OnUpdateErrorUpdating(bool is_critical_update); |
| 169 void OnUserImageSelected(); | 170 void OnUserImageSelected(); |
| 170 void OnUserImageSkipped(); | 171 void OnUserImageSkipped(); |
| 171 void OnEnrollmentDone(); | 172 void OnEnrollmentDone(); |
| 172 void OnAutoEnrollmentDone(); | 173 void OnAutoEnrollmentDone(); |
| 173 void OnDeviceModificationCanceled(); | 174 void OnDeviceModificationCanceled(); |
| 174 void OnKioskAutolaunchCanceled(); | 175 void OnKioskAutolaunchCanceled(); |
| 175 void OnKioskAutolaunchConfirmed(); | 176 void OnKioskAutolaunchConfirmed(); |
| 176 void OnKioskEnableCompleted(); | 177 void OnKioskEnableCompleted(); |
| 177 void OnWrongHWIDWarningSkipped(); | 178 void OnWrongHWIDWarningSkipped(); |
| 178 void OnTermsOfServiceDeclined(); | 179 void OnTermsOfServiceDeclined(); |
| 179 void OnTermsOfServiceAccepted(); | 180 void OnTermsOfServiceAccepted(); |
| 180 void OnArcTermsOfServiceFinished(); | 181 void OnArcTermsOfServiceFinished(); |
| 181 void OnVoiceInteractionValuePropSkipped(); | 182 void OnVoiceInteractionValuePropSkipped(); |
| 182 void OnVoiceInteractionValuePropAccepted(); | 183 void OnVoiceInteractionValuePropAccepted(); |
| 183 void OnControllerPairingFinished(); | 184 void OnControllerPairingFinished(); |
| 184 void OnAutoEnrollmentCheckCompleted(); | 185 void OnAutoEnrollmentCheckCompleted(); |
| 186 void OnWaitForContainerReadyFinished(); |
| 185 void OnOobeFlowFinished(); | 187 void OnOobeFlowFinished(); |
| 186 | 188 |
| 187 // Callback invoked once it has been determined whether the device is disabled | 189 // Callback invoked once it has been determined whether the device is disabled |
| 188 // or not. | 190 // or not. |
| 189 void OnDeviceDisabledChecked(bool device_disabled); | 191 void OnDeviceDisabledChecked(bool device_disabled); |
| 190 | 192 |
| 191 // Callback function after setting MetricsReporting. | 193 // Callback function after setting MetricsReporting. |
| 192 void OnChangedMetricsReportingState(bool enabled); | 194 void OnChangedMetricsReportingState(bool enabled); |
| 193 | 195 |
| 194 // Loads brand code on I/O enabled thread and stores to Local State. | 196 // Loads brand code on I/O enabled thread and stores to Local State. |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 442 BaseScreen* hid_screen_ = nullptr; | 444 BaseScreen* hid_screen_ = nullptr; |
| 443 | 445 |
| 444 base::WeakPtrFactory<WizardController> weak_factory_; | 446 base::WeakPtrFactory<WizardController> weak_factory_; |
| 445 | 447 |
| 446 DISALLOW_COPY_AND_ASSIGN(WizardController); | 448 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 447 }; | 449 }; |
| 448 | 450 |
| 449 } // namespace chromeos | 451 } // namespace chromeos |
| 450 | 452 |
| 451 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 453 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |