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

Unified Diff: content/common/accessibility_messages.h

Issue 1413423003: Move some AX attrs from AXNodeData to AXTreeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/ax_content_node_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/accessibility_messages.h
diff --git a/content/common/accessibility_messages.h b/content/common/accessibility_messages.h
index f4ef60392e590df1c4fc1cbf28cd1d0f7fdc9eeb..56e1bf25e507e2446c6be09cbf23899f80434dfc 100644
--- a/content/common/accessibility_messages.h
+++ b/content/common/accessibility_messages.h
@@ -41,14 +41,33 @@ IPC_STRUCT_TRAITS_BEGIN(content::AXContentNodeData)
IPC_STRUCT_TRAITS_MEMBER(content_int_attributes)
IPC_STRUCT_TRAITS_END()
-IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate<content::AXContentNodeData>)
+IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeData)
+ IPC_STRUCT_TRAITS_MEMBER(tree_id)
+ IPC_STRUCT_TRAITS_MEMBER(parent_tree_id)
+ IPC_STRUCT_TRAITS_MEMBER(url)
+ IPC_STRUCT_TRAITS_MEMBER(title)
+ IPC_STRUCT_TRAITS_MEMBER(mimetype)
+ IPC_STRUCT_TRAITS_MEMBER(doctype)
+ IPC_STRUCT_TRAITS_MEMBER(loaded)
+ IPC_STRUCT_TRAITS_MEMBER(loading_progress)
+ IPC_STRUCT_TRAITS_MEMBER(sel_anchor_object_id)
+ IPC_STRUCT_TRAITS_MEMBER(sel_anchor_offset)
+ IPC_STRUCT_TRAITS_MEMBER(sel_focus_object_id)
+ IPC_STRUCT_TRAITS_MEMBER(sel_focus_offset)
+ IPC_STRUCT_TRAITS_MEMBER(routing_id)
+ IPC_STRUCT_TRAITS_MEMBER(parent_routing_id)
+IPC_STRUCT_TRAITS_END()
+
+IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeUpdate)
+ IPC_STRUCT_TRAITS_MEMBER(has_tree_data)
+ IPC_STRUCT_TRAITS_MEMBER(tree_data)
IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear)
IPC_STRUCT_TRAITS_MEMBER(nodes)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams)
// The tree update.
- IPC_STRUCT_MEMBER(ui::AXTreeUpdate<content::AXContentNodeData>, update)
+ IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update)
// Type of event.
IPC_STRUCT_MEMBER(ui::AXEvent, event_type)
@@ -202,4 +221,4 @@ IPC_MESSAGE_ROUTED1(
// a standalone snapshot of the accessibility tree.
IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse,
int /* callback_id */,
- ui::AXTreeUpdate<content::AXContentNodeData>)
+ content::AXContentTreeUpdate)
« no previous file with comments | « content/browser/web_contents/web_contents_impl.h ('k') | content/common/ax_content_node_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698