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

Side by Side Diff: chrome/browser/resources/chromeos/login/display_manager.js

Issue 12321136: Password in user pods clears after minute of idle state. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 7 years, 10 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 669 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 * @param {boolean} disable true to disable 680 * @param {boolean} disable true to disable
681 */ 681 */
682 DisplayManager.updateAddUserButtonStatus = function(disable) { 682 DisplayManager.updateAddUserButtonStatus = function(disable) {
683 $('add-user-button').disabled = disable; 683 $('add-user-button').disabled = disable;
684 $('add-user-button').classList[ 684 $('add-user-button').classList[
685 disable ? 'add' : 'remove']('button-restricted'); 685 disable ? 'add' : 'remove']('button-restricted');
686 $('add-user-button').title = disable ? 686 $('add-user-button').title = disable ?
687 localStrings.getString('disabledAddUserTooltip') : ''; 687 localStrings.getString('disabledAddUserTooltip') : '';
688 } 688 }
689 689
690 /**
691 * Clears password field in user-pod.
692 */
693 DisplayManager.clearUserPodPassword = function() {
694 $('pod-row').clearFocusedPod();
695 };
696
690 // Export 697 // Export
691 return { 698 return {
692 DisplayManager: DisplayManager 699 DisplayManager: DisplayManager
693 }; 700 };
694 }); 701 });
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/webui_login_display.cc ('k') | chrome/browser/resources/chromeos/login/login.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698