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

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

Issue 1953613002: Make touch accessibility gestures work with ChromeVox Next (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 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 a43cf9af53abdf3f20282b1241c05108f1135e0c..8229c6f0b5ab839d4b43104764ba7b86088a9d96 100644
--- a/chrome/common/extensions/api/accessibility_private.json
+++ b/chrome/common/extensions/api/accessibility_private.json
@@ -31,6 +31,12 @@
"width": {"type": "integer", "description": "Width in pixels."},
"height": {"type": "integer", "description": "Height in pixels."}
}
+ },
+ {
+ "id": "Gesture",
+ "type": "string",
+ "enum": [ "doubleTap", "swipeLeft1", "swipeUp1", "swipeRight1", "swipeDown1", "swipeLeft2", "swipeUp2", "swipeRight2", "swipeDown2", "swipeLeft3", "swipeUp3", "swipeRight3", "swipeDown3", "swipeLeft4", "swipeUp4", "swipeRight4", "swipeDown4" ],
+ "description": "Accessibility gestures fired by the touch exploration controller."
}
],
"functions": [
@@ -71,6 +77,7 @@
},
{
"type": "boolean",
+
"name": "capture",
"description": "True if key events should be swallowed natively and not propagated if preventDefault() gets called by the extension's background page."
}
@@ -82,6 +89,17 @@
"name": "onIntroduceChromeVox",
"type": "function",
"description": "Fired whenever ChromeVox should output introduction."
+ },
+ {
+ "name": "onAccessibilityGesture",
+ "type": "function",
+ "description": "Fired when an accessibility gesture is detected by the touch exploration controller.",
+ "parameters": [
+ {
+ "name": "gesture",
+ "$ref": "Gesture"
+ }
+ ]
}
]
}

Powered by Google App Engine
This is Rietveld 408576698