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

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

Issue 692383005: Add DeviceDisablingManager to manage device disabling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@f_3_425574_disable_header_bar
Patch Set: Add destructor required by clang. 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 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,
53 EXIT_CODES_COUNT // not a real code, must be the last 52 EXIT_CODES_COUNT // not a real code, must be the last
54 }; 53 };
55 54
56 // Method called by a screen when user's done with it. 55 // Method called by a screen when user's done with it.
57 virtual void OnExit(ExitCodes exit_code) = 0; 56 virtual void OnExit(ExitCodes exit_code) = 0;
58 57
59 // Forces current screen showing. 58 // Forces current screen showing.
60 virtual void ShowCurrentScreen() = 0; 59 virtual void ShowCurrentScreen() = 0;
61 60
62 virtual ErrorScreen* GetErrorScreen() = 0; 61 virtual ErrorScreen* GetErrorScreen() = 0;
63 virtual void ShowErrorScreen() = 0; 62 virtual void ShowErrorScreen() = 0;
64 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0; 63 virtual void HideErrorScreen(BaseScreen* parent_screen) = 0;
65 64
66 protected: 65 protected:
67 virtual ~BaseScreenDelegate() {} 66 virtual ~BaseScreenDelegate() {}
68 }; 67 };
69 68
70 } // namespace chromeos 69 } // namespace chromeos
71 70
72 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_ 71 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_SCREENS_BASE_SCREEN_DELEGATE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698