// Copyright 2014 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. [ { "namespace": "accessibilityFeatures", "description": "Use the chrome.accessibilityFeatures API to manage Chrome's accessibility features. This API relies on the ChromeSetting prototype of the type API for getting and setting individual accessibility features. In order to get feature states the extension must request accessibilityFeatures.read permission. For modifying feature state, the extension needs accessibilityFeatures.modify permission. Note that accessibilityFeatures.modify does not imply accessibilityFeatures.read permission.", "properties": { "spokenFeedback": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

Spoken feedback (text-to-speech). The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["spokenFeedback", {"type": "boolean"}], "platforms": ["chromeos"] }, "largeCursor": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

Enlarged cursor. The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["largeCursor", {"type": "boolean"}], "platforms": ["chromeos"] }, "stickyKeys": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

Sticky modifier keys (like shift or alt). The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["stickyKeys", {"type": "boolean"}], "platforms": ["chromeos"] }, "highContrast": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

High contrast rendering mode. The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["highContrast", {"type": "boolean"}], "platforms": ["chromeos"] }, "screenMagnifier": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

Full screen magnification. The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["screenMagnifier", {"type": "boolean"}], "platforms": ["chromeos"] }, "autoclick": { "$ref": "types.ChromeSetting", "description":"

ChromeOS only.

Auto mouse click after mouse stops moving. The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["autoclick", {"type": "boolean"}], "platforms": ["chromeos"] }, "virtualKeyboard": { "$ref": "types.ChromeSetting", "description": "

ChromeOS only.

Virtual on-screen keyboard. The value indicates whether the feature is enabled or not. get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify permission.

", "value": ["virtualKeyboard", {"type": "boolean"}], "platforms": ["chromeos"] }, "animationPolicy": { "$ref": "types.ChromeSetting", "description": "get() requires accessibilityFeatures.read permission. set() and clear() require accessibilityFeatures.modify 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" }] } ] } } } ]