Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / extensions / api / accessibility_features.json
blob105a9bddcfc48d7eb4c59d6880de8c8f7f25dbc6
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.
6   {
7     "namespace": "accessibilityFeatures",
8     "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.",
9     "properties": {
10       "spokenFeedback": {
11         "$ref": "types.ChromeSetting",
12         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
13         "value": ["spokenFeedback", {"type": "boolean"}],
14         "platforms": ["chromeos"]
15       },
16       "largeCursor": {
17         "$ref": "types.ChromeSetting",
18         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
19         "value": ["largeCursor", {"type": "boolean"}],
20         "platforms": ["chromeos"]
21       },
22       "stickyKeys": {
23         "$ref": "types.ChromeSetting",
24         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
25         "value": ["stickyKeys", {"type": "boolean"}],
26         "platforms": ["chromeos"]
27       },
28       "highContrast": {
29         "$ref": "types.ChromeSetting",
30         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
31         "value": ["highContrast", {"type": "boolean"}],
32         "platforms": ["chromeos"]
33       },
34       "screenMagnifier": {
35         "$ref": "types.ChromeSetting",
36         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
37         "value": ["screenMagnifier", {"type": "boolean"}],
38         "platforms": ["chromeos"]
39       },
40       "autoclick": {
41         "$ref": "types.ChromeSetting",
42         "description":"<p><strong>ChromeOS only.</strong></p><p>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.</p>",
43         "value": ["autoclick", {"type": "boolean"}],
44         "platforms": ["chromeos"]
45       },
46       "virtualKeyboard": {
47         "$ref": "types.ChromeSetting",
48         "description": "<p><strong>ChromeOS only.</strong></p><p>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.</p>",
49         "value": ["virtualKeyboard", {"type": "boolean"}],
50         "platforms": ["chromeos"]
51       },
52       "animationPolicy": {
53         "$ref": "types.ChromeSetting",
54         "description": "<code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.",
55         "value": [
56           "animationPolicy", {
57             "type": "string",
58             "enum": [{
59               "description": "Images are allowed to animate.",
60               "name": "allowed"
61             }, {
62               "description": "Images are animated once.",
63               "name": "once"
64             }, {
65               "description": "Images are not animated.",
66               "name": "none"
67             }]
68           }
69         ]
70       }
71     }
72   }