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..786bc45760c04854e42909cc92386e33f4ca1abc 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 draw the accessibility focus ring around." |
+ } |
+ ] |
} |
], |
"events": [ |