Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(146)

Side by Side Diff: chrome/browser/chromeos/login/wizard_controller.h

Issue 539273002: Added UI to enable debugging features on CrOS (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 // ScreenManager implementation. 145 // ScreenManager implementation.
146 virtual BaseScreen* CreateScreen(const std::string& screen_name) override; 146 virtual BaseScreen* CreateScreen(const std::string& screen_name) override;
147 147
148 static const char kNetworkScreenName[]; 148 static const char kNetworkScreenName[];
149 static const char kLoginScreenName[]; 149 static const char kLoginScreenName[];
150 static const char kUpdateScreenName[]; 150 static const char kUpdateScreenName[];
151 static const char kUserImageScreenName[]; 151 static const char kUserImageScreenName[];
152 static const char kOutOfBoxScreenName[]; 152 static const char kOutOfBoxScreenName[];
153 static const char kTestNoScreenName[]; 153 static const char kTestNoScreenName[];
154 static const char kEulaScreenName[]; 154 static const char kEulaScreenName[];
155 static const char kEnableDebuggingScreenName[];
155 static const char kEnrollmentScreenName[]; 156 static const char kEnrollmentScreenName[];
156 static const char kResetScreenName[]; 157 static const char kResetScreenName[];
157 static const char kKioskEnableScreenName[]; 158 static const char kKioskEnableScreenName[];
158 static const char kKioskAutolaunchScreenName[]; 159 static const char kKioskAutolaunchScreenName[];
159 static const char kErrorScreenName[]; 160 static const char kErrorScreenName[];
160 static const char kTermsOfServiceScreenName[]; 161 static const char kTermsOfServiceScreenName[];
161 static const char kAutoEnrollmentCheckScreenName[]; 162 static const char kAutoEnrollmentCheckScreenName[];
162 static const char kWrongHWIDScreenName[]; 163 static const char kWrongHWIDScreenName[];
163 static const char kSupervisedUserCreationScreenName[]; 164 static const char kSupervisedUserCreationScreenName[];
164 static const char kAppLaunchSplashScreenName[]; 165 static const char kAppLaunchSplashScreenName[];
165 static const char kHIDDetectionScreenName[]; 166 static const char kHIDDetectionScreenName[];
166 static const char kControllerPairingScreenName[]; 167 static const char kControllerPairingScreenName[];
167 static const char kHostPairingScreenName[]; 168 static const char kHostPairingScreenName[];
168 static const char kDeviceDisabledScreenName[]; 169 static const char kDeviceDisabledScreenName[];
169 170
170 // Volume percent at which spoken feedback is still audible. 171 // Volume percent at which spoken feedback is still audible.
171 static const int kMinAudibleOutputVolumePercent; 172 static const int kMinAudibleOutputVolumePercent;
172 173
173 private: 174 private:
174 // Show specific screen. 175 // Show specific screen.
175 void ShowNetworkScreen(); 176 void ShowNetworkScreen();
176 void ShowUpdateScreen(); 177 void ShowUpdateScreen();
177 void ShowUserImageScreen(); 178 void ShowUserImageScreen();
178 void ShowEulaScreen(); 179 void ShowEulaScreen();
179 void ShowEnrollmentScreen(); 180 void ShowEnrollmentScreen();
180 void ShowResetScreen(); 181 void ShowResetScreen();
181 void ShowKioskAutolaunchScreen(); 182 void ShowKioskAutolaunchScreen();
183 void ShowEnableDebuggingScreen();
182 void ShowKioskEnableScreen(); 184 void ShowKioskEnableScreen();
183 void ShowTermsOfServiceScreen(); 185 void ShowTermsOfServiceScreen();
184 void ShowWrongHWIDScreen(); 186 void ShowWrongHWIDScreen();
185 void ShowAutoEnrollmentCheckScreen(); 187 void ShowAutoEnrollmentCheckScreen();
186 void ShowSupervisedUserCreationScreen(); 188 void ShowSupervisedUserCreationScreen();
187 void ShowHIDDetectionScreen(); 189 void ShowHIDDetectionScreen();
188 void ShowControllerPairingScreen(); 190 void ShowControllerPairingScreen();
189 void ShowHostPairingScreen(); 191 void ShowHostPairingScreen();
190 void ShowDeviceDisabledScreen(); 192 void ShowDeviceDisabledScreen();
191 193
(...skipping 12 matching lines...) Expand all
204 void OnNetworkOffline(); 206 void OnNetworkOffline();
205 void OnConnectionFailed(); 207 void OnConnectionFailed();
206 void OnUpdateCompleted(); 208 void OnUpdateCompleted();
207 void OnEulaAccepted(); 209 void OnEulaAccepted();
208 void OnUpdateErrorCheckingForUpdate(); 210 void OnUpdateErrorCheckingForUpdate();
209 void OnUpdateErrorUpdating(); 211 void OnUpdateErrorUpdating();
210 void OnUserImageSelected(); 212 void OnUserImageSelected();
211 void OnUserImageSkipped(); 213 void OnUserImageSkipped();
212 void OnEnrollmentDone(); 214 void OnEnrollmentDone();
213 void OnAutoEnrollmentDone(); 215 void OnAutoEnrollmentDone();
214 void OnResetCanceled(); 216 void OnDeviceModificationCanceled();
215 void OnKioskAutolaunchCanceled(); 217 void OnKioskAutolaunchCanceled();
216 void OnKioskAutolaunchConfirmed(); 218 void OnKioskAutolaunchConfirmed();
217 void OnKioskEnableCompleted(); 219 void OnKioskEnableCompleted();
218 void OnWrongHWIDWarningSkipped(); 220 void OnWrongHWIDWarningSkipped();
219 void OnTermsOfServiceDeclined(); 221 void OnTermsOfServiceDeclined();
220 void OnTermsOfServiceAccepted(); 222 void OnTermsOfServiceAccepted();
221 void OnControllerPairingFinished(); 223 void OnControllerPairingFinished();
222 void OnHostPairingFinished(); 224 void OnHostPairingFinished();
223 void OnAutoEnrollmentCheckCompleted(); 225 void OnAutoEnrollmentCheckCompleted();
224 226
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 shark_connection_listener_; 440 shark_connection_listener_;
439 441
440 base::WeakPtrFactory<WizardController> weak_factory_; 442 base::WeakPtrFactory<WizardController> weak_factory_;
441 443
442 DISALLOW_COPY_AND_ASSIGN(WizardController); 444 DISALLOW_COPY_AND_ASSIGN(WizardController);
443 }; 445 };
444 446
445 } // namespace chromeos 447 } // namespace chromeos
446 448
447 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_ 449 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_WIZARD_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/ui/webui_login_view.cc ('k') | chrome/browser/chromeos/login/wizard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698