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

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

Issue 2855883005: cros: Selectively fork login assets. (Closed)
Patch Set: Created 3 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 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 var isMd = true;
10
11 // <include src="md_login_shared.js">
10 // <include src="login_non_lock_shared.js"> 12 // <include src="login_non_lock_shared.js">
11 // <include src="notification_card.js"> 13 // <include src="notification_card.js">
12 14
13 cr.define('cr.ui.Oobe', function() { 15 cr.define('cr.ui.Oobe', function() {
14 return { 16 return {
15 /** 17 /**
16 * Initializes the OOBE flow. This will cause all C++ handlers to 18 * Initializes the OOBE flow. This will cause all C++ handlers to
17 * be invoked to do final setup. 19 * be invoked to do final setup.
18 */ 20 */
19 initialize: function() { 21 initialize: function() {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 * Reloads content of the page. 63 * Reloads content of the page.
62 * @param {!Object} data New dictionary with i18n values. 64 * @param {!Object} data New dictionary with i18n values.
63 */ 65 */
64 reloadContent: function(data) { 66 reloadContent: function(data) {
65 loadTimeData.overrideValues(data); 67 loadTimeData.overrideValues(data);
66 i18nTemplate.process(document, loadTimeData); 68 i18nTemplate.process(document, loadTimeData);
67 Oobe.getInstance().updateLocalizedContent_(); 69 Oobe.getInstance().updateLocalizedContent_();
68 }, 70 },
69 }; 71 };
70 }); 72 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/login/md_login.html ('k') | chrome/browser/resources/chromeos/login/md_login_screens.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698