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

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..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": [

Powered by Google App Engine
This is Rietveld 408576698