[DeviceLight] Add renderer+common parts

Adding the Renderer and Common part in the content side for the DeviceLight API.
Add Unit tests for deviceLight pump
Add DeviceLight support in renderer_webkitplatformsupport_impl.h|cc

The default polling time interval of DeviceLightEventPump 
is right now set as of 200 milliseconds. 
(device motion/orientation = 50ms)

In Firefox (Android) implementation, DeviceLight's frequency of
update is set as SensorManager.SENSOR_DELAY_NORMAL which in Android
parlance translates to 200 milliseconds delay which is 5 times a second.
Ofcourse the delay is only a suggested delay, system typically uses a
smaller delay.

BUG=336424

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280306 0039d316-1c4b-4281-b951-d872f2087c98


CrOS-Libchrome-Original-Commit: 13a878290c1475ad9f99b9fb7c87ace39e0ad6e5
1 file changed
tree: c5a4207f41ec2a1cd1e36abcae580db17e7db3e9
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/