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

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

Issue 1365433002: Add setSelection function to automation API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@nobrailleautostartintests
Patch Set: Change setDocumentSelection to take named arguments. Created 5 years, 2 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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/ax_content_node_data.h" 9 #include "content/common/ax_content_node_data.h"
10 #include "content/common/content_export.h" 10 #include "content/common/content_export.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 gfx::Point /* new location */) 118 gfx::Point /* new location */)
119 119
120 // Relay a request from assistive technology to set the scroll offset 120 // Relay a request from assistive technology to set the scroll offset
121 // of an accessibility object that's a scroll container, to a specific 121 // of an accessibility object that's a scroll container, to a specific
122 // offset. 122 // offset.
123 IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetScrollOffset, 123 IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetScrollOffset,
124 int /* object id */, 124 int /* object id */,
125 gfx::Point /* new offset */) 125 gfx::Point /* new offset */)
126 126
127 // Relay a request from assistive technology to set the cursor or 127 // Relay a request from assistive technology to set the cursor or
128 // selection within an editable text element. 128 // selection within a document.
129 IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection, 129 IPC_MESSAGE_ROUTED4(AccessibilityMsg_SetSelection,
130 int /* object id */, 130 int /* New anchor object id */,
131 int /* New start offset */, 131 int /* New anchor offset */,
132 int /* New end offset */) 132 int /* New focus object id */,
133 int /* New focus offset */)
133 134
134 // Relay a request from assistive technology to set the value of an 135 // Relay a request from assistive technology to set the value of an
135 // editable text element. 136 // editable text element.
136 IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetValue, 137 IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetValue,
137 int /* object id */, 138 int /* object id */,
138 base::string16 /* Value */) 139 base::string16 /* Value */)
139 140
140 // Determine the accessibility object under a given point and reply with 141 // Determine the accessibility object under a given point and reply with
141 // a AccessibilityHostMsg_HitTestResult with the same id. 142 // a AccessibilityHostMsg_HitTestResult with the same id.
142 IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest, 143 IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest,
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 IPC_MESSAGE_ROUTED1( 196 IPC_MESSAGE_ROUTED1(
196 AccessibilityHostMsg_FindInPageResult, 197 AccessibilityHostMsg_FindInPageResult,
197 AccessibilityHostMsg_FindInPageResultParams) 198 AccessibilityHostMsg_FindInPageResultParams)
198 199
199 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was 200 // Sent in response to AccessibilityMsg_SnapshotTree. The callback id that was
200 // passed to the request will be returned in |callback_id|, along with 201 // passed to the request will be returned in |callback_id|, along with
201 // a standalone snapshot of the accessibility tree. 202 // a standalone snapshot of the accessibility tree.
202 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse, 203 IPC_MESSAGE_ROUTED2(AccessibilityHostMsg_SnapshotResponse,
203 int /* callback_id */, 204 int /* callback_id */,
204 ui::AXTreeUpdate<content::AXContentNodeData>) 205 ui::AXTreeUpdate<content::AXContentNodeData>)
OLDNEW
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/public/browser/render_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698