Index: chrome/browser/resources/options2/browser_options.js |
diff --git a/chrome/browser/resources/options2/browser_options.js b/chrome/browser/resources/options2/browser_options.js |
index 35f7510e2ea4e09118632099c9e23ddf8120a36c..ca9af7fc869f7c52c5ac1988c86a70f626c33b74 100644 |
--- a/chrome/browser/resources/options2/browser_options.js |
+++ b/chrome/browser/resources/options2/browser_options.js |
@@ -466,6 +466,11 @@ cr.define('options', function() { |
chrome.send('spokenFeedbackChange', |
[$('accessibility-spoken-feedback-check').checked]); |
}; |
+ |
+ $('accessibility-high-contrast-check').onchange = function(event) { |
+ chrome.send('highContrastChange', |
+ [$('accessibility-high-contrast-check').checked]); |
+ }; |
} |
// Background mode section. |
@@ -1201,7 +1206,7 @@ cr.define('options', function() { |
* @private |
*/ |
setHighContrastCheckboxState_: function(checked) { |
- // TODO(zork): Update UI |
+ $('accessibility-high-contrast-check').checked = checked; |
}, |
/** |