Chromium Code Reviews| Index: chrome/common/extensions/api/accessibility_private.json |
| diff --git a/chrome/common/extensions/api/accessibility_private.json b/chrome/common/extensions/api/accessibility_private.json |
| index 0b9f629f1defebdc7057e17d586e91fc53bd6e91..9e4361c095d271bda5006302df334b7d9eccaaa6 100644 |
| --- a/chrome/common/extensions/api/accessibility_private.json |
| +++ b/chrome/common/extensions/api/accessibility_private.json |
| @@ -100,6 +100,19 @@ |
| "description": "True to darken screen; false to undarken screen." |
| } |
| ] |
| + }, |
| + { |
| + "name": "setSwitchAccessKeys", |
| + "type": "function", |
| + "description": "Change the keyboard keys captured by Switch Access.", |
| + "parameters": [ |
| + { |
| + "name": "key_codes", |
| + "type": "array", |
| + "items": { "type": "integer" }, |
|
Devlin
2017/05/30 19:22:03
note: we support min and max values, so if we know
elichtenberg
2017/05/31 00:58:44
Would it be better to just do this check in access
Devlin
2017/05/31 01:33:32
The advantage to having the minimum specified here
elichtenberg
2017/06/01 19:55:27
Good points. I ended up setting min and max values
|
| + "description": "The key codes for the keys that will be captured." |
| + } |
| + ] |
| } |
| ], |
| "events": [ |