Use async targeting to find drag and drop targets
Add callback supports to the RenderWidgetTargeter and use the async targetting in drag and drop code and register a callback to send drag events using the callback. Note that since drag and drop events aren't WebInputEvent it is not possible to use FindTargetAndDispatch function of RenderWidgetTargeter at this time. The original CL https://chromium-review.googlesource.com/c/chromium/src/+/1596840 was reverted due the added test being flaky. This CL is the same as the original CL expect it has the same test with another way of checking the logic. TBR=sadrul@chromium.org Change-Id: I95ac25a554a2964c3c5a0ebeee97b4d041d74a24 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1642979Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Commit-Queue: Navid Zolghadr <nzolghadr@chromium.org> Cr-Commit-Position: refs/heads/master@{#666334}
Showing
This diff is collapsed.
Please register or sign in to comment