Index: chrome/common/extensions/api/automation.idl |
diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl |
index 56b61ba75bab85f8c6e01a2a177a147e86597aaa..a5e5ee719135697a48655cd37e81d0e0a38c72d5 100644 |
--- a/chrome/common/extensions/api/automation.idl |
+++ b/chrome/common/extensions/api/automation.idl |
@@ -366,6 +366,11 @@ |
// A listener for changes on the <code>AutomationNode</code> tree. |
callback TreeChangeObserver = void(TreeChange treeChange); |
+ dictionary CustomAction { |
+ long id; |
+ DOMString description; |
+ }; |
+ |
// A single node in an Automation tree. |
[nocompile, noinline_doc] dictionary AutomationNode { |
// The root node of the tree containing this AutomationNode. |
@@ -449,6 +454,9 @@ |
// The target of an in-page link. |
AutomationNode? inPageLinkTarget; |
+ // An array of custom actions. |
+ CustomAction[]? customActions; |
+ |
// |
// Link attributes. |
// |
@@ -710,6 +718,9 @@ |
// Scrolls this node to make it visible. |
static void makeVisible(); |
+ // Performs custom action. |
+ static void performCustomAction(CustomAction customAction); |
David Tseng
2017/06/08 17:21:59
Wait, this is the _public_ api. It doesn't make se
yawano
2017/06/09 01:05:14
Yes, this is public API. The intention is that it
David Tseng
2017/06/09 18:09:53
If we chose to, I think we should separate the con
yawano
2017/06/13 06:58:46
Changed performCustomAction to take customActionId
|
+ |
// Sets selection within a text field. |
static void setSelection(long startIndex, long endIndex); |