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

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

Issue 308003003: Allow requesting Automation tree by tabId (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 6 years, 7 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
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 c396eb063f3331d7b00b2152b259ec654638d0ea..1b1d721f4c83fe492e88fe424bf6265d53e88549 100644
--- a/chrome/common/extensions/api/automation_internal.idl
+++ b/chrome/common/extensions/api/automation_internal.idl
@@ -83,9 +83,10 @@ namespace automationInternal {
callback EnableDesktopCallback = void();
interface Functions {
- // Enable automation of the active tab and retrieves its routing id for use
- // in future updates.
- static void enableCurrentTab(EnableTabCallback callback);
+ // 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
+ // future updates.
+ static void enableTab(optional long tabId, EnableTabCallback callback);
// Enables desktop automation.
static void enableDesktop(EnableDesktopCallback callback);
« no previous file with comments | « chrome/common/extensions/api/automation.idl ('k') | chrome/renderer/resources/extensions/automation_custom_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698