OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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_SCREEN_H_ | 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 namespace chromeos { | 10 namespace chromeos { |
(...skipping 29 matching lines...) Expand all Loading... |
40 SCREEN_CONFIRM_PASSWORD, | 40 SCREEN_CONFIRM_PASSWORD, |
41 SCREEN_FATAL_ERROR, | 41 SCREEN_FATAL_ERROR, |
42 SCREEN_OOBE_CONTROLLER_PAIRING, | 42 SCREEN_OOBE_CONTROLLER_PAIRING, |
43 SCREEN_OOBE_HOST_PAIRING, | 43 SCREEN_OOBE_HOST_PAIRING, |
44 SCREEN_DEVICE_DISABLED, | 44 SCREEN_DEVICE_DISABLED, |
45 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, | 45 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, |
46 SCREEN_USER_SELECTION, | 46 SCREEN_USER_SELECTION, |
47 SCREEN_ACTIVE_DIRECTORY_PASSWORD_CHANGE, | 47 SCREEN_ACTIVE_DIRECTORY_PASSWORD_CHANGE, |
48 SCREEN_ENCRYPTION_MIGRATION, | 48 SCREEN_ENCRYPTION_MIGRATION, |
49 SCREEN_VOICE_INTERACTION_VALUE_PROP, | 49 SCREEN_VOICE_INTERACTION_VALUE_PROP, |
| 50 SCREEN_WAIT_FOR_CONTAINER_READY, |
50 | 51 |
51 // Special "first screen" that initiates login flow. | 52 // Special "first screen" that initiates login flow. |
52 SCREEN_SPECIAL_LOGIN, | 53 SCREEN_SPECIAL_LOGIN, |
53 // Special "first screen" that initiates full OOBE flow. | 54 // Special "first screen" that initiates full OOBE flow. |
54 SCREEN_SPECIAL_OOBE, | 55 SCREEN_SPECIAL_OOBE, |
55 // Special test value that commands not to create any window yet. | 56 // Special test value that commands not to create any window yet. |
56 SCREEN_TEST_NO_WINDOW, | 57 SCREEN_TEST_NO_WINDOW, |
57 | 58 |
58 SCREEN_UNKNOWN // This must always be the last element. | 59 SCREEN_UNKNOWN // This must always be the last element. |
59 }; | 60 }; |
60 | 61 |
61 // Returns the JS name for the given screen. | 62 // Returns the JS name for the given screen. |
62 std::string GetOobeScreenName(OobeScreen screen); | 63 std::string GetOobeScreenName(OobeScreen screen); |
63 | 64 |
64 // Converts the JS name for the given sreen into a Screen instance. | 65 // Converts the JS name for the given sreen into a Screen instance. |
65 OobeScreen GetOobeScreenFromName(const std::string& name); | 66 OobeScreen GetOobeScreenFromName(const std::string& name); |
66 | 67 |
67 } // namespace chromeos | 68 } // namespace chromeos |
68 | 69 |
69 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 70 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
OLD | NEW |