| 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 cr.define('options', function() { | 5 cr.define('options', function() { |
| 6 var OptionsPage = options.OptionsPage; | 6 var OptionsPage = options.OptionsPage; |
| 7 var ArrayDataModel = cr.ui.ArrayDataModel; | 7 var ArrayDataModel = cr.ui.ArrayDataModel; |
| 8 var RepeatingButton = cr.ui.RepeatingButton; | 8 var RepeatingButton = cr.ui.RepeatingButton; |
| 9 | 9 |
| 10 // | 10 // |
| (...skipping 1135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1146 * @private | 1146 * @private |
| 1147 */ | 1147 */ |
| 1148 setHighContrastCheckboxState_: function(checked) { | 1148 setHighContrastCheckboxState_: function(checked) { |
| 1149 $('accessibility-high-contrast-check').checked = checked; | 1149 $('accessibility-high-contrast-check').checked = checked; |
| 1150 }, | 1150 }, |
| 1151 | 1151 |
| 1152 /** | 1152 /** |
| 1153 * Set the initial state of the screen magnifier dropdown. | 1153 * Set the initial state of the screen magnifier dropdown. |
| 1154 * @private | 1154 * @private |
| 1155 */ | 1155 */ |
| 1156 setScreenMagnifierTypeState_: function(type) { | 1156 setMagnifierTypeState_: function(type) { |
| 1157 $('accessibility-screen-magnifier-type').value = type; | 1157 $('accessibility-screen-magnifier-type').value = type; |
| 1158 }, | 1158 }, |
| 1159 | 1159 |
| 1160 /** | 1160 /** |
| 1161 * Set the initial state of the virtual keyboard checkbox. | 1161 * Set the initial state of the virtual keyboard checkbox. |
| 1162 * @private | 1162 * @private |
| 1163 */ | 1163 */ |
| 1164 setVirtualKeyboardCheckboxState_: function(checked) { | 1164 setVirtualKeyboardCheckboxState_: function(checked) { |
| 1165 // TODO(zork): Update UI | 1165 // TODO(zork): Update UI |
| 1166 }, | 1166 }, |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1291 'scrollToSection', | 1291 'scrollToSection', |
| 1292 'setAutoOpenFileTypesDisplayed', | 1292 'setAutoOpenFileTypesDisplayed', |
| 1293 'setBluetoothState', | 1293 'setBluetoothState', |
| 1294 'setFontSize', | 1294 'setFontSize', |
| 1295 'setGtkThemeButtonEnabled', | 1295 'setGtkThemeButtonEnabled', |
| 1296 'setHighContrastCheckboxState', | 1296 'setHighContrastCheckboxState', |
| 1297 'setMetricsReportingCheckboxState', | 1297 'setMetricsReportingCheckboxState', |
| 1298 'setMetricsReportingSettingVisibility', | 1298 'setMetricsReportingSettingVisibility', |
| 1299 'setPasswordGenerationSettingVisibility', | 1299 'setPasswordGenerationSettingVisibility', |
| 1300 'setProfilesInfo', | 1300 'setProfilesInfo', |
| 1301 'setScreenMagnifierTypeState', | 1301 'setMagnifierTypeState', |
| 1302 'setSpokenFeedbackCheckboxState', | 1302 'setSpokenFeedbackCheckboxState', |
| 1303 'setThemesResetButtonEnabled', | 1303 'setThemesResetButtonEnabled', |
| 1304 'setVirtualKeyboardCheckboxState', | 1304 'setVirtualKeyboardCheckboxState', |
| 1305 'setupCloudPrintConnectorSection', | 1305 'setupCloudPrintConnectorSection', |
| 1306 'setupPageZoomSelector', | 1306 'setupPageZoomSelector', |
| 1307 'setupProxySettingsSection', | 1307 'setupProxySettingsSection', |
| 1308 'showBluetoothSettings', | 1308 'showBluetoothSettings', |
| 1309 'showDisplayOptions', | 1309 'showDisplayOptions', |
| 1310 'showMouseControls', | 1310 'showMouseControls', |
| 1311 'showTouchpadControls', | 1311 'showTouchpadControls', |
| (...skipping 19 matching lines...) Expand all Loading... |
| 1331 BrowserOptions.getLoggedInUsername = function() { | 1331 BrowserOptions.getLoggedInUsername = function() { |
| 1332 return BrowserOptions.getInstance().username_; | 1332 return BrowserOptions.getInstance().username_; |
| 1333 }; | 1333 }; |
| 1334 } | 1334 } |
| 1335 | 1335 |
| 1336 // Export | 1336 // Export |
| 1337 return { | 1337 return { |
| 1338 BrowserOptions: BrowserOptions | 1338 BrowserOptions: BrowserOptions |
| 1339 }; | 1339 }; |
| 1340 }); | 1340 }); |
| OLD | NEW |