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

Unified Diff: chrome/browser/resources/options/browser_options.js

Issue 796623002: Remove unused chrome.send's in Accessibility settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/browser_options.js
diff --git a/chrome/browser/resources/options/browser_options.js b/chrome/browser/resources/options/browser_options.js
index 1b36e91a2f81fb48d24f2b7212e2cdbb4754ded8..7b47105db66f49a2609bff0b8239d2b42d2b0a6f 100644
--- a/chrome/browser/resources/options/browser_options.js
+++ b/chrome/browser/resources/options/browser_options.js
@@ -642,20 +642,10 @@ cr.define('options', function() {
$('accessibility-settings-button').onclick = function(unused_event) {
window.open(loadTimeData.getString('accessibilitySettingsURL'));
};
- $('accessibility-spoken-feedback-check').onchange = function(
- unused_event) {
- chrome.send('spokenFeedbackChange',
- [$('accessibility-spoken-feedback-check').checked]);
- updateAccessibilitySettingsButton();
- };
+ $('accessibility-spoken-feedback-check').onchange =
+ updateAccessibilitySettingsButton;
updateAccessibilitySettingsButton();
- $('accessibility-high-contrast-check').onchange = function(
- unused_event) {
- chrome.send('highContrastChange',
- [$('accessibility-high-contrast-check').checked]);
- };
-
var updateDelayDropdown = function() {
$('accessibility-autoclick-dropdown').disabled =
!$('accessibility-autoclick-check').checked;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698