Chromium Code Reviews| Index: chrome/common/extensions/api/automation.idl |
| diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl |
| index f9037c5878f85f3214f68d1043a126e0fc590f90..89e036a05678b9ce3d6a0129514be899d578e80d 100644 |
| --- a/chrome/common/extensions/api/automation.idl |
| +++ b/chrome/common/extensions/api/automation.idl |
| @@ -334,9 +334,16 @@ |
| // The $(ref:automation.StateType)s describing this node. |
| object state; |
| - // The rendered location (as a bounding box) of this node within the frame. |
| + // The rendered location (as a bounding box) of this node in global |
| + // screen coordinates. |
| automation.Rect location; |
| + // Computes the bounding box of a subrange of this node in global screen |
| + // coordinates. Returns the same as |location| if range information |
|
Peter Lundblad
2015/11/23 13:39:08
Uber-nit: the standard in this file is one space a
dmazzoni
2015/11/23 17:22:49
Done.
|
| + // is not available. The start and end indices are zero-based offsets |
| + // into the node's "name" string attribute. |
| + static automation.Rect boundsForRange(long startIndex, long endIndex); |
| + |
| // The purpose of the node, other than the role, if any. |
| DOMString description; |