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

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

Issue 1217753004: Hide "Add user" button when enrollment screen is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2403
Patch Set: Created 5 years, 5 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
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment_webview.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment_webview.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698