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