Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(173)

Unified Diff: chrome/common/extensions/api/accessibility_private.json

Issue 2905373002: Set keys for SwitchAccessEventHandler to capture using accessibiltyPrivate API (Closed)
Patch Set: Responded to comment Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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": [

Powered by Google App Engine
This is Rietveld 408576698