Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(698)

Side by Side Diff: content/common/accessibility_messages.h

Issue 2255093005: Pass accessible location change messages to the automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Speculative fix to cast_shell Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 IPC_STRUCT_TRAITS_END() 65 IPC_STRUCT_TRAITS_END()
66 66
67 IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeUpdate) 67 IPC_STRUCT_TRAITS_BEGIN(content::AXContentTreeUpdate)
68 IPC_STRUCT_TRAITS_MEMBER(has_tree_data) 68 IPC_STRUCT_TRAITS_MEMBER(has_tree_data)
69 IPC_STRUCT_TRAITS_MEMBER(tree_data) 69 IPC_STRUCT_TRAITS_MEMBER(tree_data)
70 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear) 70 IPC_STRUCT_TRAITS_MEMBER(node_id_to_clear)
71 IPC_STRUCT_TRAITS_MEMBER(root_id) 71 IPC_STRUCT_TRAITS_MEMBER(root_id)
72 IPC_STRUCT_TRAITS_MEMBER(nodes) 72 IPC_STRUCT_TRAITS_MEMBER(nodes)
73 IPC_STRUCT_TRAITS_END() 73 IPC_STRUCT_TRAITS_END()
74 74
75 IPC_STRUCT_TRAITS_BEGIN(ui::AXRelativeBounds)
76 IPC_STRUCT_TRAITS_MEMBER(offset_container_id)
77 IPC_STRUCT_TRAITS_MEMBER(bounds)
78 IPC_STRUCT_TRAITS_MEMBER(transform)
79 IPC_STRUCT_TRAITS_END()
80
81 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams) 75 IPC_STRUCT_BEGIN(AccessibilityHostMsg_EventParams)
82 // The tree update. 76 // The tree update.
83 IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update) 77 IPC_STRUCT_MEMBER(content::AXContentTreeUpdate, update)
84 78
85 // Type of event. 79 // Type of event.
86 IPC_STRUCT_MEMBER(ui::AXEvent, event_type) 80 IPC_STRUCT_MEMBER(ui::AXEvent, event_type)
87 81
88 // ID of the node that the event applies to. 82 // ID of the node that the event applies to.
89 IPC_STRUCT_MEMBER(int, id) 83 IPC_STRUCT_MEMBER(int, id)
90 IPC_STRUCT_END() 84 IPC_STRUCT_END()
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
237 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult, 231 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult,
238 gfx::Point /* location tested */, 232 gfx::Point /* location tested */,
239 int /* node id of result */) 233 int /* node id of result */)
240 234
241 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was 235 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was
242 // passed to the request will be returned in |callback_id|, along with 236 // passed to the request will be returned in |callback_id|, along with
243 // a standalone snapshot of the accessibility tree. 237 // a standalone snapshot of the accessibility tree.
244 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, 238 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse,
245 int /* callback_id */, 239 int /* callback_id */,
246 content::AXContentTreeUpdate) 240 content::AXContentTreeUpdate)
OLDNEW
« no previous file with comments | « content/browser/web_contents/web_contents_impl.cc ('k') | content/public/browser/ax_event_notification_details.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698