OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "accessibilityFeatures", | 7 "namespace": "accessibilityFeatures", |
8 "platforms": ["chromeos"], | |
9 "description": "Use the <code>chrome.accessibilityFeatures</code> API to man age Chrome's accessibility features. This API relies on the <a href='types#Chrom eSetting'>ChromeSetting prototype of the type API</a> for getting and setting in dividual accessibility features. In order to get feature states the extension mu st request <code>accessibilityFeatures.read</code> permission. For modifying fea ture state, the extension needs <code>accessibilityFeatures.modify</code> permis sion. Note that <code>accessibilityFeatures.modify</code> does not imply <code>a ccessibilityFeatures.read</code> permission.", | 8 "description": "Use the <code>chrome.accessibilityFeatures</code> API to man age Chrome's accessibility features. This API relies on the <a href='types#Chrom eSetting'>ChromeSetting prototype of the type API</a> for getting and setting in dividual accessibility features. In order to get feature states the extension mu st request <code>accessibilityFeatures.read</code> permission. For modifying fea ture state, the extension needs <code>accessibilityFeatures.modify</code> permis sion. Note that <code>accessibilityFeatures.modify</code> does not imply <code>a ccessibilityFeatures.read</code> permission.", |
10 "properties": { | 9 "properties": { |
11 "spokenFeedback": { | 10 "spokenFeedback": { |
12 "$ref": "types.ChromeSetting", | 11 "$ref": "types.ChromeSetting", |
13 "description": "Spoken feedback (text-to-speech). The value indicates wh ether the feature is enabled or not. <code>get()</code> requires <code>accessibi lityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", | 12 "description": "Spoken feedback (text-to-speech). The value indicates wh ether the feature is enabled or not. <code>get()</code> requires <code>accessibi lityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", |
14 "value": ["spokenFeedback", {"type": "boolean"}] | 13 "value": ["spokenFeedback", {"type": "boolean"}] |
15 }, | 14 }, |
16 "largeCursor": { | 15 "largeCursor": { |
17 "$ref": "types.ChromeSetting", | 16 "$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>ac cessibilityFeatures.modify</code> permission.", | 17 "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>ac cessibilityFeatures.modify</code> permission.", |
(...skipping 16 matching lines...) Expand all Loading... | |
35 }, | 34 }, |
36 "autoclick": { | 35 "autoclick": { |
37 "$ref": "types.ChromeSetting", | 36 "$ref": "types.ChromeSetting", |
38 "description":"Auto mouse click after mouse stops moving. The value indi cates whether the feature is enabled or not. <code>get()</code> requires <code>a ccessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear( )</code> require <code>accessibilityFeatures.modify</code> permission.", | 37 "description":"Auto mouse click after mouse stops moving. The value indi cates whether the feature is enabled or not. <code>get()</code> requires <code>a ccessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear( )</code> require <code>accessibilityFeatures.modify</code> permission.", |
39 "value": ["autoclick", {"type": "boolean"}] | 38 "value": ["autoclick", {"type": "boolean"}] |
40 }, | 39 }, |
41 "virtualKeyboard": { | 40 "virtualKeyboard": { |
42 "$ref": "types.ChromeSetting", | 41 "$ref": "types.ChromeSetting", |
43 "description": "Virtual on-screen keyboard. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFe atures.read</code> permission. <code>set()</code> and <code>clear()</code> requi re <code>accessibilityFeatures.modify</code> permission.", | 42 "description": "Virtual on-screen keyboard. The value indicates whether the feature is enabled or not. <code>get()</code> requires <code>accessibilityFe atures.read</code> permission. <code>set()</code> and <code>clear()</code> requi re <code>accessibilityFeatures.modify</code> permission.", |
44 "value": ["virtualKeyboard", {"type": "boolean"}] | 43 "value": ["virtualKeyboard", {"type": "boolean"}] |
44 }, | |
45 "animationPolicy": { | |
46 "$ref": "types.ChromeSetting", | |
47 "description": "Policy for animated images. The value indicates how to h andle animated images on web pages. The value indicates policy, one of allowd, o nce and none. <code>get()</code> requires <code>accessibilityFeatures.read</code > permission. <code>set()</code> and <code>clear()</code> require <code>accessib ilityFeatures.modify</code> permission.", | |
not at google - send to devlin
2014/12/11 17:48:15
The enum is self-documenting, so you don't need to
je_julie(Not used)
2014/12/12 13:15:45
Done
| |
48 "value": ["animationPolicy", {"type": "string", "enum": ["allowed", "onc e", "none"]}] | |
not at google - send to devlin
2014/12/11 17:48:15
... but the enum is even better if you can documen
je_julie(Not used)
2014/12/12 13:15:45
I updated it.
| |
45 } | 49 } |
46 } | 50 } |
47 } | 51 } |
48 ] | 52 ] |
OLD | NEW |