Index: components/test_runner/web_ax_object_proxy.h |
diff --git a/components/test_runner/web_ax_object_proxy.h b/components/test_runner/web_ax_object_proxy.h |
index 1b8c4690598074ea359c42fa629d417d023fdb08..18e4f1a02fd0e7bb83492b703ef83885e7695803 100644 |
--- a/components/test_runner/web_ax_object_proxy.h |
+++ b/components/test_runner/web_ax_object_proxy.h |
@@ -69,10 +69,21 @@ class WebAXObjectProxy : public gin::Wrappable<WebAXObjectProxy> { |
int MaxValue(); |
std::string ValueDescription(); |
int ChildrenCount(); |
+ |
+ // The following selection functions return global information about the |
+ // current selection and can be called on any object in the tree. |
+ v8::Local<v8::Object> SelectionAnchorObject(); |
+ int SelectionAnchorOffset(); |
+ v8::Local<v8::Object> SelectionFocusObject(); |
+ int SelectionFocusOffset(); |
+ // The following selection functions return text offsets calculated starting |
dmazzoni
2015/06/22 19:23:21
Did you mean "starting at this object".
|
+ // the object. They only report on a selection that is placed on the current |
+ // object or on any of its descendants. |
dmazzoni
2015/06/22 19:23:21
Wouldn't it be more accurate to say, they report o
|
int SelectionStart(); |
int SelectionEnd(); |
int SelectionStartLineNumber(); |
int SelectionEndLineNumber(); |
+ |
bool IsEnabled(); |
bool IsRequired(); |
bool IsRichlyEditable(); |