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

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

Issue 1207893004: Hide "Add user" button when enrollment screen is active. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 });
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