Add plumbing for platform based Device Orientation testing.
This CL implements injection of a mock WebDeviceOrientationData object into the Platform for testing purposes. Once the mock WebDeviceOrientationData is set it will be returned as a one-shot event when Blink registers its DeviceOrientationListener through the platform using setDeviceOrientationListener method.
BUG=261165
Review URL: https://chromiumcodereview.appspot.com/22565002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@217873 0039d316-1c4b-4281-b951-d872f2087c98
6 files changed