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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 /* Signin UI state constants. Used to control header bar UI. */ | 56 /* Signin UI state constants. Used to control header bar UI. */ |
57 /** @const */ var SIGNIN_UI_STATE = { | 57 /** @const */ var SIGNIN_UI_STATE = { |
58 HIDDEN: 0, | 58 HIDDEN: 0, |
59 GAIA_SIGNIN: 1, | 59 GAIA_SIGNIN: 1, |
60 ACCOUNT_PICKER: 2, | 60 ACCOUNT_PICKER: 2, |
61 WRONG_HWID_WARNING: 3, | 61 WRONG_HWID_WARNING: 3, |
62 SUPERVISED_USER_CREATION_FLOW: 4, | 62 SUPERVISED_USER_CREATION_FLOW: 4, |
63 SAML_PASSWORD_CONFIRM: 5, | 63 SAML_PASSWORD_CONFIRM: 5, |
64 CONSUMER_MANAGEMENT_ENROLLMENT: 6, | 64 CONSUMER_MANAGEMENT_ENROLLMENT: 6, |
65 PASSWORD_CHANGED: 7, | 65 PASSWORD_CHANGED: 7, |
| 66 ENROLLMENT: 8 |
66 }; | 67 }; |
67 | 68 |
68 /* Possible UI states of the error screen. */ | 69 /* Possible UI states of the error screen. */ |
69 /** @const */ var ERROR_SCREEN_UI_STATE = { | 70 /** @const */ var ERROR_SCREEN_UI_STATE = { |
70 UNKNOWN: 'ui-state-unknown', | 71 UNKNOWN: 'ui-state-unknown', |
71 UPDATE: 'ui-state-update', | 72 UPDATE: 'ui-state-update', |
72 SIGNIN: 'ui-state-signin', | 73 SIGNIN: 'ui-state-signin', |
73 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', | 74 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', |
74 KIOSK_MODE: 'ui-state-kiosk-mode', | 75 KIOSK_MODE: 'ui-state-kiosk-mode', |
75 LOCAL_STATE_ERROR: 'ui-state-local-state-error', | 76 LOCAL_STATE_ERROR: 'ui-state-local-state-error', |
(...skipping 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1087 */ | 1088 */ |
1088 DisplayManager.refocusCurrentPod = function() { | 1089 DisplayManager.refocusCurrentPod = function() { |
1089 $('pod-row').refocusCurrentPod(); | 1090 $('pod-row').refocusCurrentPod(); |
1090 }; | 1091 }; |
1091 | 1092 |
1092 // Export | 1093 // Export |
1093 return { | 1094 return { |
1094 DisplayManager: DisplayManager | 1095 DisplayManager: DisplayManager |
1095 }; | 1096 }; |
1096 }); | 1097 }); |
OLD | NEW |