Update telemetry tests that rely on window.innerWidth/Height.

window.scroll properties have been relative to the visual viewport. This breaks
some pages under pinch-zoom (see crbug.com/489206). This CL fixes the telemetry
tests that would fail if window.scroll properties are changed to be relative
to the layout viewport. This CL adds an api method to get the visual viewport
size instead of getting it from window.innerWidth and window.innerHeight.

See crbug.com/433794 for some history.

BUG=489206

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

Cr-Commit-Position: refs/heads/master@{#354071}
6 files changed