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 "content/common/ax_content_node_data.h" | 8 #include "content/common/ax_content_node_data.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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
74 | 74 |
75 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) | 75 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) |
76 // The tree update. | 76 // The tree update. |
77 IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update) | 77 IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update) |
78 | 78 |
79 // Type of event. | 79 // Type of event. |
80 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) | 80 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) |
81 | 81 |
82 // ID of the node that the event applies to. | 82 // ID of the node that the event applies to. |
83 IPC_STRUCT_MEMBER(int, id) | 83 IPC_STRUCT_MEMBER(int, id) |
| 84 |
| 85 // The source of this event. |
| 86 IPC_STRUCT_MEMBER(ui::AXEventFrom, event_from) |
84 IPC_STRUCT_END() | 87 IPC_STRUCT_END() |
85 | 88 |
86 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) | 89 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) |
87 // ID of the object whose location is changing. | 90 // ID of the object whose location is changing. |
88 IPC_STRUCT_MEMBER(int, id) | 91 IPC_STRUCT_MEMBER(int, id) |
89 | 92 |
90 // The object's new location info. | 93 // The object's new location info. |
91 IPC_STRUCT_MEMBER(ui::AXRelativeBounds, new_location) | 94 IPC_STRUCT_MEMBER(ui::AXRelativeBounds, new_location) |
92 IPC_STRUCT_END() | 95 IPC_STRUCT_END() |
93 | 96 |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
231 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult, | 234 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult, |
232 gfx::Point /* location tested */, | 235 gfx::Point /* location tested */, |
233 int /* node id of result */) | 236 int /* node id of result */) |
234 | 237 |
235 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was | 238 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was |
236 // passed to the request will be returned in |callback_id|, along with | 239 // passed to the request will be returned in |callback_id|, along with |
237 // a standalone snapshot of the accessibility tree. | 240 // a standalone snapshot of the accessibility tree. |
238 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, | 241 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, |
239 int /* callback_id */, | 242 int /* callback_id */, |
240 content::AXContentTreeUpdate) | 243 content::AXContentTreeUpdate) |
OLD | NEW |