Reland of Ignore pointer capture target while calculating click target (patchset #1 id:1 of https://codereview.chromium.org/2764813004/ )

Reason for revert:
Reverting didn't fix
https://build.chromium.org/p/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/7242
so this patch seems innocent.

Original issue's description:
> Revert of Ignore pointer capture target while calculating click target (patchset #1 id:1 of https://codereview.chromium.org/2755753003/ )
>
> Reason for revert:
> Tentative revert. Hit testing broke in the following tests, and this patch looks the most closely related:
>
> AccessibilityHitTestingBrowserTest.HitTestingInIframes
> AccessibilityHitTestingBrowserTest.CachingAsyncHitTestingInIframes
>
> Original issue's description:
> > Ignore pointer capture target while calculating click target
> >
> > After https://codereview.chromium.org/2681443003
> > it turns out we are creating some regressions.
> > So this change keeps the essence of the original
> > change for the purpose of keeping the metric but
> > ignores the target that is calculated from the
> > captured target and use the original click target
> > regardless of the capturing.
> >
> > BUG=701599, 699933
> >
> > Review-Url: https://codereview.chromium.org/2755753003
> > Cr-Commit-Position: refs/heads/master@{#458091}
> > Committed: https://chromium.googlesource.com/chromium/src/+/ddb951c0cc2912acd57e4238677b82e6360ac1ad
>
> TBR=dtapuska@chromium.org,mustaq@chromium.org,bokan@chromium.org,nzolghadr@chromium.org
> # Skipping CQ checks because original CL landed less than 1 days ago.
> NOPRESUBMIT=true
> NOTREECHECKS=true
> NOTRY=true
> BUG=701599, 699933
>
> Review-Url: https://codereview.chromium.org/2764813004
> Cr-Commit-Position: refs/heads/master@{#458382}
> Committed: https://chromium.googlesource.com/chromium/src/+/38052ae353aee8c943b570b5a2c10be82a48c1ae

TBR=dtapuska@chromium.org,mustaq@chromium.org,bokan@chromium.org,nzolghadr@chromium.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=701599, 699933

Review-Url: https://codereview.chromium.org/2765683003
Cr-Commit-Position: refs/heads/master@{#458431}
3 files changed