Fixes chrome.automation.AutomationNode.hitTestWithReply
This change: - properly passes through AXActionData.request_id -> AXEvent.action_request_id - this id is used with the AutomationNode.hitTestWithReply(x, y, callback) action/function. When called, the action populates the action request id, which eventually makes its way to AutomationManagerAura. There, AutomationManagerAura::PostEvent dropped all fields of the action except for event to fire and the node id. - we resolve both paths were this was being dropped. Hit tests that land on a view, and hit tests that are directly on a window. R=dmazzoni@chromium.org, hirokisato@chromium.org Test: call hitTestWithReply on ARC++; verify receive a hit test result on the exo surface window in the reply callback. Change-Id: I177b255f4b3a1d0f3baf81d2c4ede23d370a8ed7 AX-Relnotes: n/a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2254344Reviewed-by:Hiroki Sato <hirokisato@chromium.org> Commit-Queue: David Tseng <dtseng@chromium.org> Cr-Commit-Position: refs/heads/master@{#780813}
Showing
Please register or sign in to comment