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

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: Tweak to algorithm to find highest leaf ancestor 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
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 117
113 // Kill the renderer because we got a fatal error in the accessibility tree. 118 // Kill the renderer because we got a fatal error in the accessibility tree.
114 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError) 119 IPC_MESSAGE_ROUTED0(AccessibilityMsg_FatalError)
115 120
116 // Messages sent from the renderer to the browser. 121 // Messages sent from the renderer to the browser.
117 122
118 // Sent to notify the browser about renderer accessibility events. 123 // Sent to notify the browser about renderer accessibility events.
119 // The browser responds with a AccessibilityMsg_Events_ACK. 124 // The browser responds with a AccessibilityMsg_Events_ACK.
120 IPC_MESSAGE_ROUTED1( 125 IPC_MESSAGE_ROUTED1(
121 AccessibilityHostMsg_Events, 126 AccessibilityHostMsg_Events,
122 std::vector<AccessibilityHostMsg_EventParams>) 127 std::vector<AccessibilityHostMsg_EventParams>)
123 128
124 // Sent to update the browser of the location of accessibility objects. 129 // Sent to update the browser of the location of accessibility objects.
125 IPC_MESSAGE_ROUTED1( 130 IPC_MESSAGE_ROUTED1(
126 AccessibilityHostMsg_LocationChanges, 131 AccessibilityHostMsg_LocationChanges,
127 std::vector<AccessibilityHostMsg_LocationChangeParams>) 132 std::vector<AccessibilityHostMsg_LocationChangeParams>)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698