OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 /** | 5 /** |
6 * @fileoverview Display manager for WebUI OOBE and login. | 6 * @fileoverview Display manager for WebUI OOBE and login. |
7 */ | 7 */ |
8 | 8 |
9 // TODO(xiyuan): Find a better to share those constants. | 9 // TODO(xiyuan): Find a better to share those constants. |
10 /** @const */ var SCREEN_OOBE_NETWORK = 'connect'; | 10 /** @const */ var SCREEN_OOBE_NETWORK = 'connect'; |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 /* Signin UI state constants. Used to control header bar UI. */ | 57 /* Signin UI state constants. Used to control header bar UI. */ |
58 /** @const */ var SIGNIN_UI_STATE = { | 58 /** @const */ var SIGNIN_UI_STATE = { |
59 HIDDEN: 0, | 59 HIDDEN: 0, |
60 GAIA_SIGNIN: 1, | 60 GAIA_SIGNIN: 1, |
61 ACCOUNT_PICKER: 2, | 61 ACCOUNT_PICKER: 2, |
62 WRONG_HWID_WARNING: 3, | 62 WRONG_HWID_WARNING: 3, |
63 SUPERVISED_USER_CREATION_FLOW: 4, | 63 SUPERVISED_USER_CREATION_FLOW: 4, |
64 SAML_PASSWORD_CONFIRM: 5, | 64 SAML_PASSWORD_CONFIRM: 5, |
65 CONSUMER_MANAGEMENT_ENROLLMENT: 6, | 65 CONSUMER_MANAGEMENT_ENROLLMENT: 6, |
66 PASSWORD_CHANGED: 7, | 66 PASSWORD_CHANGED: 7, |
| 67 ENROLLMENT: 8 |
67 }; | 68 }; |
68 | 69 |
69 /* Possible UI states of the error screen. */ | 70 /* Possible UI states of the error screen. */ |
70 /** @const */ var ERROR_SCREEN_UI_STATE = { | 71 /** @const */ var ERROR_SCREEN_UI_STATE = { |
71 UNKNOWN: 'ui-state-unknown', | 72 UNKNOWN: 'ui-state-unknown', |
72 UPDATE: 'ui-state-update', | 73 UPDATE: 'ui-state-update', |
73 SIGNIN: 'ui-state-signin', | 74 SIGNIN: 'ui-state-signin', |
74 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', | 75 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', |
75 KIOSK_MODE: 'ui-state-kiosk-mode', | 76 KIOSK_MODE: 'ui-state-kiosk-mode', |
76 LOCAL_STATE_ERROR: 'ui-state-local-state-error', | 77 LOCAL_STATE_ERROR: 'ui-state-local-state-error', |
(...skipping 1013 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1090 */ | 1091 */ |
1091 DisplayManager.refocusCurrentPod = function() { | 1092 DisplayManager.refocusCurrentPod = function() { |
1092 $('pod-row').refocusCurrentPod(); | 1093 $('pod-row').refocusCurrentPod(); |
1093 }; | 1094 }; |
1094 | 1095 |
1095 // Export | 1096 // Export |
1096 return { | 1097 return { |
1097 DisplayManager: DisplayManager | 1098 DisplayManager: DisplayManager |
1098 }; | 1099 }; |
1099 }); | 1100 }); |
OLD | NEW |