Index: chrome/common/extensions/api/accessibility_features.json |
diff --git a/chrome/common/extensions/api/accessibility_features.json b/chrome/common/extensions/api/accessibility_features.json |
index 9e14bb89f3175e76feb79d83ffeb4412740ed1dc..6490a9b50b2db38dfbc09b5d933d3b670f92cb5e 100644 |
--- a/chrome/common/extensions/api/accessibility_features.json |
+++ b/chrome/common/extensions/api/accessibility_features.json |
@@ -5,43 +5,61 @@ |
[ |
{ |
"namespace": "accessibilityFeatures", |
- "platforms": ["chromeos"], |
"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.", |
"properties": { |
"spokenFeedback": { |
"$ref": "types.ChromeSetting", |
- "description": "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.", |
+ "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>", |
"value": ["spokenFeedback", {"type": "boolean"}] |
}, |
"largeCursor": { |
"$ref": "types.ChromeSetting", |
- "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>accessibilityFeatures.modify</code> permission.", |
+ "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>", |
"value": ["largeCursor", {"type": "boolean"}] |
}, |
"stickyKeys": { |
"$ref": "types.ChromeSetting", |
- "description": "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.", |
+ "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>", |
"value": ["stickyKeys", {"type": "boolean"}] |
}, |
"highContrast": { |
"$ref": "types.ChromeSetting", |
- "description": "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.", |
+ "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>", |
"value": ["highContrast", {"type": "boolean"}] |
}, |
"screenMagnifier": { |
"$ref": "types.ChromeSetting", |
- "description": "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.", |
+ "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>", |
"value": ["screenMagnifier", {"type": "boolean"}] |
}, |
"autoclick": { |
"$ref": "types.ChromeSetting", |
- "description":"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.", |
+ "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>", |
"value": ["autoclick", {"type": "boolean"}] |
}, |
"virtualKeyboard": { |
"$ref": "types.ChromeSetting", |
- "description": "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.", |
+ "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>", |
"value": ["virtualKeyboard", {"type": "boolean"}] |
+ }, |
+ "animationPolicy": { |
+ "$ref": "types.ChromeSetting", |
+ "description": "<code>get()</code> requires <code>accessibilityFeatures.read</code> permission. <code>set()</code> and <code>clear()</code> require <code>accessibilityFeatures.modify</code> permission.", |
+ "value": [ |
+ "animationPolicy", { |
+ "type": "string", |
+ "enum": [{ |
+ "description": "Images are allowed to animate.", |
+ "name": "allowed" |
+ }, { |
+ "description": "Images are animated once.", |
+ "name": "once" |
+ }, { |
+ "description": "Images are not animated.", |
+ "name": "none" |
+ }] |
+ } |
+ ] |
} |
} |
} |