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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 | 61 |
62 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) | 62 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) |
63 // The tree update. | 63 // The tree update. |
64 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) | 64 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) |
65 | 65 |
66 // Mapping from node id to routing id of its child frame - either the | 66 // Mapping from node id to routing id of its child frame - either the |
67 // routing id of a RenderFrame or a RenderFrameProxy for an out-of-process | 67 // routing id of a RenderFrame or a RenderFrameProxy for an out-of-process |
68 // iframe. | 68 // iframe. |
69 IPC_STRUCT_MEMBER(FrameIDMap, node_to_frame_routing_id_map) | 69 IPC_STRUCT_MEMBER(FrameIDMap, node_to_frame_routing_id_map) |
70 | 70 |
| 71 // Mapping from node id to the browser plugin instance id of a child |
| 72 // browser plugin. |
| 73 IPC_STRUCT_MEMBER(FrameIDMap, node_to_browser_plugin_instance_id_map) |
| 74 |
71 // Type of event. | 75 // Type of event. |
72 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) | 76 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
73 | 77 |
74 // ID of the node that the event applies to. | 78 // ID of the node that the event applies to. |
75 IPC_STRUCT_MEMBER(int, id) | 79 IPC_STRUCT_MEMBER(int, id) |
76 IPC_STRUCT_END() | 80 IPC_STRUCT_END() |
77 | 81 |
78 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) | 82 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) |
79 // ID of the object whose location is changing. | 83 // ID of the object whose location is changing. |
80 IPC_STRUCT_MEMBER(int, id) | 84 IPC_STRUCT_MEMBER(int, id) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // Sent to notify the browser about renderer accessibility events. | 139 // Sent to notify the browser about renderer accessibility events. |
136 // The browser responds with a AccessibilityMsg_Events_ACK. | 140 // The browser responds with a AccessibilityMsg_Events_ACK. |
137 IPC_MESSAGE_ROUTED1( | 141 IPC_MESSAGE_ROUTED1( |
138 AccessibilityHostMsg_Events, | 142 AccessibilityHostMsg_Events, |
139 std::vector<AccessibilityHostMsg_EventParams>) | 143 std::vector<AccessibilityHostMsg_EventParams>) |
140 | 144 |
141 // Sent to update the browser of the location of accessibility objects. | 145 // Sent to update the browser of the location of accessibility objects. |
142 IPC_MESSAGE_ROUTED1( | 146 IPC_MESSAGE_ROUTED1( |
143 AccessibilityHostMsg_LocationChanges, | 147 AccessibilityHostMsg_LocationChanges, |
144 std::vector<AccessibilityHostMsg_LocationChangeParams>) | 148 std::vector<AccessibilityHostMsg_LocationChangeParams>) |
OLD | NEW |