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

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

Issue 7670014: [ChromeOS] Fix a problem that Gaia shows up on every bad auth. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | 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 (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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 if (msg.method == 'completeLogin' && this.isAuthExtMessage_(e)) { 90 if (msg.method == 'completeLogin' && this.isAuthExtMessage_(e)) {
91 chrome.send('completeLogin', [msg.email, msg.password] ); 91 chrome.send('completeLogin', [msg.email, msg.password] );
92 } 92 }
93 }, 93 },
94 94
95 /** 95 /**
96 * Clears input fields and switches to input mode. 96 * Clears input fields and switches to input mode.
97 * @param {boolean} takeFocus True to take focus. 97 * @param {boolean} takeFocus True to take focus.
98 */ 98 */
99 reset: function(takeFocus) { 99 reset: function(takeFocus) {
100 // Reload and show the sign-in UI. 100 // Reload and show the sign-in UI if needed.
101 Oobe.showSigninUI(); 101 if (takeFocus)
102 Oobe.showSigninUI();
102 } 103 }
103 }; 104 };
104 105
105 return { 106 return {
106 GaiaSigninScreen: GaiaSigninScreen 107 GaiaSigninScreen: GaiaSigninScreen
107 }; 108 };
108 }); 109 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698