| 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"], | 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.html#
ChromeSetting'>ChromeSetting prototype of the type API</a> for getting and setti
ng individual accessibility features. In order to get feature states the extensi
on must request <code>accessibilityFeatures.read</code> permission. For modifyin
g feature state, the extension needs <code>accessibilityFeatures.modify</code> p
ermission. Note that <code>accessibilityFeatures.modify</code> does not imply <c
ode>accessibilityFeatures.read</code> permission.", | 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.", |
| 10 "properties": { | 10 "properties": { |
| 11 "spokenFeedback": { | 11 "spokenFeedback": { |
| 12 "$ref": "types.ChromeSetting", | 12 "$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.", | 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.", |
| 14 "value": ["spokenFeedback", {"type": "boolean"}] | 14 "value": ["spokenFeedback", {"type": "boolean"}] |
| 15 }, | 15 }, |
| 16 "largeCursor": { | 16 "largeCursor": { |
| 17 "$ref": "types.ChromeSetting", | 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>ac
cessibilityFeatures.modify</code> permission.", | 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.", |
| 19 "value": ["largeCursor", {"type": "boolean"}] | 19 "value": ["largeCursor", {"type": "boolean"}] |
| (...skipping 19 matching lines...) Expand all Loading... |
| 39 "value": ["autoclick", {"type": "boolean"}] | 39 "value": ["autoclick", {"type": "boolean"}] |
| 40 }, | 40 }, |
| 41 "virtualKeyboard": { | 41 "virtualKeyboard": { |
| 42 "$ref": "types.ChromeSetting", | 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>accessibilityFe
atures.read</code> permission. <code>set()</code> and <code>clear()</code> requi
re <code>accessibilityFeatures.modify</code> permission.", | 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.", |
| 44 "value": ["virtualKeyboard", {"type": "boolean"}] | 44 "value": ["virtualKeyboard", {"type": "boolean"}] |
| 45 } | 45 } |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 ] | 48 ] |
| OLD | NEW |