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

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

Issue 2049103002: Fix SAML single-password scrapping authenticating with an empty password (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit Created 4 years, 6 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/gaia_auth_host/authenticator.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 1000 matching lines...) Expand 10 before | Expand all | Expand 10 after
1011 DisplayManager.setLabelText = function(labelId, labelText) { 1011 DisplayManager.setLabelText = function(labelId, labelText) {
1012 $(labelId).textContent = labelText; 1012 $(labelId).textContent = labelText;
1013 }; 1013 };
1014 1014
1015 /** 1015 /**
1016 * Sets the text content of the enterprise info message and asset ID. 1016 * Sets the text content of the enterprise info message and asset ID.
1017 * @param {string} messageText The message text. 1017 * @param {string} messageText The message text.
1018 * @param {string} assetId The device asset ID. 1018 * @param {string} assetId The device asset ID.
1019 */ 1019 */
1020 DisplayManager.setEnterpriseInfo = function(messageText, assetId) { 1020 DisplayManager.setEnterpriseInfo = function(messageText, assetId) {
1021 $('offline-gaia').enterpriseInfo = messageText;
1022 $('asset-id').textContent = ((assetId == "") ? "" : 1021 $('asset-id').textContent = ((assetId == "") ? "" :
1023 loadTimeData.getStringF('assetIdLabel', assetId)); 1022 loadTimeData.getStringF('assetIdLabel', assetId));
1024 }; 1023 };
1025 1024
1026 /** 1025 /**
1027 * Disable Add users button if said. 1026 * Disable Add users button if said.
1028 * @param {boolean} disable true to disable 1027 * @param {boolean} disable true to disable
1029 */ 1028 */
1030 DisplayManager.updateAddUserButtonStatus = function(disable) { 1029 DisplayManager.updateAddUserButtonStatus = function(disable) {
1031 $('add-user-button').disabled = disable; 1030 $('add-user-button').disabled = disable;
(...skipping 15 matching lines...) Expand all
1047 */ 1046 */
1048 DisplayManager.refocusCurrentPod = function() { 1047 DisplayManager.refocusCurrentPod = function() {
1049 $('pod-row').refocusCurrentPod(); 1048 $('pod-row').refocusCurrentPod();
1050 }; 1049 };
1051 1050
1052 // Export 1051 // Export
1053 return { 1052 return {
1054 DisplayManager: DisplayManager 1053 DisplayManager: DisplayManager
1055 }; 1054 };
1056 }); 1055 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/gaia_auth_host/authenticator.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698