| 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)
|
| @@ -1,4 +1,4 @@
|
| -// Copyright (c) 2010 The Chromium Authors. All rights reserved.
|
| +// Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| @@ -43,9 +43,24 @@
|
| $('modifier-keys-button').onclick = function(event) {
|
| OptionsPage.showOverlay('languageCustomizeModifierKeysOverlay');
|
| };
|
| + $('accesibility-check').onchange = function(event) {
|
| + chrome.send('accessibilityChange',
|
| + [String($('accesibility-check').checked)]);
|
| + };
|
| }
|
| };
|
|
|
| + //
|
| + // Chrome callbacks
|
| + //
|
| +
|
| + /**
|
| + * Set the initial state of the accessibility checkbox.
|
| + */
|
| + SystemOptions.SetAccessibilityCheckboxState = function(checked) {
|
| + $('accesibility-check').checked = checked;
|
| + };
|
| +
|
| // Export
|
| return {
|
| SystemOptions: SystemOptions
|
|
|