1 // Copyright 2014 The Chromium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 [ 6 { 7 "namespace": "accessibilityFeatures", 8 "platforms": ["chromeos"], 9 "description": "Use the <code>chrome.accessibilityFeatures</code> API to manage Chrome's accessibility features. This API relies on the <a href='types#ChromeSetting'>ChromeSetting prototype of the type API</a> for getting and setting individual accessibility features. In order to get feature states the extension must request <code>accessibilityFeatures.read</code> permission. For modifying feature state, the extension needs <code>accessibilityFeatures.modify</code> permission. Note that <code>accessibilityFeatures.modify</code> does not imply <code>accessibilityFeatures.read</code> permission.", 10 "properties": { 11 "spokenFeedback": { 12 "$ref": "types.ChromeSetting", 13 "description": "Spoken feedback (text-to-speech). The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 14 "value": ["spokenFeedback", {"type": "boolean"}] 15 }, 16 "largeCursor": { 17 "$ref": "types.ChromeSetting", 18 "description": "Enlarged cursor. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 19 "value": ["largeCursor", {"type": "boolean"}] 20 }, 21 "stickyKeys": { 22 "$ref": "types.ChromeSetting", 23 "description": "Sticky modifier keys (like shift or alt). The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 24 "value": ["stickyKeys", {"type": "boolean"}] 25 }, 26 "highContrast": { 27 "$ref": "types.ChromeSetting", 28 "description": "High contrast rendering mode. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 29 "value": ["highContrast", {"type": "boolean"}] 30 }, 31 "screenMagnifier": { 32 "$ref": "types.ChromeSetting", 33 "description": "Full screen magnification. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 34 "value": ["screenMagnifier", {"type": "boolean"}] 35 }, 36 "autoclick": { 37 "$ref": "types.ChromeSetting", 38 "description":"Auto mouse click after mouse stops moving. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 39 "value": ["autoclick", {"type": "boolean"}] 40 }, 41 "virtualKeyboard": { 42 "$ref": "types.ChromeSetting", 43 "description": "Virtual on-screen keyboard. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", 44 "value": ["virtualKeyboard", {"type": "boolean"}] 45 } 46 } 47 } 48 ] 49