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..9a2cee3f8ffb3170bb5c543bf6df2c6cb5e4e79b 100644 |
--- a/chrome/common/extensions/api/accessibility_features.json |
+++ b/chrome/common/extensions/api/accessibility_features.json |
@@ -5,7 +5,6 @@ |
[ |
{ |
"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": { |
@@ -42,6 +41,25 @@ |
"$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.", |
"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" |
+ }] |
+ } |
+ ] |
} |
} |
} |