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 7b9063fe718cacb16b8b4a17dd55d990133e72fd..4d2af7c1bf03f07cb60c1b8e63ad6828605cc2a3 100644 |
--- a/chrome/common/extensions/api/automation_internal.idl |
+++ b/chrome/common/extensions/api/automation_internal.idl |
@@ -88,6 +88,12 @@ namespace automationInternal { |
DOMString selector; |
}; |
+ // Arguments for the enableTab function. |
+ dictionary EnableTabParams { |
+ long routingID; |
+ long? tabID; |
+ }; |
+ |
// Returns the accessibility tree id of the web contents who's accessibility |
// was enabled using enableTab(). |
callback EnableTabCallback = void(long tree_id); |
@@ -102,13 +108,15 @@ namespace automationInternal { |
// Enable automation of the tab with the given id, or the active tab if no |
// tab id is given, and retrieves accessibility tree id for use in |
// future updates. |
- static void enableTab(optional long tabId, EnableTabCallback callback); |
+ static void enableTab(EnableTabParams args, |
+ EnableTabCallback callback); |
// Enable automation of the frame with the given tree id. |
static void enableFrame(long tree_id); |
// Enables desktop automation. |
- static void enableDesktop(EnableDesktopCallback callback); |
+ static void enableDesktop(long routingID, |
+ EnableDesktopCallback callback); |
// Performs an action on an automation node. |
static void performAction(PerformActionRequiredParams args, |