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

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

Issue 681503002: Add Android AX functions to set the value and selection of a text field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@link_text_from_image
Patch Set: Add to supported actions Created 6 years, 1 month 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/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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 int /* object id */, 115 int /* object id */,
116 gfx::Point /* new location */) 116 gfx::Point /* new location */)
117 117
118 // Relay a request from assistive technology to set the cursor or 118 // Relay a request from assistive technology to set the cursor or
119 // selection within an editable text element. 119 // selection within an editable text element.
120 IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection, 120 IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection,
121 int /* object id */, 121 int /* object id */,
122 int /* New start offset */, 122 int /* New start offset */,
123 int /* New end offset */) 123 int /* New end offset */)
124 124
125 // Relay a request from assistive technology to set the value of an
126 // editable text element.
127 IPC_MESSAGE_ROUTED2(AccessibilityMsg_SetValue,
128 int /* object id */,
129 base::string16 /* Value */)
130
125 // Determine the accessibility object under a given point and reply with 131 // Determine the accessibility object under a given point and reply with
126 // a AccessibilityHostMsg_HitTestResult with the same id. 132 // a AccessibilityHostMsg_HitTestResult with the same id.
127 IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest, 133 IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest,
128 gfx::Point /* location to test */) 134 gfx::Point /* location to test */)
129 135
130 // Tells the render view that a AccessibilityHostMsg_Events 136 // Tells the render view that a AccessibilityHostMsg_Events
131 // message was processed and it can send addition events. 137 // message was processed and it can send addition events.
132 IPC_MESSAGE_ROUTED0(AccessibilityMsg_Events_ACK) 138 IPC_MESSAGE_ROUTED0(AccessibilityMsg_Events_ACK)
133 139
134 // Tell the renderer to reset and send a new accessibility tree from 140 // Tell the renderer to reset and send a new accessibility tree from
(...skipping 20 matching lines...) Expand all
155 // Any other time, it ignores IPCs with a reset token. 161 // Any other time, it ignores IPCs with a reset token.
156 IPC_MESSAGE_ROUTED2( 162 IPC_MESSAGE_ROUTED2(
157 AccessibilityHostMsg_Events, 163 AccessibilityHostMsg_Events,
158 std::vector<AccessibilityHostMsg_EventParams> /* events */, 164 std::vector<AccessibilityHostMsg_EventParams> /* events */,
159 int /* reset_token */) 165 int /* reset_token */)
160 166
161 // Sent to update the browser of the location of accessibility objects. 167 // Sent to update the browser of the location of accessibility objects.
162 IPC_MESSAGE_ROUTED1( 168 IPC_MESSAGE_ROUTED1(
163 AccessibilityHostMsg_LocationChanges, 169 AccessibilityHostMsg_LocationChanges,
164 std::vector<AccessibilityHostMsg_LocationChangeParams>) 170 std::vector<AccessibilityHostMsg_LocationChangeParams>)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698