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

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

Issue 2154213007: Replace gfx::Rect with gfx::RectF in ui::AXNodeData (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix win compile Created 4 years, 5 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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 // ID of the node that the event applies to. 78 // ID of the node that the event applies to.
79 IPC_STRUCT_MEMBER(int, id) 79 IPC_STRUCT_MEMBER(int, id)
80 IPC_STRUCT_END() 80 IPC_STRUCT_END()
81 81
82 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams) 82 IPC_STRUCT_BEGIN(AccessibilityHostMsg_LocationChangeParams)
83 // ID of the object whose location is changing. 83 // ID of the object whose location is changing.
84 IPC_STRUCT_MEMBER(int, id) 84 IPC_STRUCT_MEMBER(int, id)
85 85
86 // The object's new location, in frame-relative coordinates (same 86 // The object's new location, in frame-relative coordinates (same
87 // as the coordinates in AccessibilityNodeData). 87 // as the coordinates in AccessibilityNodeData).
88 IPC_STRUCT_MEMBER(gfx::Rect, new_location) 88 IPC_STRUCT_MEMBER(gfx::RectF, new_location)
89 IPC_STRUCT_END() 89 IPC_STRUCT_END()
90 90
91 IPC_STRUCT_BEGIN(AccessibilityHostMsg_FindInPageResultParams) 91 IPC_STRUCT_BEGIN(AccessibilityHostMsg_FindInPageResultParams)
92 // The find in page request id. 92 // The find in page request id.
93 IPC_STRUCT_MEMBER(int, request_id) 93 IPC_STRUCT_MEMBER(int, request_id)
94 94
95 // The index of the result match. 95 // The index of the result match.
96 IPC_STRUCT_MEMBER(int, match_index) 96 IPC_STRUCT_MEMBER(int, match_index)
97 97
98 // The id of the accessibility object for the start of the match range. 98 // The id of the accessibility object for the start of the match range.
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult, 228 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_ChildFrameHitTestResult,
229 gfx::Point /* location tested */, 229 gfx::Point /* location tested */,
230 int /* node id of result */) 230 int /* node id of result */)
231 231
232 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was 232 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was
233 // passed to the request will be returned in |callback_id|, along with 233 // passed to the request will be returned in |callback_id|, along with
234 // a standalone snapshot of the accessibility tree. 234 // a standalone snapshot of the accessibility tree.
235 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, 235 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse,
236 int /* callback_id */, 236 int /* callback_id */,
237 content::AXContentTreeUpdate) 237 content::AXContentTreeUpdate)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698