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": [ |