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