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..cc34f2b55f218c6d9a8cf418fe650e7d85d9d73f 100644 |
--- a/chrome/common/extensions/api/accessibility_private.json |
+++ b/chrome/common/extensions/api/accessibility_private.json |
@@ -100,6 +100,24 @@ |
"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", |
+ "minimum": 48, // '0' key |
+ "maximum": 90 // 'z' key |
+ }, |
+ "description": "The key codes for the keys that will be captured." |
+ } |
+ ], |
+ "platforms": ["chromeos"] |
} |
], |
"events": [ |