OLD | NEW |
---|---|
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/content_export.h" | 9 #include "content/common/content_export.h" |
10 #include "content/common/view_message_enums.h" | 10 #include "content/common/view_message_enums.h" |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
44 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) | 44 IPC_STRUCT_TRAITS_MEMBER(intlist_attributes) |
45 IPC_STRUCT_TRAITS_MEMBER(html_attributes) | 45 IPC_STRUCT_TRAITS_MEMBER(html_attributes) |
46 IPC_STRUCT_TRAITS_MEMBER(child_ids) | 46 IPC_STRUCT_TRAITS_MEMBER(child_ids) |
47 IPC_STRUCT_TRAITS_END() | 47 IPC_STRUCT_TRAITS_END() |
48 | 48 |
49 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate) | 49 IPC_STRUCT_TRAITS_BEGIN(ui::AXTreeUpdate) |
50 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) | 50 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) |
51 IPC_STRUCT_TRAITS_MEMBER(nodes) | 51 IPC_STRUCT_TRAITS_MEMBER(nodes) |
52 IPC_STRUCT_TRAITS_END() | 52 IPC_STRUCT_TRAITS_END() |
53 | 53 |
54 typedef std::map<int32, int> FrameIDMap; | |
55 | |
54 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) | 56 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) |
55 // The tree update. | 57 // The tree update. |
56 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) | 58 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) |
57 | 59 |
60 // Mapping from node id to frame routing id for an out-of-process iframe. | |
Charlie Reis
2014/08/21 19:23:27
Are these frame routing IDs from RenderFrames or R
dmazzoni
2014/08/25 06:49:36
Clarified.
I think it's useful to have both - you
| |
61 IPC_STRUCT_MEMBER(FrameIDMap, frame_routing_ids) | |
62 | |
58 // Type of event. | 63 // Type of event. |
59 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) | 64 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
60 | 65 |
61 // ID of the node that the event applies to. | 66 // ID of the node that the event applies to. |
62 IPC_STRUCT_MEMBER(int, id) | 67 IPC_STRUCT_MEMBER(int, id) |
63 IPC_STRUCT_END() | 68 IPC_STRUCT_END() |
64 | 69 |
65 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) | 70 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) |
66 // ID of the object whose location is changing. | 71 // ID of the object whose location is changing. |
67 IPC_STRUCT_MEMBER(int, id) | 72 IPC_STRUCT_MEMBER(int, id) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
122 // Sent to notify the browser about renderer accessibility events. | 127 // Sent to notify the browser about renderer accessibility events. |
123 // The browser responds with a AccessibilityMsg_Events_ACK. | 128 // The browser responds with a AccessibilityMsg_Events_ACK. |
124 IPC_MESSAGE_ROUTED1( | 129 IPC_MESSAGE_ROUTED1( |
125 AccessibilityHostMsg_Events, | 130 AccessibilityHostMsg_Events, |
126 std::vector<AccessibilityHostMsg_EventParams>) | 131 std::vector<AccessibilityHostMsg_EventParams>) |
127 | 132 |
128 // Sent to update the browser of the location of accessibility objects. | 133 // Sent to update the browser of the location of accessibility objects. |
129 IPC_MESSAGE_ROUTED1( | 134 IPC_MESSAGE_ROUTED1( |
130 AccessibilityHostMsg_LocationChanges, | 135 AccessibilityHostMsg_LocationChanges, |
131 std::vector<AccessibilityHostMsg_LocationChangeParams>) | 136 std::vector<AccessibilityHostMsg_LocationChangeParams>) |
OLD | NEW |