| 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_common.js"> | 9 <include src="login_common.js"> |
| 10 <include src="gaia_whiteist_error.js"> |
| 10 | 11 |
| 11 cr.define('cr.ui.Oobe', function() { | 12 cr.define('cr.ui.Oobe', function() { |
| 12 return { | 13 return { |
| 13 /** | 14 /** |
| 14 * Initializes the OOBE flow. This will cause all C++ handlers to | 15 * Initializes the OOBE flow. This will cause all C++ handlers to |
| 15 * be invoked to do final setup. | 16 * be invoked to do final setup. |
| 16 */ | 17 */ |
| 17 initialize: function() { | 18 initialize: function() { |
| 18 cr.ui.login.DisplayManager.initialize(); | 19 cr.ui.login.DisplayManager.initialize(); |
| 19 login.WrongHWIDScreen.register(); | 20 login.WrongHWIDScreen.register(); |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 * Reloads content of the page. | 55 * Reloads content of the page. |
| 55 * @param {!Object} data New dictionary with i18n values. | 56 * @param {!Object} data New dictionary with i18n values. |
| 56 */ | 57 */ |
| 57 reloadContent: function(data) { | 58 reloadContent: function(data) { |
| 58 loadTimeData.overrideValues(data); | 59 loadTimeData.overrideValues(data); |
| 59 i18nTemplate.process(document, loadTimeData); | 60 i18nTemplate.process(document, loadTimeData); |
| 60 Oobe.getInstance().updateLocalizedContent_(); | 61 Oobe.getInstance().updateLocalizedContent_(); |
| 61 }, | 62 }, |
| 62 }; | 63 }; |
| 63 }); | 64 }); |
| OLD | NEW |