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 "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.", |
9 "properties": { | 9 "properties": { |
10 "spokenFeedback": { | 10 "spokenFeedback": { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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> permis
sion. <code>set()</code> and <code>clear()</code> require <code>accessibilityFea
tures.modify</code> permission.</p>", | 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> permis
sion. <code>set()</code> and <code>clear()</code> require <code>accessibilityFea
tures.modify</code> permission.</p>", |
43 "value": ["autoclick", {"type": "boolean"}], | 43 "value": ["autoclick", {"type": "boolean"}], |
44 "platforms": ["chromeos"] | 44 "platforms": ["chromeos"] |
45 }, | 45 }, |
46 "virtualKeyboard": { | 46 "virtualKeyboard": { |
47 "$ref": "types.ChromeSetting", | 47 "$ref": "types.ChromeSetting", |
48 "description": "<p><strong>ChromeOS only.</strong></p><p>Virtual on-scre
en keyboard. The value indicates whether the feature is enabled or not. <code>ge
t()</code> requires <code>accessibilityFeatures.read</code> permission. <code>se
t()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</
code> permission.</p>", | 48 "description": "<p><strong>ChromeOS only.</strong></p><p>Virtual on-scre
en keyboard. The value indicates whether the feature is enabled or not. <code>ge
t()</code> requires <code>accessibilityFeatures.read</code> permission. <code>se
t()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</
code> permission.</p>", |
49 "value": ["virtualKeyboard", {"type": "boolean"}], | 49 "value": ["virtualKeyboard", {"type": "boolean"}], |
50 "platforms": ["chromeos"] | 50 "platforms": ["chromeos"] |
51 }, | 51 }, |
| 52 "caretHighlight": { |
| 53 "$ref": "types.ChromeSetting", |
| 54 "description": "<p><strong>ChromeOS only.</strong></p><p>Caret highlight
ing. The value indicates whether the feature is enabled or not. <code>get()</cod
e> requires <code>accessibilityFeatures.read</code> permission. <code>set()</cod
e> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> pe
rmission.</p>", |
| 55 "value": ["caretHighlight", {"type": "boolean"}], |
| 56 "platforms": ["chromeos"] |
| 57 }, |
| 58 "cursorHighlight": { |
| 59 "$ref": "types.ChromeSetting", |
| 60 "description": "<p><strong>ChromeOS only.</strong></p><p>Cursor highligh
ting. The value indicates whether the feature is enabled or not. <code>get()</co
de> requires <code>accessibilityFeatures.read</code> permission. <code>set()</co
de> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> p
ermission.</p>", |
| 61 "value": ["cursorHighlight", {"type": "boolean"}], |
| 62 "platforms": ["chromeos"] |
| 63 }, |
| 64 "focusHighlight": { |
| 65 "$ref": "types.ChromeSetting", |
| 66 "description": "<p><strong>ChromeOS only.</strong></p><p>Focus highlight
ing. The value indicates whether the feature is enabled or not. <code>get()</cod
e> requires <code>accessibilityFeatures.read</code> permission. <code>set()</cod
e> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> pe
rmission.</p>", |
| 67 "value": ["focusHighlight", {"type": "boolean"}], |
| 68 "platforms": ["chromeos"] |
| 69 }, |
| 70 "selectToSpeak": { |
| 71 "$ref": "types.ChromeSetting", |
| 72 "description": "<p><strong>ChromeOS only.</strong></p><p>Select-to-speak
. 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> permi
ssion.</p>", |
| 73 "value": ["selectToSpeak", {"type": "boolean"}], |
| 74 "platforms": ["chromeos"] |
| 75 }, |
| 76 "switchAccess": { |
| 77 "$ref": "types.ChromeSetting", |
| 78 "description": "<p><strong>ChromeOS only.</strong></p><p>Switch access.
The value indicates whether the feature is enabled or not. <code>get()</code> re
quires <code>accessibilityFeatures.read</code> permission. <code>set()</code> an
d <code>clear()</code> require <code>accessibilityFeatures.modify</code> permiss
ion.</p>", |
| 79 "value": ["switchAccess", {"type": "boolean"}], |
| 80 "platforms": ["chromeos"] |
| 81 }, |
52 "animationPolicy": { | 82 "animationPolicy": { |
53 "$ref": "types.ChromeSetting", | 83 "$ref": "types.ChromeSetting", |
54 "description": "<code>get()</code> requires <code>accessibilityFeatures.
read</code> permission. <code>set()</code> and <code>clear()</code> require <cod
e>accessibilityFeatures.modify</code> permission.", | 84 "description": "<code>get()</code> requires <code>accessibilityFeatures.
read</code> permission. <code>set()</code> and <code>clear()</code> require <cod
e>accessibilityFeatures.modify</code> permission.", |
55 "value": [ | 85 "value": [ |
56 "animationPolicy", { | 86 "animationPolicy", { |
57 "type": "string", | 87 "type": "string", |
58 "enum": [{ | 88 "enum": [{ |
59 "description": "Images are allowed to animate.", | 89 "description": "Images are allowed to animate.", |
60 "name": "allowed" | 90 "name": "allowed" |
61 }, { | 91 }, { |
62 "description": "Images are animated once.", | 92 "description": "Images are animated once.", |
63 "name": "once" | 93 "name": "once" |
64 }, { | 94 }, { |
65 "description": "Images are not animated.", | 95 "description": "Images are not animated.", |
66 "name": "none" | 96 "name": "none" |
67 }] | 97 }] |
68 } | 98 } |
69 ] | 99 ] |
70 } | 100 } |
71 } | 101 } |
72 } | 102 } |
73 ] | 103 ] |
OLD | NEW |