Commit 2061e81e authored by W. James MacLean's avatar W. James MacLean Committed by Commit Bot

Remove unused accessibility IPC.

It appears that AccessibilityMsg_HitTest is no longer used, having been
replaced by calling AccessibilityMsg_PerformAction with an action of
Action::kHitTest.

Bug: 977381
Change-Id: I888cb1767ab5a3fb85e6fdb17f895cee25e87b5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1674344Reviewed-by: default avatarNasko Oskov <nasko@chromium.org>
Commit-Queue: James MacLean <wjmaclean@chromium.org>
Cr-Commit-Position: refs/heads/master@{#672044}
parent d944beb2
...@@ -139,18 +139,6 @@ IPC_STRUCT_END() ...@@ -139,18 +139,6 @@ IPC_STRUCT_END()
IPC_MESSAGE_ROUTED1(AccessibilityMsg_PerformAction, IPC_MESSAGE_ROUTED1(AccessibilityMsg_PerformAction,
ui::AXActionData /* action parameters */) ui::AXActionData /* action parameters */)
// Determine the accessibility object under a given point.
//
// If the target is an object with a child frame (like if the hit test
// result is an iframe element), it responds with
// AccessibilityHostMsg_ChildFrameHitTestResult so that the
// hit test can be performed recursively on the child frame. Otherwise
// it fires an accessibility event of type |event_to_fire| on the target.
IPC_MESSAGE_ROUTED3(AccessibilityMsg_HitTest,
gfx::Point /* location to test */,
ax::mojom::Event /* event to fire */,
int /* action request id */)
// Tells the render view that a AccessibilityHostMsg_EventBundle // Tells the render view that a AccessibilityHostMsg_EventBundle
// message was processed and it can send additional updates. The argument // message was processed and it can send additional updates. The argument
// must be the same as the ack_token passed to // must be the same as the ack_token passed to
...@@ -202,7 +190,7 @@ IPC_MESSAGE_ROUTED1( ...@@ -202,7 +190,7 @@ IPC_MESSAGE_ROUTED1(
AccessibilityHostMsg_FindInPageResult, AccessibilityHostMsg_FindInPageResult,
AccessibilityHostMsg_FindInPageResultParams) AccessibilityHostMsg_FindInPageResultParams)
// Sent in response to AccessibilityMsg_HitTest. // Sent in response to PerformAction with parameter kHitTest.
IPC_MESSAGE_ROUTED5(AccessibilityHostMsg_ChildFrameHitTestResult, IPC_MESSAGE_ROUTED5(AccessibilityHostMsg_ChildFrameHitTestResult,
int /* action request id of initial caller */, int /* action request id of initial caller */,
gfx::Point /* location tested */, gfx::Point /* location tested */,
......
...@@ -256,7 +256,6 @@ bool RenderAccessibilityImpl::OnMessageReceived(const IPC::Message& message) { ...@@ -256,7 +256,6 @@ bool RenderAccessibilityImpl::OnMessageReceived(const IPC::Message& message) {
IPC_MESSAGE_HANDLER(AccessibilityMsg_PerformAction, OnPerformAction) IPC_MESSAGE_HANDLER(AccessibilityMsg_PerformAction, OnPerformAction)
IPC_MESSAGE_HANDLER(AccessibilityMsg_EventBundle_ACK, OnEventsAck) IPC_MESSAGE_HANDLER(AccessibilityMsg_EventBundle_ACK, OnEventsAck)
IPC_MESSAGE_HANDLER(AccessibilityMsg_HitTest, OnHitTest)
IPC_MESSAGE_HANDLER(AccessibilityMsg_Reset, OnReset) IPC_MESSAGE_HANDLER(AccessibilityMsg_Reset, OnReset)
IPC_MESSAGE_HANDLER(AccessibilityMsg_FatalError, OnFatalError) IPC_MESSAGE_HANDLER(AccessibilityMsg_FatalError, OnFatalError)
IPC_MESSAGE_UNHANDLED(handled = false) IPC_MESSAGE_UNHANDLED(handled = false)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment