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

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

Issue 2834033003: Update externs for accessibilityPrivate (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | no next file » | 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 f092c0ec13bee3696effa884f4130c7a36c8bbcb..43fd60d858b31470175d4c7824293cb2c4a0cb64 100644
--- a/third_party/closure_compiler/externs/accessibility_private.js
+++ b/third_party/closure_compiler/externs/accessibility_private.js
@@ -74,11 +74,11 @@ chrome.accessibilityPrivate.setNativeAccessibilityEnabled = function(enabled) {}
* Set the bounds of the accessibility focus ring.
* @param {!Array<!chrome.accessibilityPrivate.ScreenRect>} rects Array of
* rectangles to draw the accessibility focus ring around.
- * @param {string=} opt_color CSS-style hex color string beginning with "#"
- * like "#FF9982" or "#EEE".
+ * @param {string=} color CSS-style hex color string beginning with # like
+ * #FF9982 or #EEE.
* @see https://developer.chrome.com/extensions/accessibilityPrivate#method-setFocusRing
*/
-chrome.accessibilityPrivate.setFocusRing = function(rects, opt_color) {};
+chrome.accessibilityPrivate.setFocusRing = function(rects, color) {};
/**
* Sets the calling extension as a listener of all keyboard events optionally
@@ -115,3 +115,19 @@ chrome.accessibilityPrivate.onIntroduceChromeVox;
* @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onAccessibilityGesture
*/
chrome.accessibilityPrivate.onAccessibilityGesture;
+
+/**
+ * Fired when we first detect two fingers are held down, which can be used to
+ * toggle spoken feedback on some touch-only devices.
+ * @type {!ChromeEvent}
+ * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwoFingerTouchStart
+ */
+chrome.accessibilityPrivate.onTwoFingerTouchStart;
+
+/**
+ * Fired when the user is no longer holding down two fingers (including
+ * releasing one, holding down three, or moving them).
+ * @type {!ChromeEvent}
+ * @see https://developer.chrome.com/extensions/accessibilityPrivate#event-onTwoFingerTouchStop
+ */
+chrome.accessibilityPrivate.onTwoFingerTouchStop;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698