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

Side by Side Diff: chrome/browser/ui/webui/chromeos/login/signin_screen_handler.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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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_SIGNIN_SCREEN_HANDLER_H_ 5 #ifndef CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 6 #define CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 // Used for new user login via GAIA extension. 142 // Used for new user login via GAIA extension.
143 virtual void CompleteLogin(const UserContext& user_context) = 0; 143 virtual void CompleteLogin(const UserContext& user_context) = 0;
144 144
145 // --------------- Shared with login display methods. 145 // --------------- Shared with login display methods.
146 // Notify the delegate when the sign-in UI is finished loading. 146 // Notify the delegate when the sign-in UI is finished loading.
147 virtual void OnSigninScreenReady() = 0; 147 virtual void OnSigninScreenReady() = 0;
148 148
149 // Shows Enterprise Enrollment screen. 149 // Shows Enterprise Enrollment screen.
150 virtual void ShowEnterpriseEnrollmentScreen() = 0; 150 virtual void ShowEnterpriseEnrollmentScreen() = 0;
151 151
152 // Shows Enable Developer Features screen.
153 virtual void ShowEnableDebuggingScreen() = 0;
154
152 // Shows Kiosk Enable screen. 155 // Shows Kiosk Enable screen.
153 virtual void ShowKioskEnableScreen() = 0; 156 virtual void ShowKioskEnableScreen() = 0;
154 157
155 // Shows Reset screen. 158 // Shows Reset screen.
156 virtual void ShowKioskAutolaunchScreen() = 0; 159 virtual void ShowKioskAutolaunchScreen() = 0;
157 160
158 // Show wrong hwid screen. 161 // Show wrong hwid screen.
159 virtual void ShowWrongHWIDScreen() = 0; 162 virtual void ShowWrongHWIDScreen() = 0;
160 163
161 // Sets the displayed email for the next login attempt. If it succeeds, 164 // Sets the displayed email for the next login attempt. If it succeeds,
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
365 void HandleLaunchPublicSession(const std::string& user_id, 368 void HandleLaunchPublicSession(const std::string& user_id,
366 const std::string& locale, 369 const std::string& locale,
367 const std::string& input_method); 370 const std::string& input_method);
368 void HandleOfflineLogin(const base::ListValue* args); 371 void HandleOfflineLogin(const base::ListValue* args);
369 void HandleShutdownSystem(); 372 void HandleShutdownSystem();
370 void HandleLoadWallpaper(const std::string& email); 373 void HandleLoadWallpaper(const std::string& email);
371 void HandleRebootSystem(); 374 void HandleRebootSystem();
372 void HandleRemoveUser(const std::string& email); 375 void HandleRemoveUser(const std::string& email);
373 void HandleShowAddUser(const base::ListValue* args); 376 void HandleShowAddUser(const base::ListValue* args);
374 void HandleToggleEnrollmentScreen(); 377 void HandleToggleEnrollmentScreen();
378 void HandleToggleEnableDebuggingScreen();
375 void HandleToggleKioskEnableScreen(); 379 void HandleToggleKioskEnableScreen();
376 void HandleToggleResetScreen(); 380 void HandleToggleResetScreen();
377 void HandleToggleKioskAutolaunchScreen(); 381 void HandleToggleKioskAutolaunchScreen();
378 void HandleCreateAccount(); 382 void HandleCreateAccount();
379 void HandleAccountPickerReady(); 383 void HandleAccountPickerReady();
380 void HandleWallpaperReady(); 384 void HandleWallpaperReady();
381 void HandleSignOutUser(); 385 void HandleSignOutUser();
382 void HandleOpenProxySettings(); 386 void HandleOpenProxySettings();
383 void HandleLoginVisible(const std::string& source); 387 void HandleLoginVisible(const std::string& source);
384 void HandleCancelPasswordChangedFlow(); 388 void HandleCancelPasswordChangedFlow();
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
536 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_; 540 scoped_ptr<ErrorScreensHistogramHelper> histogram_helper_;
537 541
538 base::WeakPtrFactory<SigninScreenHandler> weak_factory_; 542 base::WeakPtrFactory<SigninScreenHandler> weak_factory_;
539 543
540 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler); 544 DISALLOW_COPY_AND_ASSIGN(SigninScreenHandler);
541 }; 545 };
542 546
543 } // namespace chromeos 547 } // namespace chromeos
544 548
545 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_ 549 #endif // CHROME_BROWSER_UI_WEBUI_CHROMEOS_LOGIN_SIGNIN_SCREEN_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/chromeos/login/oobe_ui.cc ('k') | chrome/browser/ui/webui/chromeos/login/signin_screen_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698