Index: chrome/common/extensions/api/automation_internal.idl |
diff --git a/chrome/common/extensions/api/automation_internal.idl b/chrome/common/extensions/api/automation_internal.idl |
index a5cc24f88eec66a13ada0ff568b869e7aaa61b42..68cf1f18e3a8eb06d3a10dc0d4868144d7170388 100644 |
--- a/chrome/common/extensions/api/automation_internal.idl |
+++ b/chrome/common/extensions/api/automation_internal.idl |
@@ -29,8 +29,9 @@ namespace automationInternal { |
// All possible actions that can be performed on automation nodes. |
enum ActionType { |
- focus, |
+ customAction, |
doDefault, |
+ focus, |
getImageData, |
hitTest, |
makeVisible, |
@@ -38,10 +39,10 @@ namespace automationInternal { |
setAccessibilityFocus, |
setSequentialFocusNavigationStartingPoint, |
setSelection, |
+ showContextMenu, |
startDuckingMedia, |
stopDuckingMedia, |
- suspendMedia, |
- showContextMenu |
+ suspendMedia |
}; |
// Arguments required for all actions supplied to performAction. |
@@ -51,6 +52,12 @@ namespace automationInternal { |
ActionType actionType; |
}; |
+ // Arguments for the customAction action. Those args are passed to |
+ // performAction as opt_args. |
+ dictionary PerformCustomActionParams { |
+ long customActionID; |
+ }; |
+ |
// Arguments for the setSelection action supplied to performAction. |
dictionary SetSelectionParams { |
// Reuses ActionRequiredParams automationNodeID to mean anchor node id, |