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 247ee6545983c457c8909c4eea2c6db5a238353d..7567ac23e80239833b4cb01b126b86d3558843a8 100644 |
--- a/chrome/browser/resources/options2/browser_options.js |
+++ b/chrome/browser/resources/options2/browser_options.js |
@@ -464,7 +464,12 @@ cr.define('options', function() { |
if (cr.isChromeOS) { |
$('accessibility-spoken-feedback-check').onchange = function(event) { |
chrome.send('spokenFeedbackChange', |
- [$('accessibility-spoken-feedback-check').checked]); |
+ [$('accessibility-spoken-feedback-check').checked]); |
+ }; |
+ |
+ $('accessibility-high-contrast-check').onchange = function(event) { |
+ chrome.send('highContrastChange', |
+ [$('accessibility-high-contrast-check').checked]); |
}; |
} |
@@ -1212,7 +1217,7 @@ cr.define('options', function() { |
* @private |
*/ |
setHighContrastCheckboxState_: function(checked) { |
- // TODO(zork): Update UI |
+ $('accessibility-high-contrast-check').checked = checked; |
}, |
/** |