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

Unified Diff: chrome/common/extensions/api/automation.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.idl
diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl
index 9dd1072d26b43422ab9d4a534b947d847eb930ee..11de2d1d104d3abc5a14773d8412fb7fa34303d2 100644
--- a/chrome/common/extensions/api/automation.idl
+++ b/chrome/common/extensions/api/automation.idl
@@ -89,12 +89,12 @@
callback RootCallback = void(AutomationTree tree);
interface Functions {
- // Get the automation tree for the current tab, enabling automation if
- // necessary. Returns a tree with a placeholder root node; listen for
- // the "load_complete" event to get a notification that the tree has fully
- // loaded (the previous root node reference will stop working at or before
- // this point).
- [nocompile] static void getTree(RootCallback callback);
+ // Get the automation tree for the tab with the given tabId, or the current
+ // tab if no tabID is given, enabling automation if necessary. Returns a
+ // tree with a placeholder root node; listen for the "loadComplete" event to
+ // get a notification that the tree has fully loaded (the previous root node
+ // reference will stop working at or before this point).
+ [nocompile] static void getTree(optional long tabId, RootCallback callback);
// Get the automation tree for the desktop.
[nocompile] static void getDesktop(RootCallback callback);
« no previous file with comments | « chrome/browser/extensions/api/tabs/tabs_api.cc ('k') | chrome/common/extensions/api/automation_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698