Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1138)

Side by Side Diff: ui/login/display_manager.js

Issue 426153003: Consumer management enrollment signin screen change: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added owner email check. Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698