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

Side by Side Diff: chrome/browser/chromeos/login/screens/base_screen_delegate.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_SCREENS_BASE_SCREEN_DELEGATE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace login { 10 namespace login {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 ENTERPRISE_ENROLLMENT_BACK = 13, 46 ENTERPRISE_ENROLLMENT_BACK = 13,
47 RESET_CANCELED = 14, 47 RESET_CANCELED = 14,
48 KIOSK_AUTOLAUNCH_CANCELED = 15, 48 KIOSK_AUTOLAUNCH_CANCELED = 15,
49 KIOSK_AUTOLAUNCH_CONFIRMED = 16, 49 KIOSK_AUTOLAUNCH_CONFIRMED = 16,
50 KIOSK_ENABLE_COMPLETED = 17, 50 KIOSK_ENABLE_COMPLETED = 17,
51 TERMS_OF_SERVICE_DECLINED = 18, 51 TERMS_OF_SERVICE_DECLINED = 18,
52 TERMS_OF_SERVICE_ACCEPTED = 19, 52 TERMS_OF_SERVICE_ACCEPTED = 19,
53 WRONG_HWID_WARNING_SKIPPED = 20, 53 WRONG_HWID_WARNING_SKIPPED = 20,
54 CONTROLLER_PAIRING_FINISHED = 21, 54 CONTROLLER_PAIRING_FINISHED = 21,
55 HOST_PAIRING_FINISHED = 22, 55 HOST_PAIRING_FINISHED = 22,
56 ENABLE_DEBUGGING_FINISHED = 23,
57 ENABLE_DEBUGGING_CANCELED = 24,
56 EXIT_CODES_COUNT // not a real code, must be the last 58 EXIT_CODES_COUNT // not a real code, must be the last
57 }; 59 };
58 60
59 // Method called by a screen when user's done with it. 61 // Method called by a screen when user's done with it.
60 virtual void OnExit(BaseScreen& screen, 62 virtual void OnExit(BaseScreen& screen,
61 ExitCodes exit_code, 63 ExitCodes exit_code,
62 const ::login::ScreenContext* context) = 0; 64 const ::login::ScreenContext* context) = 0;
63 65
64 // Forces current screen showing. 66 // Forces current screen showing.
65 virtual void ShowCurrentScreen() = 0; 67 virtual void ShowCurrentScreen() = 0;
66 68
67 virtual ErrorScreen* GetErrorScreen() = 0; 69 virtual ErrorScreen* GetErrorScreen() = 0;
68 virtual void ShowErrorScreen() = 0; 70 virtual void ShowErrorScreen() = 0;
69 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0; 71 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0;
70 72
71 protected: 73 protected:
72 virtual ~BaseScreenDelegate() {} 74 virtual ~BaseScreenDelegate() {}
73 }; 75 };
74 76
75 } // namespace chromeos 77 } // namespace chromeos
76 78
77 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_ 79 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/lock/webui_screen_locker.cc ('k') | chrome/browser/chromeos/login/screens/core_oobe_actor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698