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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 'app_launch_network_config'; | 48 'app_launch_network_config'; |
49 | 49 |
50 /* Signin UI state constants. Used to control header bar UI. */ | 50 /* Signin UI state constants. Used to control header bar UI. */ |
51 /** @const */ var SIGNIN_UI_STATE = { | 51 /** @const */ var SIGNIN_UI_STATE = { |
52 HIDDEN: 0, | 52 HIDDEN: 0, |
53 GAIA_SIGNIN: 1, | 53 GAIA_SIGNIN: 1, |
54 ACCOUNT_PICKER: 2, | 54 ACCOUNT_PICKER: 2, |
55 WRONG_HWID_WARNING: 3, | 55 WRONG_HWID_WARNING: 3, |
56 SUPERVISED_USER_CREATION_FLOW: 4, | 56 SUPERVISED_USER_CREATION_FLOW: 4, |
57 SAML_PASSWORD_CONFIRM: 5, | 57 SAML_PASSWORD_CONFIRM: 5, |
| 58 CONSUMER_MANAGEMENT_ENROLLMENT: 6, |
58 }; | 59 }; |
59 | 60 |
60 /* Possible UI states of the error screen. */ | 61 /* Possible UI states of the error screen. */ |
61 /** @const */ var ERROR_SCREEN_UI_STATE = { | 62 /** @const */ var ERROR_SCREEN_UI_STATE = { |
62 UNKNOWN: 'ui-state-unknown', | 63 UNKNOWN: 'ui-state-unknown', |
63 UPDATE: 'ui-state-update', | 64 UPDATE: 'ui-state-update', |
64 SIGNIN: 'ui-state-signin', | 65 SIGNIN: 'ui-state-signin', |
65 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', | 66 SUPERVISED_USER_CREATION_FLOW: 'ui-state-supervised', |
66 KIOSK_MODE: 'ui-state-kiosk-mode', | 67 KIOSK_MODE: 'ui-state-kiosk-mode', |
67 LOCAL_STATE_ERROR: 'ui-state-local-state-error', | 68 LOCAL_STATE_ERROR: 'ui-state-local-state-error', |
(...skipping 963 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1031 */ | 1032 */ |
1032 DisplayManager.refocusCurrentPod = function() { | 1033 DisplayManager.refocusCurrentPod = function() { |
1033 $('pod-row').refocusCurrentPod(); | 1034 $('pod-row').refocusCurrentPod(); |
1034 }; | 1035 }; |
1035 | 1036 |
1036 // Export | 1037 // Export |
1037 return { | 1038 return { |
1038 DisplayManager: DisplayManager | 1039 DisplayManager: DisplayManager |
1039 }; | 1040 }; |
1040 }); | 1041 }); |
OLD | NEW |