Index: content/common/accessibility_messages.h |
diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h |
index c86720dff3bf5dc529e5aac0c8f25413c75ae4f4..1830a1b4d172f4486d7b7eee9e039c1863fdaca7 100644 |
--- a/content/common/accessibility_messages.h |
+++ b/content/common/accessibility_messages.h |
@@ -15,6 +15,7 @@ |
#include "ipc/param_traits_macros.h" |
#include "third_party/WebKit/public/web/WebAXEnums.h" |
#include "ui/accessibility/ax_node_data.h" |
+#include "ui/accessibility/ax_tree_update.h" |
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
@@ -45,10 +46,14 @@ IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData) |
IPC_STRUCT_TRAITS_MEMBER(child_ids) |
IPC_STRUCT_TRAITS_END() |
+IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate) |
+ IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) |
+ IPC_STRUCT_TRAITS_MEMBER(nodes) |
+IPC_STRUCT_TRAITS_END() |
+ |
IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) |
- // Vector of nodes in the tree that need to be updated before |
- // sending the event. |
- IPC_STRUCT_MEMBER(std::vector<ui::AXNodeData>, nodes) |
+ // The tree update. |
+ IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) |
// Type of event. |
IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |