diff options
author | rijubrata.bhaumik@intel.com <rijubrata.bhaumik@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 11:51:20 +0000 |
---|---|---|
committer | rijubrata.bhaumik@intel.com <rijubrata.bhaumik@intel.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-27 11:51:20 +0000 |
commit | 13a878290c1475ad9f99b9fb7c87ace39e0ad6e5 (patch) | |
tree | 353727eafd3ea5be17b4ffe362beb9a70d0fc2de /ipc | |
parent | 7998eeed580bc958d7b570d68a344f3c20a5d598 (diff) | |
download | chromium_src-13a878290c1475ad9f99b9fb7c87ace39e0ad6e5.zip chromium_src-13a878290c1475ad9f99b9fb7c87ace39e0ad6e5.tar.gz chromium_src-13a878290c1475ad9f99b9fb7c87ace39e0ad6e5.tar.bz2 |
[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
Diffstat (limited to 'ipc')
-rw-r--r-- | ipc/ipc_message_start.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ipc/ipc_message_start.h b/ipc/ipc_message_start.h index e89f285..5b4b217 100644 --- a/ipc/ipc_message_start.h +++ b/ipc/ipc_message_start.h @@ -43,6 +43,7 @@ enum IPCMessageStart { ClipboardMsgStart, BlobMsgStart, AppCacheMsgStart, + DeviceLightMsgStart, DeviceMotionMsgStart, DeviceOrientationMsgStart, DesktopNotificationMsgStart, |