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

Side by Side Diff: content/common/accessibility_messages.h

Issue 1407413002: Move some AX attrs from AXNodeData to AXTreeData. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // IPC messages for accessibility. 5 // IPC messages for accessibility.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/ax_content_node_data.h" 9 #include "content/common/ax_content_node_data.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 23 matching lines...) Expand all
34 IPC_STRUCT_TRAITS_MEMBER(string_attributes) 34 IPC_STRUCT_TRAITS_MEMBER(string_attributes)
35 IPC_STRUCT_TRAITS_MEMBER(int_attributes) 35 IPC_STRUCT_TRAITS_MEMBER(int_attributes)
36 IPC_STRUCT_TRAITS_MEMBER(float_attributes) 36 IPC_STRUCT_TRAITS_MEMBER(float_attributes)
37 IPC_STRUCT_TRAITS_MEMBER(bool_attributes) 37 IPC_STRUCT_TRAITS_MEMBER(bool_attributes)
38 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) 38 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes)
39 IPC_STRUCT_TRAITS_MEMBER(html_attributes) 39 IPC_STRUCT_TRAITS_MEMBER(html_attributes)
40 IPC_STRUCT_TRAITS_MEMBER(child_ids) 40 IPC_STRUCT_TRAITS_MEMBER(child_ids)
41 IPC_STRUCT_TRAITS_MEMBER(content_int_attributes) 41 IPC_STRUCT_TRAITS_MEMBER(content_int_attributes)
42 IPC_STRUCT_TRAITS_END() 42 IPC_STRUCT_TRAITS_END()
43 43
44 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate<content::AXContentNodeData>) 44 IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeData)
45 IPC_STRUCT_TRAITS_MEMBER(tree_id)
46 IPC_STRUCT_TRAITS_MEMBER(parent_tree_id)
47 IPC_STRUCT_TRAITS_MEMBER(url)
48 IPC_STRUCT_TRAITS_MEMBER(title)
49 IPC_STRUCT_TRAITS_MEMBER(mimetype)
50 IPC_STRUCT_TRAITS_MEMBER(doctype)
51 IPC_STRUCT_TRAITS_MEMBER(loaded)
52 IPC_STRUCT_TRAITS_MEMBER(loading_progress)
53 IPC_STRUCT_TRAITS_MEMBER(sel_anchor_object_id)
54 IPC_STRUCT_TRAITS_MEMBER(sel_anchor_offset)
55 IPC_STRUCT_TRAITS_MEMBER(sel_focus_object_id)
56 IPC_STRUCT_TRAITS_MEMBER(sel_focus_offset)
57 IPC_STRUCT_TRAITS_MEMBER(routing_id)
58 IPC_STRUCT_TRAITS_MEMBER(parent_routing_id)
59 IPC_STRUCT_TRAITS_END()
60
61 IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeUpdate)
62 IPC_STRUCT_TRAITS_MEMBER(has_tree_data)
63 IPC_STRUCT_TRAITS_MEMBER(tree_data)
45 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) 64 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear)
46 IPC_STRUCT_TRAITS_MEMBER(nodes) 65 IPC_STRUCT_TRAITS_MEMBER(nodes)
47 IPC_STRUCT_TRAITS_END() 66 IPC_STRUCT_TRAITS_END()
48 67
49 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) 68 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams)
50 // The tree update. 69 // The tree update.
51 IPC_STRUCT_MEMBER(ui::AXTreeUpdate<content::AXContentNodeData>, update) 70 IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update)
52 71
53 // Type of event. 72 // Type of event.
54 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) 73 IPC_STRUCT_MEMBER(ui::AXEvent, event_type)
55 74
56 // ID of the node that the event applies to. 75 // ID of the node that the event applies to.
57 IPC_STRUCT_MEMBER(int, id) 76 IPC_STRUCT_MEMBER(int, id)
58 IPC_STRUCT_END() 77 IPC_STRUCT_END()
59 78
60 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) 79 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams)
61 // ID of the object whose location is changing. 80 // ID of the object whose location is changing.
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 // Sent to update the browser of the location of accessibility objects. 214 // Sent to update the browser of the location of accessibility objects.
196 IPC_MESSAGE_ROUTED1( 215 IPC_MESSAGE_ROUTED1(
197 AccessibilityHostMsg_FindInPageResult, 216 AccessibilityHostMsg_FindInPageResult,
198 AccessibilityHostMsg_FindInPageResultParams) 217 AccessibilityHostMsg_FindInPageResultParams)
199 218
200 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was 219 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was
201 // passed to the request will be returned in |callback_id|, along with 220 // passed to the request will be returned in |callback_id|, along with
202 // a standalone snapshot of the accessibility tree. 221 // a standalone snapshot of the accessibility tree.
203 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, 222 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse,
204 int /* callback_id */, 223 int /* callback_id */,
205 ui::AXTreeUpdate<content::AXContentNodeData>) 224 content::AXContentTreeUpdate)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698