Index: content/public/common/common_param_traits_macros.h |
diff --git a/content/public/common/common_param_traits_macros.h b/content/public/common/common_param_traits_macros.h |
index 9c8e45377433b7df6bb8e84cf3a35157cff613a9..044343f2079aabe5721ec66683f8c62b9c43a55a 100644 |
--- a/content/public/common/common_param_traits_macros.h |
+++ b/content/public/common/common_param_traits_macros.h |
@@ -22,8 +22,11 @@ |
#include "third_party/WebKit/public/platform/WebReferrerPolicy.h" |
#include "third_party/WebKit/public/platform/WebURLRequest.h" |
#include "third_party/WebKit/public/web/WebWindowFeatures.h" |
+#include "ui/accessibility/ax_node_data.h" |
+#include "ui/accessibility/ax_tree_update.h" |
#include "ui/base/page_transition_types.h" |
#include "ui/base/window_open_disposition.h" |
+#include "ui/gfx/ipc/gfx_param_traits.h" |
#undef IPC_MESSAGE_EXPORT |
#define IPC_MESSAGE_EXPORT CONTENT_EXPORT |
@@ -244,4 +247,33 @@ IPC_STRUCT_TRAITS_BEGIN(blink::WebWindowFeatures) |
IPC_STRUCT_TRAITS_MEMBER(dialog) |
IPC_STRUCT_TRAITS_END() |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXEvent, ui::AX_EVENT_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXRole, ui::AX_ROLE_LAST) |
+ |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXBoolAttribute, ui::AX_BOOL_ATTRIBUTE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXFloatAttribute, ui::AX_FLOAT_ATTRIBUTE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntAttribute, ui::AX_INT_ATTRIBUTE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXIntListAttribute, |
+ ui::AX_INT_LIST_ATTRIBUTE_LAST) |
+IPC_ENUM_TRAITS_MAX_VALUE(ui::AXStringAttribute, ui::AX_STRING_ATTRIBUTE_LAST) |
+ |
+IPC_STRUCT_TRAITS_BEGIN(ui::AXNodeData) |
+ IPC_STRUCT_TRAITS_MEMBER(id) |
+ IPC_STRUCT_TRAITS_MEMBER(role) |
+ IPC_STRUCT_TRAITS_MEMBER(state) |
+ IPC_STRUCT_TRAITS_MEMBER(location) |
+ IPC_STRUCT_TRAITS_MEMBER(string_attributes) |
+ IPC_STRUCT_TRAITS_MEMBER(int_attributes) |
+ IPC_STRUCT_TRAITS_MEMBER(float_attributes) |
+ IPC_STRUCT_TRAITS_MEMBER(bool_attributes) |
+ IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) |
+ IPC_STRUCT_TRAITS_MEMBER(html_attributes) |
+ 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() |
+ |
#endif // CONTENT_PUBLIC_COMMON_COMMON_PARAM_TRAITS_MACROS_H_ |