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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 SCREEN_ERROR_MESSAGE, | 45 SCREEN_ERROR_MESSAGE, |
46 SCREEN_USER_IMAGE_PICKER, | 46 SCREEN_USER_IMAGE_PICKER, |
47 SCREEN_TPM_ERROR, | 47 SCREEN_TPM_ERROR, |
48 SCREEN_PASSWORD_CHANGED, | 48 SCREEN_PASSWORD_CHANGED, |
49 SCREEN_CREATE_MANAGED_USER_DIALOG, | 49 SCREEN_CREATE_MANAGED_USER_DIALOG, |
50 SCREEN_CREATE_MANAGED_USER_FLOW, | 50 SCREEN_CREATE_MANAGED_USER_FLOW, |
51 SCREEN_TERMS_OF_SERVICE, | 51 SCREEN_TERMS_OF_SERVICE, |
52 SCREEN_WRONG_HWID, | 52 SCREEN_WRONG_HWID, |
53 SCREEN_APP_LAUNCH_SPLASH, | 53 SCREEN_APP_LAUNCH_SPLASH, |
54 SCREEN_CONFIRM_PASSWORD, | 54 SCREEN_CONFIRM_PASSWORD, |
55 SCREEN_MESSAGE_BOX, | 55 SCREEN_FATAL_ERROR, |
56 SCREEN_UNKNOWN | 56 SCREEN_UNKNOWN |
57 }; | 57 }; |
58 | 58 |
59 virtual ~OobeDisplay() {} | 59 virtual ~OobeDisplay() {} |
60 | 60 |
61 // Shows the given screen. | 61 // Shows the given screen. |
62 virtual void ShowScreen(WizardScreen* screen) = 0; | 62 virtual void ShowScreen(WizardScreen* screen) = 0; |
63 | 63 |
64 // Hides the given screen. | 64 // Hides the given screen. |
65 virtual void HideScreen(WizardScreen* screen) = 0; | 65 virtual void HideScreen(WizardScreen* screen) = 0; |
(...skipping 17 matching lines...) Expand all Loading... |
83 | 83 |
84 // Returns if JS side is fully loaded and ready to accept messages. | 84 // Returns if JS side is fully loaded and ready to accept messages. |
85 // If |false| is returned, then |display_is_ready_callback| is stored | 85 // If |false| is returned, then |display_is_ready_callback| is stored |
86 // and will be called once display is ready. | 86 // and will be called once display is ready. |
87 virtual bool IsJSReady(const base::Closure& display_is_ready_callback) = 0; | 87 virtual bool IsJSReady(const base::Closure& display_is_ready_callback) = 0; |
88 }; | 88 }; |
89 | 89 |
90 } // namespace chromeos | 90 } // namespace chromeos |
91 | 91 |
92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ | 92 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_DISPLAY_H_ |
OLD | NEW |