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"}] |
not at google - send to devlin
2015/01/27 16:49:03
I think you will need to add annotations "ChromeOS
je_julie(Not used)
2015/01/28 04:42:00
Done.
| |
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.", |
19 "value": ["largeCursor", {"type": "boolean"}] | 18 "value": ["largeCursor", {"type": "boolean"}] |
20 }, | 19 }, |
21 "stickyKeys": { | 20 "stickyKeys": { |
22 "$ref": "types.ChromeSetting", | 21 "$ref": "types.ChromeSetting", |
23 "description": "Sticky modifier keys (like shift or alt). 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.", | 22 "description": "Sticky modifier keys (like shift or alt). 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.", |
24 "value": ["stickyKeys", {"type": "boolean"}] | 23 "value": ["stickyKeys", {"type": "boolean"}] |
(...skipping 10 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": "<code>get()</code> requires <code>accessibilityFeatures. read</code> permission. <code>set()</code> and <code>clear()</code> require <cod e>accessibilityFeatures.modify</code> permission.", | |
48 "value": [ | |
49 "animationPolicy", { | |
50 "type": "string", | |
51 "enum": [{ | |
52 "description": "Images are allowed to animate.", | |
53 "name": "allowed" | |
54 }, { | |
55 "description": "Images are animated once.", | |
56 "name": "once" | |
57 }, { | |
58 "description": "Images are not animated.", | |
59 "name": "none" | |
60 }] | |
61 } | |
62 ] | |
45 } | 63 } |
46 } | 64 } |
47 } | 65 } |
48 ] | 66 ] |
OLD | NEW |