Use the pinch viewport offset for tap disambiguation.
commit29a8d0f6913edc6afb99d1dda3f3f35eb96b8c0a
authortimav <timav@chromium.org>
Thu, 25 Sep 2014 20:45:53 +0000 (25 13:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Thu, 25 Sep 2014 20:46:31 +0000 (25 20:46 +0000)
tree92b8370f2ebf2a812c9dc480f4f97b1374f17195
parent6a4eb0c42d3f1b29f82b7e49f33b89ea6eadc6a9
Use the pinch viewport offset for tap disambiguation.

Obtain the inner viewport origin, touch and target rectangles
from the Blink relative to the outer viewport.
Use the zoom rectangle in the outer viewport coordinates for bitmap
generation but the inner viewport coordinates for the calculation
of the physical window zoom rect.

This change is part 2 of 2 (part 1 is Blink side change https://codereview.chromium.org/584893004).

BUG=370470

Review URL: https://codereview.chromium.org/595693002

Cr-Commit-Position: refs/heads/master@{#296786}
content/renderer/render_view_impl.cc
content/renderer/render_view_impl.h