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

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: 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..8282409cc35e642f0fb6afd3bb3304b247ceeea4 100644
--- a/chrome/common/extensions/api/automation.idl
+++ b/chrome/common/extensions/api/automation.idl
@@ -337,6 +337,10 @@
// The rendered location (as a bounding box) of this node within the frame.
automation.Rect location;
+ // Computes the bounding box of a subrange of this node within the frame.
Peter Lundblad 2015/11/20 11:15:03 Sorry for being ignorant about coordinate systems
dmazzoni 2015/11/20 23:35:14 Good catch. Actually this returns global screen co
+ // Returns the same as |location| if range information is not available.
+ static automation.Rect boundsForRange(long startIndex, long endIndex);
Peter Lundblad 2015/11/20 11:15:03 Document what the start and end indices index into
dmazzoni 2015/11/20 23:35:14 Done.
+
// The purpose of the node, other than the role, if any.
DOMString description;

Powered by Google App Engine
This is Rietveld 408576698