Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(162)

Side by Side Diff: chrome/browser/resources/options/browser_options.js

Issue 11415025: A11y: Introduce High Contrast Mode and Screen Magnifier to ubar tray. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: review fix (comment #10) Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 1139 matching lines...) Expand 10 before | Expand all | Expand 10 after
1150 * @private 1150 * @private
1151 */ 1151 */
1152 setHighContrastCheckboxState_: function(checked) { 1152 setHighContrastCheckboxState_: function(checked) {
1153 $('accessibility-high-contrast-check').checked = checked; 1153 $('accessibility-high-contrast-check').checked = checked;
1154 }, 1154 },
1155 1155
1156 /** 1156 /**
1157 * Set the initial state of the screen magnifier dropdown. 1157 * Set the initial state of the screen magnifier dropdown.
1158 * @private 1158 * @private
1159 */ 1159 */
1160 setScreenMagnifierTypeState_: function(type) { 1160 setMagnifierTypeState_: function(type) {
1161 $('accessibility-screen-magnifier-type').value = type; 1161 $('accessibility-screen-magnifier-type').value = type;
1162 }, 1162 },
1163 1163
1164 /** 1164 /**
1165 * Set the initial state of the virtual keyboard checkbox. 1165 * Set the initial state of the virtual keyboard checkbox.
1166 * @private 1166 * @private
1167 */ 1167 */
1168 setVirtualKeyboardCheckboxState_: function(checked) { 1168 setVirtualKeyboardCheckboxState_: function(checked) {
1169 // TODO(zork): Update UI 1169 // TODO(zork): Update UI
1170 }, 1170 },
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
1295 'scrollToSection', 1295 'scrollToSection',
1296 'setAutoOpenFileTypesDisplayed', 1296 'setAutoOpenFileTypesDisplayed',
1297 'setBluetoothState', 1297 'setBluetoothState',
1298 'setFontSize', 1298 'setFontSize',
1299 'setGtkThemeButtonEnabled', 1299 'setGtkThemeButtonEnabled',
1300 'setHighContrastCheckboxState', 1300 'setHighContrastCheckboxState',
1301 'setMetricsReportingCheckboxState', 1301 'setMetricsReportingCheckboxState',
1302 'setMetricsReportingSettingVisibility', 1302 'setMetricsReportingSettingVisibility',
1303 'setPasswordGenerationSettingVisibility', 1303 'setPasswordGenerationSettingVisibility',
1304 'setProfilesInfo', 1304 'setProfilesInfo',
1305 'setScreenMagnifierTypeState', 1305 'setMagnifierTypeState',
1306 'setSpokenFeedbackCheckboxState', 1306 'setSpokenFeedbackCheckboxState',
1307 'setThemesResetButtonEnabled', 1307 'setThemesResetButtonEnabled',
1308 'setVirtualKeyboardCheckboxState', 1308 'setVirtualKeyboardCheckboxState',
1309 'setupCloudPrintConnectorSection', 1309 'setupCloudPrintConnectorSection',
1310 'setupPageZoomSelector', 1310 'setupPageZoomSelector',
1311 'setupProxySettingsSection', 1311 'setupProxySettingsSection',
1312 'showBluetoothSettings', 1312 'showBluetoothSettings',
1313 'showDisplayOptions', 1313 'showDisplayOptions',
1314 'showMouseControls', 1314 'showMouseControls',
1315 'showTouchpadControls', 1315 'showTouchpadControls',
(...skipping 19 matching lines...) Expand all
1335 BrowserOptions.getLoggedInUsername = function() { 1335 BrowserOptions.getLoggedInUsername = function() {
1336 return BrowserOptions.getInstance().username_; 1336 return BrowserOptions.getInstance().username_;
1337 }; 1337 };
1338 } 1338 }
1339 1339
1340 // Export 1340 // Export
1341 return { 1341 return {
1342 BrowserOptions: BrowserOptions 1342 BrowserOptions: BrowserOptions
1343 }; 1343 };
1344 }); 1344 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698