| 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 guest instance id for a <webview> plug-in. |
| 61 IPC_STRUCT_MEMBER(FrameIDMap, guest_instance_ids) |
| 62 |
| 63 // Mapping from node id to frame routing id for an out-of-process iframe. |
| 64 IPC_STRUCT_MEMBER(FrameIDMap, frame_routing_ids) |
| 65 |
| 58 // Type of event. | 66 // Type of event. |
| 59 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) | 67 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
| 60 | 68 |
| 61 // ID of the node that the event applies to. | 69 // ID of the node that the event applies to. |
| 62 IPC_STRUCT_MEMBER(int, id) | 70 IPC_STRUCT_MEMBER(int, id) |
| 63 IPC_STRUCT_END() | 71 IPC_STRUCT_END() |
| 64 | 72 |
| 65 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) | 73 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) |
| 66 // ID of the object whose location is changing. | 74 // ID of the object whose location is changing. |
| 67 IPC_STRUCT_MEMBER(int, id) | 75 IPC_STRUCT_MEMBER(int, id) |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 // Sent to notify the browser about renderer accessibility events. | 126 // Sent to notify the browser about renderer accessibility events. |
| 119 // The browser responds with a AccessibilityMsg_Events_ACK. | 127 // The browser responds with a AccessibilityMsg_Events_ACK. |
| 120 IPC_MESSAGE_ROUTED1( | 128 IPC_MESSAGE_ROUTED1( |
| 121 AccessibilityHostMsg_Events, | 129 AccessibilityHostMsg_Events, |
| 122 std::vector<AccessibilityHostMsg_EventParams>) | 130 std::vector<AccessibilityHostMsg_EventParams>) |
| 123 | 131 |
| 124 // Sent to update the browser of the location of accessibility objects. | 132 // Sent to update the browser of the location of accessibility objects. |
| 125 IPC_MESSAGE_ROUTED1( | 133 IPC_MESSAGE_ROUTED1( |
| 126 AccessibilityHostMsg_LocationChanges, | 134 AccessibilityHostMsg_LocationChanges, |
| 127 std::vector<AccessibilityHostMsg_LocationChangeParams>) | 135 std::vector<AccessibilityHostMsg_LocationChangeParams>) |
| OLD | NEW |