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

Unified Diff: chrome/common/extensions/api/automation.idl

Issue 1458723002: Finish implementing ChromeVox Next active indicator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@load_key_map
Patch Set: Made test expectations approximate Created 5 years, 1 month 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
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..c6f02b9b9c3cce59b177f9cee2841106b663c388 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
+ // 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;

Powered by Google App Engine
This is Rietveld 408576698