Index: chrome/common/extensions/api/automation.idl |
diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl |
index 4b8b0e7792422d8e37f2f64733207b8aeddb22e7..0df0d89b36da846b766cf23aa40a63b80ee7fdd5 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. |
// |
@@ -722,6 +730,9 @@ |
// Scrolls this node to make it visible. |
static void makeVisible(); |
+ // Performs custom action. |
+ static void performCustomAction(long customActionId); |
+ |
// Sets selection within a text field. |
static void setSelection(long startIndex, long endIndex); |