Chromium Code Reviews| 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": [ |