OLD | NEW |
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 Loading... |
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 }); |
OLD | NEW |