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 96b856e7466017931d7bd1fa6575046858e0dbde..66ce784e0c5860b85a926dcf189ce483f0a2de8a 100644 |
--- a/chrome/browser/resources/options2/browser_options.js |
+++ b/chrome/browser/resources/options2/browser_options.js |
@@ -457,6 +457,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. |
@@ -1192,7 +1197,7 @@ cr.define('options', function() { |
* @private |
*/ |
setHighContrastCheckboxState_: function(checked) { |
- // TODO(zork): Update UI |
+ $('accessibility-high-contrast-check').checked = checked; |
}, |
/** |