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

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
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
@@ -101,6 +101,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}
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/enums.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698