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

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

Issue 600063002: Draw a focus ring around native views when ChromeVox is running. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add check for Chrome OS 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
« no previous file with comments | « chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 786bc45760c04854e42909cc92386e33f4ca1abc..74927af6636aa0518c4308a04cbbe070b687bc9a 100644
--- a/chrome/common/extensions/api/accessibility_private.json
+++ b/chrome/common/extensions/api/accessibility_private.json
@@ -124,6 +124,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."}
+ }
+ },
+ {
"id": "AccessibilityObject",
"type": "object",
"description": "Parent class for accessibility information about an object.",
@@ -157,19 +168,13 @@
{ "$ref": "TreeDetails" },
{ "$ref": "TreeItemDetails" }
]
+ },
+ "bounds": {
+ "$ref": "ScreenRect",
+ "description": "The bounds of the object, in global screen coordinates.",
+ "optional": true
}
}
- },
- {
- "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": [
« no previous file with comments | « chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698