| 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 var isMd = false; | 9 var isMd = false; |
| 10 | 10 |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 // Dummy Oobe functions not present with stripped login UI. | 51 // Dummy Oobe functions not present with stripped login UI. |
| 52 initializeA11yMenu: function(e) {}, | 52 initializeA11yMenu: function(e) {}, |
| 53 handleAccessibilityLinkClick: function(e) {}, | 53 handleAccessibilityLinkClick: function(e) {}, |
| 54 handleSpokenFeedbackClick: function(e) {}, | 54 handleSpokenFeedbackClick: function(e) {}, |
| 55 handleHighContrastClick: function(e) {}, | 55 handleHighContrastClick: function(e) {}, |
| 56 handleScreenMagnifierClick: function(e) {}, | 56 handleScreenMagnifierClick: function(e) {}, |
| 57 setUsageStats: function(checked) {}, | 57 setUsageStats: function(checked) {}, |
| 58 setOemEulaUrl: function(oemEulaUrl) {}, | 58 setOemEulaUrl: function(oemEulaUrl) {}, |
| 59 setTpmPassword: function(password) {}, | 59 setTpmPassword: function(password) {}, |
| 60 refreshA11yInfo: function(data) {}, | 60 refreshA11yInfo: function(data) {}, |
| 61 reloadEulaContent: function(data) {}, |
| 61 | 62 |
| 62 /** | 63 /** |
| 63 * Reloads content of the page. | 64 * Reloads content of the page. |
| 64 * @param {!Object} data New dictionary with i18n values. | 65 * @param {!Object} data New dictionary with i18n values. |
| 65 */ | 66 */ |
| 66 reloadContent: function(data) { | 67 reloadContent: function(data) { |
| 67 loadTimeData.overrideValues(data); | 68 loadTimeData.overrideValues(data); |
| 68 i18nTemplate.process(document, loadTimeData); | 69 i18nTemplate.process(document, loadTimeData); |
| 69 Oobe.getInstance().updateLocalizedContent_(); | 70 Oobe.getInstance().updateLocalizedContent_(); |
| 70 }, | 71 }, |
| 71 }; | 72 }; |
| 72 }); | 73 }); |
| OLD | NEW |