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

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

Issue 1351363002: Fix the typo "visibility". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 Common OOBE controller methods. 6 * @fileoverview Common OOBE controller methods.
7 */ 7 */
8 8
9 <include src="test_util.js"> 9 <include src="test_util.js">
10 <include src="../../../../../ui/login/screen.js"> 10 <include src="../../../../../ui/login/screen.js">
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 /** 73 /**
74 * Shows the given screen. 74 * Shows the given screen.
75 * @param {Object} screen Screen params dict, e.g. {id: screenId, data: data} 75 * @param {Object} screen Screen params dict, e.g. {id: screenId, data: data}
76 */ 76 */
77 Oobe.showScreen = function(screen) { 77 Oobe.showScreen = function(screen) {
78 Oobe.getInstance().showScreen(screen); 78 Oobe.getInstance().showScreen(screen);
79 }; 79 };
80 80
81 /** 81 /**
82 * Updates version label visibilty. 82 * Updates version label visibility.
83 * @param {boolean} show True if version label should be visible. 83 * @param {boolean} show True if version label should be visible.
84 */ 84 */
85 Oobe.showVersion = function(show) { 85 Oobe.showVersion = function(show) {
86 Oobe.getInstance().showVersion(show); 86 Oobe.getInstance().showVersion(show);
87 }; 87 };
88 88
89 /** 89 /**
90 * Update body class to switch between OOBE UI and Login UI. 90 * Update body class to switch between OOBE UI and Login UI.
91 */ 91 */
92 Oobe.showOobeUI = function(showOobe) { 92 Oobe.showOobeUI = function(showOobe) {
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after
415 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() { 415 cr.ui.login.ResourceLoader.loadAssets(SCREEN_OOBE_ENROLLMENT, function() {
416 // This screen is async-loaded so we manually trigger i18n processing. 416 // This screen is async-loaded so we manually trigger i18n processing.
417 i18nTemplate.process($('oauth-enrollment'), loadTimeData); 417 i18nTemplate.process($('oauth-enrollment'), loadTimeData);
418 // Delayed binding since this isn't defined yet. 418 // Delayed binding since this isn't defined yet.
419 login.OAuthEnrollmentScreen.register(); 419 login.OAuthEnrollmentScreen.register();
420 }); 420 });
421 421
422 cr.ui.Oobe.initialize(); 422 cr.ui.Oobe.initialize();
423 }); 423 });
424 })(); 424 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698