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

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

Issue 8773046: [cros] Display emails of users are stored in a separate dictionary in Local State. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 9 years 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 Oobe signin screen implementation. 6 * @fileoverview Oobe signin screen implementation.
7 */ 7 */
8 8
9 cr.define('login', function() { 9 cr.define('login', function() {
10 10
(...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 // Button header is always visible when sign in is presented. 106 // Button header is always visible when sign in is presented.
107 // Header is hidden once GAIA reports on successful sign in. 107 // Header is hidden once GAIA reports on successful sign in.
108 Oobe.getInstance().headerHidden = false; 108 Oobe.getInstance().headerHidden = false;
109 }, 109 },
110 110
111 /** 111 /**
112 * Returns function which gets an event and passes it and self to listener. 112 * Returns function which gets an event and passes it and self to listener.
113 * @param {!Object} listener Listener to be wrapped. 113 * @param {!Object} listener Listener to be wrapped.
114 */ 114 */
115 selfBind_: function(listener) { 115 selfBind_: function(listener) {
116 var selfBinded = function(e) { 116 var selfBound = function(e) {
117 listener(e, selfBinded); 117 listener(e, selfBound);
118 } 118 };
119 return selfBinded; 119 return selfBound;
120 }, 120 },
121 121
122 /** 122 /**
123 * Tracks first focus in event. 123 * Tracks first focus in event.
124 * @param {!Object} e Focus in event. 124 * @param {!Object} e Focus in event.
125 * @param {!Object} listener Listener which shold be removed from event 125 * @param {!Object} listener Listener which shold be removed from event
126 * listeners list. 126 * listeners list.
127 */ 127 */
128 onFocusIn_: function(e, listener) { 128 onFocusIn_: function(e, listener) {
129 this.hasFocused_ = true; 129 this.hasFocused_ = true;
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
307 }; 307 };
308 308
309 GaiaSigninScreen.loadAuthExtension = function(data) { 309 GaiaSigninScreen.loadAuthExtension = function(data) {
310 $('gaia-signin').loadAuthExtension_(data); 310 $('gaia-signin').loadAuthExtension_(data);
311 }; 311 };
312 312
313 return { 313 return {
314 GaiaSigninScreen: GaiaSigninScreen 314 GaiaSigninScreen: GaiaSigninScreen
315 }; 315 };
316 }); 316 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698