Reland: Refactor DeviceOrientationEventPump to use generic sensor as its backend

The initial upload patch of this CL is the same as:
https://chromium-review.googlesource.com/c/chromium/src/+/656139
The above CL was reverted because of the issue 775874:
https://bugs.chromium.org/p/chromium/issues/detail?id=775874
Two CLs were landed to fix the above issue:
https://chromium-review.googlesource.com/c/chromium/src/+/727239
https://chromium-review.googlesource.com/c/chromium/src/+/730646

And no code change has been made to the following patches of this CL and it is
still the same as the above reverted CL.

[email protected], [email protected], [email protected]

Bug: 721427, 775874
Change-Id: I9f64a97814644a467ec542b6293a6b44fc1b43c1
Reviewed-on: https://chromium-review.googlesource.com/726261
Reviewed-by: Jun Cai <[email protected]>
Commit-Queue: Jun Cai <[email protected]>
Cr-Commit-Position: refs/heads/master@{#511553}
12 files changed