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

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

Issue 2617823002: GRIT: put <if> and <include> behind comments in .js files to make syntactically valid JS (Closed)
Patch Set: add dep Created 3 years, 11 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 Login UI based on a stripped down OOBE controller. 6 * @fileoverview Login UI based on a stripped down OOBE controller.
7 */ 7 */
8 8
9 <include src="login_shared.js"> 9 // <include src="login_shared.js">
10 <include src="login_non_lock_shared.js"> 10 // <include src="login_non_lock_shared.js">
11 <include src="notification_card.js"> 11 // <include src="notification_card.js">
12 12
13 cr.define('cr.ui.Oobe', function() { 13 cr.define('cr.ui.Oobe', function() {
14 return { 14 return {
15 /** 15 /**
16 * Initializes the OOBE flow. This will cause all C++ handlers to 16 * Initializes the OOBE flow. This will cause all C++ handlers to
17 * be invoked to do final setup. 17 * be invoked to do final setup.
18 */ 18 */
19 initialize: function() { 19 initialize: function() {
20 cr.ui.login.DisplayManager.initialize(); 20 cr.ui.login.DisplayManager.initialize();
21 login.WrongHWIDScreen.register(); 21 login.WrongHWIDScreen.register();
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 * Reloads content of the page. 58 * Reloads content of the page.
59 * @param {!Object} data New dictionary with i18n values. 59 * @param {!Object} data New dictionary with i18n values.
60 */ 60 */
61 reloadContent: function(data) { 61 reloadContent: function(data) {
62 loadTimeData.overrideValues(data); 62 loadTimeData.overrideValues(data);
63 i18nTemplate.process(document, loadTimeData); 63 i18nTemplate.process(document, loadTimeData);
64 Oobe.getInstance().updateLocalizedContent_(); 64 Oobe.getInstance().updateLocalizedContent_();
65 }, 65 },
66 }; 66 };
67 }); 67 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/lock.js ('k') | chrome/browser/resources/chromeos/login/login_non_lock_shared.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698