| 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 | |
| 56 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) | 54 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) |
| 57 // The tree update. | 55 // The tree update. |
| 58 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) | 56 IPC_STRUCT_MEMBER(ui::AXTreeUpdate, update) |
| 59 | 57 |
| 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 | |
| 62 // iframe. | |
| 63 IPC_STRUCT_MEMBER(FrameIDMap, node_to_frame_routing_id_map) | |
| 64 | |
| 65 // Type of event. | 58 // Type of event. |
| 66 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) | 59 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
| 67 | 60 |
| 68 // ID of the node that the event applies to. | 61 // ID of the node that the event applies to. |
| 69 IPC_STRUCT_MEMBER(int, id) | 62 IPC_STRUCT_MEMBER(int, id) |
| 70 IPC_STRUCT_END() | 63 IPC_STRUCT_END() |
| 71 | 64 |
| 72 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) | 65 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) |
| 73 // ID of the object whose location is changing. | 66 // ID of the object whose location is changing. |
| 74 IPC_STRUCT_MEMBER(int, id) | 67 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. | 122 // Sent to notify the browser about renderer accessibility events. |
| 130 // The browser responds with a AccessibilityMsg_Events_ACK. | 123 // The browser responds with a AccessibilityMsg_Events_ACK. |
| 131 IPC_MESSAGE_ROUTED1( | 124 IPC_MESSAGE_ROUTED1( |
| 132 AccessibilityHostMsg_Events, | 125 AccessibilityHostMsg_Events, |
| 133 std::vector<AccessibilityHostMsg_EventParams>) | 126 std::vector<AccessibilityHostMsg_EventParams>) |
| 134 | 127 |
| 135 // Sent to update the browser of the location of accessibility objects. | 128 // Sent to update the browser of the location of accessibility objects. |
| 136 IPC_MESSAGE_ROUTED1( | 129 IPC_MESSAGE_ROUTED1( |
| 137 AccessibilityHostMsg_LocationChanges, | 130 AccessibilityHostMsg_LocationChanges, |
| 138 std::vector<AccessibilityHostMsg_LocationChangeParams>) | 131 std::vector<AccessibilityHostMsg_LocationChangeParams>) |
| OLD | NEW |