Instead of guessing, compute center point of Guest View for test.
commitf293d2be06ee72ea958b35c83336d0ebbe1bcbf6
authorwjmaclean <wjmaclean@chromium.org>
Wed, 24 Jun 2015 01:05:44 +0000 (23 18:05 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 24 Jun 2015 01:06:05 +0000 (24 01:06 +0000)
tree2164fb3f6164735b9d1b3a63241171b281422f63
parente75a498951318d4deb65d40ce8b2def44cd5abc0
Instead of guessing, compute center point of Guest View for test.

The CL modifies WebViewFocusTest.TouchFocusesEmbedder to compute the
center of the Guest View as the target for the synthetic touch event,
instead of just guessing at the coordinate.

BUG=503499

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

Cr-Commit-Position: refs/heads/master@{#335837}
chrome/browser/apps/guest_view/web_view_browsertest.cc