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

Unified Diff: third_party/closure_compiler/externs/accessibility_private.js

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: third_party/closure_compiler/externs/accessibility_private.js
diff --git a/third_party/closure_compiler/externs/accessibility_private.js b/third_party/closure_compiler/externs/accessibility_private.js
index 43fd60d858b31470175d4c7824293cb2c4a0cb64..9efc7c60fa00559283eb19ddecb7497ef0c128f2 100644
--- a/third_party/closure_compiler/externs/accessibility_private.js
+++ b/third_party/closure_compiler/externs/accessibility_private.js
@@ -102,6 +102,14 @@ chrome.accessibilityPrivate.setKeyboardListener = function(enabled, capture) {};
chrome.accessibilityPrivate.darkenScreen = function(enabled) {};
/**
+ * Change the keyboard keys captured by Switch Access.
+ * @param {!Array<number>} key_codes The key codes for the keys that will be
+ * captured.
+ * @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setSwitchAccessKeys
+ */
+chrome.accessibilityPrivate.setSwitchAccessKeys = function(key_codes) {};
+
+/**
* Fired whenever ChromeVox should output introduction.
* @type {!ChromeEvent}
* @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onIntroduceChromeVox

Powered by Google App Engine
This is Rietveld 408576698