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 25 matching lines...) Expand all Loading... |
36 SCREEN_WRONG_HWID, | 36 SCREEN_WRONG_HWID, |
37 SCREEN_AUTO_ENROLLMENT_CHECK, | 37 SCREEN_AUTO_ENROLLMENT_CHECK, |
38 SCREEN_APP_LAUNCH_SPLASH, | 38 SCREEN_APP_LAUNCH_SPLASH, |
39 SCREEN_CONFIRM_PASSWORD, | 39 SCREEN_CONFIRM_PASSWORD, |
40 SCREEN_FATAL_ERROR, | 40 SCREEN_FATAL_ERROR, |
41 SCREEN_OOBE_CONTROLLER_PAIRING, | 41 SCREEN_OOBE_CONTROLLER_PAIRING, |
42 SCREEN_OOBE_HOST_PAIRING, | 42 SCREEN_OOBE_HOST_PAIRING, |
43 SCREEN_DEVICE_DISABLED, | 43 SCREEN_DEVICE_DISABLED, |
44 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, | 44 SCREEN_UNRECOVERABLE_CRYPTOHOME_ERROR, |
45 SCREEN_USER_SELECTION, | 45 SCREEN_USER_SELECTION, |
| 46 SCREEN_ACTIVE_DIRECTORY_PASSWORD_CHANGE, |
46 | 47 |
47 // Special "first screen" that initiates login flow. | 48 // Special "first screen" that initiates login flow. |
48 SCREEN_SPECIAL_LOGIN, | 49 SCREEN_SPECIAL_LOGIN, |
49 // Special "first screen" that initiates full OOBE flow. | 50 // Special "first screen" that initiates full OOBE flow. |
50 SCREEN_SPECIAL_OOBE, | 51 SCREEN_SPECIAL_OOBE, |
51 // Special test value that commands not to create any window yet. | 52 // Special test value that commands not to create any window yet. |
52 SCREEN_TEST_NO_WINDOW, | 53 SCREEN_TEST_NO_WINDOW, |
53 | 54 |
54 SCREEN_UNKNOWN // This must always be the last element. | 55 SCREEN_UNKNOWN // This must always be the last element. |
55 }; | 56 }; |
56 | 57 |
57 // Returns the JS name for the given screen. | 58 // Returns the JS name for the given screen. |
58 std::string GetOobeScreenName(OobeScreen screen); | 59 std::string GetOobeScreenName(OobeScreen screen); |
59 | 60 |
60 // Converts the JS name for the given sreen into a Screen instance. | 61 // Converts the JS name for the given sreen into a Screen instance. |
61 OobeScreen GetOobeScreenFromName(const std::string& name); | 62 OobeScreen GetOobeScreenFromName(const std::string& name); |
62 | 63 |
63 } // namespace chromeos | 64 } // namespace chromeos |
64 | 65 |
65 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ | 66 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_OOBE_SCREEN_H_ |
OLD | NEW |