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

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

Issue 560983002: Add private extension API to move the accessibility focus ring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus_ring_2_accessibility_ring
Patch Set: Created 6 years, 3 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 bdc352024b8cad5d98347e2a6da195a3086b93df..d75353854b11419fe191ecbed828fff665d11d1f 100644
--- a/chrome/common/extensions/api/accessibility_private.json
+++ b/chrome/common/extensions/api/accessibility_private.json
@@ -159,6 +159,17 @@
]
}
}
+ },
+ {
+ "id": "ScreenRect",
+ "type": "object",
+ "description": "Bounding rectangle in global screen coordinates.",
+ "properties": {
+ "left": {"type": "integer", "description": "Left coordinate in global screen coordinates."},
+ "top": {"type": "integer", "description": "Top coordinate in global screen coordinates."},
+ "width": {"type": "integer", "description": "Width in pixels."},
+ "height": {"type": "integer", "description": "Height in pixels."}
+ }
}
],
"functions": [
@@ -228,6 +239,19 @@
]
}
]
+ },
+ {
+ "name": "setFocusRing",
+ "type": "function",
+ "description": "Set the bounds of the accessibility focus ring.",
+ "parameters": [
+ {
+ "name": "rects",
+ "type": "array",
+ "items": { "$ref": "ScreenRect" },
+ "description": "Array of rectangles to focus."
David Tseng 2014/09/10 22:50:28 This sounds like there would be a focus action tak
dmazzoni 2014/09/11 22:04:36 I clarified the text a bit. I think it's clearer
+ }
+ ]
}
],
"events": [

Powered by Google App Engine
This is Rietveld 408576698