| Index: chrome/renderer/extensions/automation_internal_custom_bindings.h
|
| diff --git a/chrome/renderer/extensions/automation_internal_custom_bindings.h b/chrome/renderer/extensions/automation_internal_custom_bindings.h
|
| index 6b126c5a896292a18d38d0cff6e467fd06e214b2..f818e4bc460edde753b36130d789cdf837398c4b 100644
|
| --- a/chrome/renderer/extensions/automation_internal_custom_bindings.h
|
| +++ b/chrome/renderer/extensions/automation_internal_custom_bindings.h
|
| @@ -72,6 +72,30 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
|
| // Args: int ax_tree_id, Returns: int root_node_id.
|
| void GetRootID(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
| + // Args: int ax_tree_id, Returns: string url.
|
| + void GetDocURL(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: string title.
|
| + void GetDocTitle(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: bool, true if doc loaded.
|
| + void GetDocLoaded(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: float loading progress.
|
| + void GetDocLoadingProgress(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: int selection anchor object ID.
|
| + void GetAnchorObjectID(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: int selection anchor offset.
|
| + void GetAnchorOffset(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: int selection focus object ID.
|
| + void GetFocusObjectID(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| + // Args: int ax_tree_id, Returns: int selection focus offset.
|
| + void GetFocusOffset(const v8::FunctionCallbackInfo<v8::Value>& args);
|
| +
|
| // Args: int ax_tree_id, int node_id, Returns: int parent_node_id.
|
| void GetParentID(const v8::FunctionCallbackInfo<v8::Value>& args);
|
|
|
| @@ -152,6 +176,7 @@ class AutomationInternalCustomBindings : public ObjectBackedNativeHandler,
|
| bool is_active_profile);
|
|
|
| // AXTreeDelegate implementation.
|
| + void OnTreeDataChanged(ui::AXTree* tree) override;
|
| void OnNodeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
|
| void OnSubtreeWillBeDeleted(ui::AXTree* tree, ui::AXNode* node) override;
|
| void OnNodeCreated(ui::AXTree* tree, ui::AXNode* node) override;
|
|
|