Chromium Code Reviews| Index: chrome/browser/resources/options/chromeos_system_options.js |
| =================================================================== |
| --- chrome/browser/resources/options/chromeos_system_options.js (revision 72316) |
| +++ chrome/browser/resources/options/chromeos_system_options.js (working copy) |
| @@ -43,9 +43,23 @@ |
| $('modifier-keys-button').onclick = function(event) { |
| OptionsPage.showOverlay('languageCustomizeModifierKeysOverlay'); |
| }; |
| + $('accesibility-check').onchange = function(event) { |
| + chrome.send('accessibilityChange', [$('accesibility-check').value]); |
|
csilv
2011/01/24 18:37:00
Instead of returning the 'value' attribute, i'd pr
dmazzoni
2011/01/24 18:46:10
Done.
|
| + }; |
| } |
| }; |
| + // |
| + // Chrome callbacks |
| + // |
| + |
| + /** |
| + * Set the initial state of the accessibility checkbox. |
| + */ |
| + SystemOptions.SetAccessibilityCheckboxState = function(checked) { |
| + $('accesibility-check').checked = checked; |
| + }; |
| + |
| // Export |
| return { |
| SystemOptions: SystemOptions |