Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4421)

Unified Diff: chrome/common/extensions/api/automation_internal.idl

Issue 1151523009: Forward accessibility events to the automation extension process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@step1
Patch Set: Handle case where RenderThread destroys AutomationMessageFilter first Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/common/extensions/chrome_extension_messages.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « chrome/chrome_browser_extensions.gypi ('k') | chrome/common/extensions/chrome_extension_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698