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 28 matching lines...) Expand all Loading... |
39 SCREEN_ARC_KIOSK_SPLASH, | 39 SCREEN_ARC_KIOSK_SPLASH, |
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 | 50 |
50 // Special "first screen" that initiates login flow. | 51 // Special "first screen" that initiates login flow. |
51 SCREEN_SPECIAL_LOGIN, | 52 SCREEN_SPECIAL_LOGIN, |
52 // Special "first screen" that initiates full OOBE flow. | 53 // Special "first screen" that initiates full OOBE flow. |
53 SCREEN_SPECIAL_OOBE, | 54 SCREEN_SPECIAL_OOBE, |
54 // Special test value that commands not to create any window yet. | 55 // Special test value that commands not to create any window yet. |
55 SCREEN_TEST_NO_WINDOW, | 56 SCREEN_TEST_NO_WINDOW, |
56 | 57 |
57 SCREEN_UNKNOWN // This must always be the last element. | 58 SCREEN_UNKNOWN // This must always be the last element. |
58 }; | 59 }; |
59 | 60 |
60 // Returns the JS name for the given screen. | 61 // Returns the JS name for the given screen. |
61 std::string GetOobeScreenName(OobeScreen screen); | 62 std::string GetOobeScreenName(OobeScreen screen); |
62 | 63 |
63 // Converts the JS name for the given sreen into a Screen instance. | 64 // Converts the JS name for the given sreen into a Screen instance. |
64 OobeScreen GetOobeScreenFromName(const std::string& name); | 65 OobeScreen GetOobeScreenFromName(const std::string& name); |
65 | 66 |
66 } // namespace chromeos | 67 } // namespace chromeos |
67 | 68 |
68 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 69 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
OLD | NEW |