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 4d2af7c1bf03f07cb60c1b8e63ad6828605cc2a3..7a3905787ed19d1cef7399c88953a3b63e2590c8 100644 |
--- a/chrome/common/extensions/api/automation_internal.idl |
+++ b/chrome/common/extensions/api/automation_internal.idl |
@@ -6,42 +6,6 @@ |
// essentially a translation of the internal accessibility tree update system |
// into an extension API. |
namespace automationInternal { |
- dictionary Rect { |
- long left; |
- long top; |
- long width; |
- long height; |
- }; |
- |
- // A compact representation of the accessibility information for a |
- // single web object, in a form that can be serialized and sent from |
- // one process to another. |
- // See ui/accessibility/ax_node_data.h |
- dictionary AXNodeData { |
- long id; |
- DOMString role; |
- object state; |
- Rect location; |
- |
- object? boolAttributes; |
- object? floatAttributes; |
- object? htmlAttributes; |
- object? intAttributes; |
- object? intlistAttributes; |
- object? stringAttributes; |
- long[] childIds; |
- }; |
- |
- dictionary AXTreeUpdate { |
- // ID of the node, if any, which should be invalidated before the new data |
- // is applied. |
- long nodeIdToClear; |
- |
- // A vector of nodes to update according to the rules described in |
- // ui/accessibility/ax_tree_update.h. |
- AXNodeData[] nodes; |
- }; |
- |
// Data for an accessibility event and/or an atomic change to an accessibility |
// tree. See ui/accessibility/ax_tree_update.h for an extended explanation of |
// the tree update format. |
@@ -54,10 +18,6 @@ namespace automationInternal { |
// The type of event that this update represents. |
DOMString eventType; |
- |
- // Serialized changes to the tree structure and node data that should be |
- // applied before processing the event. |
- AXTreeUpdate update; |
}; |
// All possible actions that can be performed on automation nodes. |
@@ -132,5 +92,7 @@ namespace automationInternal { |
static void onAccessibilityEvent(AXEventParams update); |
static void onAccessibilityTreeDestroyed(long treeID); |
+ |
+ static void onTreeChange(long treeID, long nodeID, DOMString changeType); |
}; |
}; |