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

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

Issue 667713006: Implement automatic load of composed/embedded automation trees (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkcr
Patch Set: Fix UAF Created 6 years, 1 month 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.gypi ('k') | chrome/common/extensions/api/automation_internal.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/automation.idl
diff --git a/chrome/common/extensions/api/automation.idl b/chrome/common/extensions/api/automation.idl
index 2c48253a86f695ee4cf2d8bf473f5cb6924041dc..635574f40e331d43f8ad4bcd7cf3a01439857afe 100644
--- a/chrome/common/extensions/api/automation.idl
+++ b/chrome/common/extensions/api/automation.idl
@@ -181,6 +181,7 @@
tooltip,
valueIndicator,
webArea,
+ webView,
window
};
@@ -239,14 +240,11 @@
// A single node in an Automation tree.
[nocompile, noinline_doc] dictionary AutomationNode {
// The root node of the tree containing this AutomationNode.
- AutomationRootNode root;
+ AutomationNode root;
- // Whether this AutomationNode is an AutomationRootNode.
+ // Whether this AutomationNode is root node.
boolean isRootNode;
- // Unique ID to identify this node.
- long id;
-
// The role of this node.
automation.RoleType role;
@@ -294,35 +292,8 @@
EventType eventType, AutomationListener listener, boolean capture);
};
- // Called when the <code>AutomationRootNode</code> for the page is available.
- callback RootCallback = void(AutomationRootNode rootNode);
-
- // The root node of the automation tree for a single frame or desktop.
- // This may be:
- // <ul>
- // <li> The desktop
- // <li> The top frame of a page
- // <li> A frame or iframe within a page
- // </ul>
- // Thus, an <code>AutomationRootNode</code> may be a descendant of one or
- // more <code>AutomationRootNode</code>s, and in turn have one or more
- // <code>AutomationRootNode</code>s in its descendants. Thus, the
- // <code>root</code> property of the <code>AutomationRootNode</code> will be
- // the immediate parent <code>AutomationRootNode</code>, or <code>null</code>
- // if this is the top-level <code>AutomationRootNode</code>.
- //
- // Extends $(ref:automation.AutomationNode).
- [nocompile, noinline_doc] dictionary AutomationRootNode {
- // TODO(aboxhall/dtseng): implement loading. Kept separate to not include
- // in generated docs.
-
- // Whether this AutomationRootNode is loaded or not. If false, call load()
- // to get the contents.
- boolean loaded;
-
- // Load the accessibility tree for this AutomationRootNode.
- static void load(RootCallback callback);
- };
+ // Called when the <code>AutomationNode</code> for the page is available.
+ callback RootCallback = void(AutomationNode rootNode);
interface Functions {
// Get the automation tree for the tab with the given tabId, or the current
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/common/extensions/api/automation_internal.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698