| 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 e95701decfb01da1e090c82ec5a5ece54484769d..4e455ec2fbddf874b49dd2b7762175b9ed30d2bf 100644
|
| --- a/chrome/common/extensions/api/automation_internal.idl
|
| +++ b/chrome/common/extensions/api/automation_internal.idl
|
| @@ -85,6 +85,13 @@ namespace automationInternal {
|
| long endIndex;
|
| };
|
|
|
| + dictionary QuerySelectorRequiredParams {
|
| + long processID;
|
| + long routingID;
|
| + long automationNodeID;
|
| + DOMString selector;
|
| + };
|
| +
|
| // Returns the process id and routing id of the tab whose accessibility was
|
| // enabled using enable().
|
| callback EnableTabCallback = void(long processID, long routingID);
|
| @@ -92,6 +99,8 @@ namespace automationInternal {
|
| // Callback called when enableDesktop() returns.
|
| callback EnableDesktopCallback = void();
|
|
|
| + callback QuerySelectorCallback = void(long resultAutomationNodeID);
|
| +
|
| interface Functions {
|
| // Enable automation of the tab with the given id, or the active tab if no
|
| // tab id is given, and retrieves its process and routing ids for use in
|
| @@ -104,6 +113,11 @@ namespace automationInternal {
|
| // Performs an action on an automation node.
|
| static void performAction(PerformActionRequiredParams args,
|
| object opt_args);
|
| +
|
| + // Performs a query selector query. Calls the callback with a request ID to
|
| + // be used in matching the response to the request.
|
| + static void querySelector(QuerySelectorRequiredParams args,
|
| + QuerySelectorCallback callback);
|
| };
|
|
|
| interface Events {
|
|
|