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