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

Side by Side Diff: chrome/browser/chromeos/login/screens/screen_observer.h

Issue 676773002: Add device disabling to OOBE flow (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update browser tests. Created 6 years, 2 months 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_SCREEN_OBSERVER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 namespace chromeos { 10 namespace chromeos {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 ENTERPRISE_ENROLLMENT_BACK = 13, 42 ENTERPRISE_ENROLLMENT_BACK = 13,
43 RESET_CANCELED = 14, 43 RESET_CANCELED = 14,
44 KIOSK_AUTOLAUNCH_CANCELED = 15, 44 KIOSK_AUTOLAUNCH_CANCELED = 15,
45 KIOSK_AUTOLAUNCH_CONFIRMED = 16, 45 KIOSK_AUTOLAUNCH_CONFIRMED = 16,
46 KIOSK_ENABLE_COMPLETED = 17, 46 KIOSK_ENABLE_COMPLETED = 17,
47 TERMS_OF_SERVICE_DECLINED = 18, 47 TERMS_OF_SERVICE_DECLINED = 18,
48 TERMS_OF_SERVICE_ACCEPTED = 19, 48 TERMS_OF_SERVICE_ACCEPTED = 19,
49 WRONG_HWID_WARNING_SKIPPED = 20, 49 WRONG_HWID_WARNING_SKIPPED = 20,
50 CONTROLLER_PAIRING_FINISHED = 21, 50 CONTROLLER_PAIRING_FINISHED = 21,
51 HOST_PAIRING_FINISHED = 22, 51 HOST_PAIRING_FINISHED = 22,
52 DEVICE_NOT_DISABLED = 23,
52 EXIT_CODES_COUNT // not a real code, must be the last 53 EXIT_CODES_COUNT // not a real code, must be the last
53 }; 54 };
54 55
55 // Method called by a screen when user's done with it. 56 // Method called by a screen when user's done with it.
56 virtual void OnExit(ExitCodes exit_code) = 0; 57 virtual void OnExit(ExitCodes exit_code) = 0;
57 58
58 // Forces current screen showing. 59 // Forces current screen showing.
59 virtual void ShowCurrentScreen() = 0; 60 virtual void ShowCurrentScreen() = 0;
60 61
61 // Notify about new user names and password. It is used to autologin 62 // Notify about new user names and password. It is used to autologin
(...skipping 17 matching lines...) Expand all
79 virtual void ShowErrorScreen() = 0; 80 virtual void ShowErrorScreen() = 0;
80 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0; 81 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0;
81 82
82 protected: 83 protected:
83 virtual ~ScreenObserver() {} 84 virtual ~ScreenObserver() {}
84 }; 85 };
85 86
86 } // namespace chromeos 87 } // namespace chromeos
87 88
88 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_ 89 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_SCREEN_OBSERVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698