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

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

Issue 1037723002: MinuteMaid renaming. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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/screen_gaia_signin.css ('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 (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 Oobe signin screen implementation. 6 * @fileoverview Oobe signin screen implementation.
7 */ 7 */
8 8
9 login.createScreen('GaiaSigninScreen', 'gaia-signin', function() { 9 login.createScreen('GaiaSigninScreen', 'gaia-signin', function() {
10 // Gaia loading time after which error message must be displayed and 10 // Gaia loading time after which error message must be displayed and
(...skipping 300 matching lines...) Expand 10 before | Expand all | Expand 10 after
311 for (var i in cr.login.GaiaAuthHost.SUPPORTED_PARAMS) { 311 for (var i in cr.login.GaiaAuthHost.SUPPORTED_PARAMS) {
312 var name = cr.login.GaiaAuthHost.SUPPORTED_PARAMS[i]; 312 var name = cr.login.GaiaAuthHost.SUPPORTED_PARAMS[i];
313 if (data[name]) 313 if (data[name])
314 params[name] = data[name]; 314 params[name] = data[name];
315 } 315 }
316 316
317 if (data.localizedStrings) 317 if (data.localizedStrings)
318 params.localizedStrings = data.localizedStrings; 318 params.localizedStrings = data.localizedStrings;
319 319
320 if (this.isNewGaiaFlow) { 320 if (this.isNewGaiaFlow) {
321 $('inner-container').classList.add('minute-maid'); 321 $('inner-container').classList.add('new-gaia-flow');
322 $('progress-dots').hidden = true; 322 $('progress-dots').hidden = true;
323 if (data.enterpriseDomain) 323 if (data.enterpriseDomain)
324 params.enterpriseDomain = data.enterpriseDomain; 324 params.enterpriseDomain = data.enterpriseDomain;
325 params.chromeType = data.chromeType; 325 params.chromeType = data.chromeType;
326 params.isNewGaiaFlowChromeOS = true; 326 params.isNewGaiaFlowChromeOS = true;
327 $('login-header-bar').showGuestButton = true; 327 $('login-header-bar').showGuestButton = true;
328 } 328 }
329 329
330 if (data.gaiaEndpoint) 330 if (data.gaiaEndpoint)
331 params.gaiaPath = data.gaiaEndpoint; 331 params.gaiaPath = data.gaiaEndpoint;
(...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after
743 * For more info see C++ class 'WebUILoginView' which calls this method. 743 * For more info see C++ class 'WebUILoginView' which calls this method.
744 * @param {number} error Error code. 744 * @param {number} error Error code.
745 * @param {string} url The URL that failed to load. 745 * @param {string} url The URL that failed to load.
746 */ 746 */
747 onFrameError: function(error, url) { 747 onFrameError: function(error, url) {
748 this.error_ = error; 748 this.error_ = error;
749 chrome.send('frameLoadingCompleted', [this.error_]); 749 chrome.send('frameLoadingCompleted', [this.error_]);
750 }, 750 },
751 }; 751 };
752 }); 752 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/screen_gaia_signin.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698