Use BeginFrameArgs.frame_time on scroll resampling

Previously we use tick_clock_->Now() on dispatching queued input for
scroll resampling, but the time is not actual vsync time/frame time.
It's not regular and can affect by delays in the pipeline, and this
causes some bad prediction result.

This CL changes to use frame_time from BeginFrameArgs, which is
the correct vsync time.
Besides, this also disable deliver input on high latency mode when
resampling is enable. Because resampling/prediction on high latency
doesn't make sense, there is no "correct" timestamp in this case.

Bug: 969697
Change-Id: I5516656c1d1419cf5fbf990a23122bb04a4fbe33
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1681263
Reviewed-by: Robert Flack <flackr@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Ella Ge <eirage@chromium.org>
Cr-Commit-Position: refs/heads/master@{#675812}
9 files changed