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

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

Issue 1144363003: Progress dots are now hidden on enrollment screen. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed dot for "device-disabled" screen. Created 5 years, 7 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
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 391 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 var name = cr.login.GaiaAuthHost.SUPPORTED_PARAMS[i]; 402 var name = cr.login.GaiaAuthHost.SUPPORTED_PARAMS[i];
403 if (data[name]) 403 if (data[name])
404 params[name] = data[name]; 404 params[name] = data[name];
405 } 405 }
406 406
407 if (data.localizedStrings) 407 if (data.localizedStrings)
408 params.localizedStrings = data.localizedStrings; 408 params.localizedStrings = data.localizedStrings;
409 409
410 if (this.isNewGaiaFlow) { 410 if (this.isNewGaiaFlow) {
411 $('inner-container').classList.add('new-gaia-flow'); 411 $('inner-container').classList.add('new-gaia-flow');
412 $('progress-dots').hidden = true;
413 params.chromeType = data.chromeType; 412 params.chromeType = data.chromeType;
414 params.isNewGaiaFlowChromeOS = true; 413 params.isNewGaiaFlowChromeOS = true;
415 } 414 }
416 415
417 if (data.gaiaEndpoint) 416 if (data.gaiaEndpoint)
418 params.gaiaPath = data.gaiaEndpoint; 417 params.gaiaPath = data.gaiaEndpoint;
419 418
420 $('login-header-bar').newGaiaFlow = this.isNewGaiaFlow; 419 $('login-header-bar').newGaiaFlow = this.isNewGaiaFlow;
421 420
422 // Screen size could have been changed because of 'new-gaia-flow' or 421 // Screen size could have been changed because of 'new-gaia-flow' or
(...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
937 } 936 }
938 937
939 this.classList.toggle('whitelist-error', show); 938 this.classList.toggle('whitelist-error', show);
940 this.loading = !show; 939 this.loading = !show;
941 940
942 if (!show) 941 if (!show)
943 Oobe.showSigninUI(); 942 Oobe.showSigninUI();
944 } 943 }
945 }; 944 };
946 }); 945 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/oobe_screen_oauth_enrollment_webview.js ('k') | ui/login/screen_container.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698