OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_OOBE_DISPLAY_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 class ViewScreenDelegate; | 28 class ViewScreenDelegate; |
29 class WizardScreen; | 29 class WizardScreen; |
30 class WrongHWIDScreenActor; | 30 class WrongHWIDScreenActor; |
31 class LocallyManagedUserCreationScreenHandler; | 31 class LocallyManagedUserCreationScreenHandler; |
32 | 32 |
33 // Interface which is used by WizardController to do actual OOBE screens | 33 // Interface which is used by WizardController to do actual OOBE screens |
34 // showing. Also it provides actors for the OOBE screens. | 34 // showing. Also it provides actors for the OOBE screens. |
35 class OobeDisplay { | 35 class OobeDisplay { |
36 public: | 36 public: |
37 enum Screen { | 37 enum Screen { |
38 SCREEN_OOBE_NETWORK = 0, | 38 SCREEN_OOBE_HID_DETECTION = 0, |
| 39 SCREEN_OOBE_NETWORK, |
39 SCREEN_OOBE_EULA, | 40 SCREEN_OOBE_EULA, |
40 SCREEN_OOBE_UPDATE, | 41 SCREEN_OOBE_UPDATE, |
41 SCREEN_OOBE_ENROLLMENT, | 42 SCREEN_OOBE_ENROLLMENT, |
42 SCREEN_OOBE_RESET, | 43 SCREEN_OOBE_RESET, |
43 SCREEN_OOBE_HID_DETECTION, | |
44 SCREEN_GAIA_SIGNIN, | 44 SCREEN_GAIA_SIGNIN, |
45 SCREEN_ACCOUNT_PICKER, | 45 SCREEN_ACCOUNT_PICKER, |
46 SCREEN_KIOSK_AUTOLAUNCH, | 46 SCREEN_KIOSK_AUTOLAUNCH, |
47 SCREEN_KIOSK_ENABLE, | 47 SCREEN_KIOSK_ENABLE, |
48 SCREEN_ERROR_MESSAGE, | 48 SCREEN_ERROR_MESSAGE, |
49 SCREEN_USER_IMAGE_PICKER, | 49 SCREEN_USER_IMAGE_PICKER, |
50 SCREEN_TPM_ERROR, | 50 SCREEN_TPM_ERROR, |
51 SCREEN_PASSWORD_CHANGED, | 51 SCREEN_PASSWORD_CHANGED, |
52 SCREEN_CREATE_MANAGED_USER_DIALOG, | 52 SCREEN_CREATE_MANAGED_USER_DIALOG, |
53 SCREEN_CREATE_MANAGED_USER_FLOW, | 53 SCREEN_CREATE_MANAGED_USER_FLOW, |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 | 87 |
88 // Returns if JS side is fully loaded and ready to accept messages. | 88 // Returns if JS side is fully loaded and ready to accept messages. |
89 // If |false| is returned, then |display_is_ready_callback| is stored | 89 // If |false| is returned, then |display_is_ready_callback| is stored |
90 // and will be called once display is ready. | 90 // and will be called once display is ready. |
91 virtual bool IsJSReady(const base::Closure& display_is_ready_callback) = 0; | 91 virtual bool IsJSReady(const base::Closure& display_is_ready_callback) = 0; |
92 }; | 92 }; |
93 | 93 |
94 } // namespace chromeos | 94 } // namespace chromeos |
95 | 95 |
96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ | 96 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ |
OLD | NEW |