OLD | NEW |
1 // Copyright (c) 2016 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2016 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 | 10 |
11 /** | 11 /** |
12 * Asynchronously loads the pin keyboard. | 12 * Asynchronously loads the pin keyboard. |
13 */ | 13 */ |
14 function showPinKeyboardAsync() { | 14 function showPinKeyboardAsync() { |
15 'use strict'; | 15 'use strict'; |
16 | 16 |
17 // This function could get called multiple times. Do nothing if we have | 17 // This function could get called multiple times. Do nothing if we have |
18 // already loaded. This check needs to happen before the registerAssets call, | 18 // already loaded. This check needs to happen before the registerAssets call, |
19 // because that will clobber the loaded state. | 19 // because that will clobber the loaded state. |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 * Reloads content of the page. | 114 * Reloads content of the page. |
115 * @param {!Object} data New dictionary with i18n values. | 115 * @param {!Object} data New dictionary with i18n values. |
116 */ | 116 */ |
117 reloadContent: function(data) { | 117 reloadContent: function(data) { |
118 loadTimeData.overrideValues(data); | 118 loadTimeData.overrideValues(data); |
119 i18nTemplate.process(document, loadTimeData); | 119 i18nTemplate.process(document, loadTimeData); |
120 Oobe.getInstance().updateLocalizedContent_(); | 120 Oobe.getInstance().updateLocalizedContent_(); |
121 }, | 121 }, |
122 }; | 122 }; |
123 }); | 123 }); |
OLD | NEW |