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

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

Issue 290633002: Implement Android accessible hit testing using an IPC to the renderer process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@better_logging_2
Patch Set: Remove unused function Created 6 years, 7 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 int /* object id */, 98 int /* object id */,
99 gfx::Point /* new location */) 99 gfx::Point /* new location */)
100 100
101 // Relay a request from assistive technology to set the cursor or 101 // Relay a request from assistive technology to set the cursor or
102 // selection within an editable text element. 102 // selection within an editable text element.
103 IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection, 103 IPC_MESSAGE_ROUTED3(AccessibilityMsg_SetTextSelection,
104 int /* object id */, 104 int /* object id */,
105 int /* New start offset */, 105 int /* New start offset */,
106 int /* New end offset */) 106 int /* New end offset */)
107 107
108 // Determine the accessibility object under a given point and reply with
109 // a AccessibilityHostMsg_HitTestResult with the same id.
110 IPC_MESSAGE_ROUTED1(AccessibilityMsg_HitTest,
111 gfx::Point /* location to test */);
112
108 // Tells the render view that a AccessibilityHostMsg_Events 113 // Tells the render view that a AccessibilityHostMsg_Events
109 // message was processed and it can send addition events. 114 // message was processed and it can send addition events.
110 IPC_MESSAGE_ROUTED0(AccessibilityMsg_Events_ACK) 115 IPC_MESSAGE_ROUTED0(AccessibilityMsg_Events_ACK)
111 116
112
113 // Kill the renderer because we got a fatal error in the accessibility tree. 117 // Kill the renderer because we got a fatal error in the accessibility tree.
114 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError) 118 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError)
115 119
116 // Messages sent from the renderer to the browser. 120 // Messages sent from the renderer to the browser.
117 121
118 // Sent to notify the browser about renderer accessibility events. 122 // Sent to notify the browser about renderer accessibility events.
119 // The browser responds with a AccessibilityMsg_Events_ACK. 123 // The browser responds with a AccessibilityMsg_Events_ACK.
120 IPC_MESSAGE_ROUTED1( 124 IPC_MESSAGE_ROUTED1(
121 AccessibilityHostMsg_Events, 125 AccessibilityHostMsg_Events,
122 std::vector<AccessibilityHostMsg_EventParams>) 126 std::vector<AccessibilityHostMsg_EventParams>)
123 127
124 // Sent to update the browser of the location of accessibility objects. 128 // Sent to update the browser of the location of accessibility objects.
125 IPC_MESSAGE_ROUTED1( 129 IPC_MESSAGE_ROUTED1(
126 AccessibilityHostMsg_LocationChanges, 130 AccessibilityHostMsg_LocationChanges,
127 std::vector<AccessibilityHostMsg_LocationChangeParams>) 131 std::vector<AccessibilityHostMsg_LocationChangeParams>)
OLDNEW
« no previous file with comments | « content/browser/renderer_host/render_widget_host_impl.cc ('k') | content/content_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698