[vr] Apply content move suppression in UiInputManager

The change in https://chromium-review.googlesource.com/567384 did not
have exactly the same behaviour as the change in
https://codereview.chromium.org/2944453002. This CL moves the content
move suppression as per the previous CL and introduces a testing
framework for the UiInputManager.

Bug: 741020, 743014
Change-Id: Idd8fb0a1c6fb3f74c24dc555b1a72e0c7c3bc611
Reviewed-on: https://chromium-review.googlesource.com/573100
Commit-Queue: Ian Vollick <vollick@chromium.org>
Reviewed-by: Michael Thiessen <mthiesse@chromium.org>
Reviewed-by: Tibor Goldschwendt <tiborg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#487104}
12 files changed