| 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 <string> | 9 #include <string> |
| 10 | 10 |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 // ScreenManager implementation. | 138 // ScreenManager implementation. |
| 139 virtual BaseScreen* CreateScreen(const std::string& screen_name) override; | 139 virtual BaseScreen* CreateScreen(const std::string& screen_name) override; |
| 140 | 140 |
| 141 static const char kNetworkScreenName[]; | 141 static const char kNetworkScreenName[]; |
| 142 static const char kLoginScreenName[]; | 142 static const char kLoginScreenName[]; |
| 143 static const char kUpdateScreenName[]; | 143 static const char kUpdateScreenName[]; |
| 144 static const char kUserImageScreenName[]; | 144 static const char kUserImageScreenName[]; |
| 145 static const char kOutOfBoxScreenName[]; | 145 static const char kOutOfBoxScreenName[]; |
| 146 static const char kTestNoScreenName[]; | 146 static const char kTestNoScreenName[]; |
| 147 static const char kEulaScreenName[]; | 147 static const char kEulaScreenName[]; |
| 148 static const char kEnableDebuggingScreenName[]; |
| 148 static const char kEnrollmentScreenName[]; | 149 static const char kEnrollmentScreenName[]; |
| 149 static const char kResetScreenName[]; | 150 static const char kResetScreenName[]; |
| 150 static const char kKioskEnableScreenName[]; | 151 static const char kKioskEnableScreenName[]; |
| 151 static const char kKioskAutolaunchScreenName[]; | 152 static const char kKioskAutolaunchScreenName[]; |
| 152 static const char kErrorScreenName[]; | 153 static const char kErrorScreenName[]; |
| 153 static const char kTermsOfServiceScreenName[]; | 154 static const char kTermsOfServiceScreenName[]; |
| 154 static const char kAutoEnrollmentCheckScreenName[]; | 155 static const char kAutoEnrollmentCheckScreenName[]; |
| 155 static const char kWrongHWIDScreenName[]; | 156 static const char kWrongHWIDScreenName[]; |
| 156 static const char kSupervisedUserCreationScreenName[]; | 157 static const char kSupervisedUserCreationScreenName[]; |
| 157 static const char kAppLaunchSplashScreenName[]; | 158 static const char kAppLaunchSplashScreenName[]; |
| 158 static const char kHIDDetectionScreenName[]; | 159 static const char kHIDDetectionScreenName[]; |
| 159 static const char kControllerPairingScreenName[]; | 160 static const char kControllerPairingScreenName[]; |
| 160 static const char kHostPairingScreenName[]; | 161 static const char kHostPairingScreenName[]; |
| 161 static const char kDeviceDisabledScreenName[]; | 162 static const char kDeviceDisabledScreenName[]; |
| 162 | 163 |
| 163 // Volume percent at which spoken feedback is still audible. | 164 // Volume percent at which spoken feedback is still audible. |
| 164 static const int kMinAudibleOutputVolumePercent; | 165 static const int kMinAudibleOutputVolumePercent; |
| 165 | 166 |
| 166 private: | 167 private: |
| 167 // Show specific screen. | 168 // Show specific screen. |
| 168 void ShowNetworkScreen(); | 169 void ShowNetworkScreen(); |
| 169 void ShowUpdateScreen(); | 170 void ShowUpdateScreen(); |
| 170 void ShowUserImageScreen(); | 171 void ShowUserImageScreen(); |
| 171 void ShowEulaScreen(); | 172 void ShowEulaScreen(); |
| 172 void ShowEnrollmentScreen(); | 173 void ShowEnrollmentScreen(); |
| 173 void ShowResetScreen(); | 174 void ShowResetScreen(); |
| 174 void ShowKioskAutolaunchScreen(); | 175 void ShowKioskAutolaunchScreen(); |
| 176 void ShowEnableDebuggingScreen(); |
| 175 void ShowKioskEnableScreen(); | 177 void ShowKioskEnableScreen(); |
| 176 void ShowTermsOfServiceScreen(); | 178 void ShowTermsOfServiceScreen(); |
| 177 void ShowWrongHWIDScreen(); | 179 void ShowWrongHWIDScreen(); |
| 178 void ShowAutoEnrollmentCheckScreen(); | 180 void ShowAutoEnrollmentCheckScreen(); |
| 179 void ShowSupervisedUserCreationScreen(); | 181 void ShowSupervisedUserCreationScreen(); |
| 180 void ShowHIDDetectionScreen(); | 182 void ShowHIDDetectionScreen(); |
| 181 void ShowControllerPairingScreen(); | 183 void ShowControllerPairingScreen(); |
| 182 void ShowHostPairingScreen(); | 184 void ShowHostPairingScreen(); |
| 183 void ShowDeviceDisabledScreen(); | 185 void ShowDeviceDisabledScreen(); |
| 184 | 186 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 197 void OnNetworkOffline(); | 199 void OnNetworkOffline(); |
| 198 void OnConnectionFailed(); | 200 void OnConnectionFailed(); |
| 199 void OnUpdateCompleted(); | 201 void OnUpdateCompleted(); |
| 200 void OnEulaAccepted(); | 202 void OnEulaAccepted(); |
| 201 void OnUpdateErrorCheckingForUpdate(); | 203 void OnUpdateErrorCheckingForUpdate(); |
| 202 void OnUpdateErrorUpdating(); | 204 void OnUpdateErrorUpdating(); |
| 203 void OnUserImageSelected(); | 205 void OnUserImageSelected(); |
| 204 void OnUserImageSkipped(); | 206 void OnUserImageSkipped(); |
| 205 void OnEnrollmentDone(); | 207 void OnEnrollmentDone(); |
| 206 void OnAutoEnrollmentDone(); | 208 void OnAutoEnrollmentDone(); |
| 207 void OnResetCanceled(); | 209 void OnDeviceModificationCanceled(); |
| 208 void OnKioskAutolaunchCanceled(); | 210 void OnKioskAutolaunchCanceled(); |
| 209 void OnKioskAutolaunchConfirmed(); | 211 void OnKioskAutolaunchConfirmed(); |
| 210 void OnKioskEnableCompleted(); | 212 void OnKioskEnableCompleted(); |
| 211 void OnWrongHWIDWarningSkipped(); | 213 void OnWrongHWIDWarningSkipped(); |
| 212 void OnAutoEnrollmentCheckCompleted(); | 214 void OnAutoEnrollmentCheckCompleted(); |
| 213 void OnTermsOfServiceDeclined(); | 215 void OnTermsOfServiceDeclined(); |
| 214 void OnTermsOfServiceAccepted(); | 216 void OnTermsOfServiceAccepted(); |
| 215 void OnControllerPairingFinished(); | 217 void OnControllerPairingFinished(); |
| 216 void OnHostPairingFinished(); | 218 void OnHostPairingFinished(); |
| 217 | 219 |
| (...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 shark_connection_listener_; | 425 shark_connection_listener_; |
| 424 | 426 |
| 425 base::WeakPtrFactory<WizardController> weak_factory_; | 427 base::WeakPtrFactory<WizardController> weak_factory_; |
| 426 | 428 |
| 427 DISALLOW_COPY_AND_ASSIGN(WizardController); | 429 DISALLOW_COPY_AND_ASSIGN(WizardController); |
| 428 }; | 430 }; |
| 429 | 431 |
| 430 } // namespace chromeos | 432 } // namespace chromeos |
| 431 | 433 |
| 432 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ | 434 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ |
| OLD | NEW |