Make the device_orientation_event_pump fire null events.
commitaa32a27f0634f11a311e2f4b62f26bcd8a2b1533
authortimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Mar 2014 20:49:35 +0000 (27 20:49 +0000)
committertimvolodine@chromium.org <timvolodine@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 27 Mar 2014 20:49:35 +0000 (27 20:49 +0000)
tree2f964b1750beecae2000068cb4731bc42105df88
parentae760345b132ccb6b50e8a758dd4e8d2662e93c5
Make the device_orientation_event_pump fire null events.

On devices where sensor data is not available Device Orientation
API should fire a null-event. This patch makes sure that the event
is fired in case no angle value can be provided.

BUG=356693

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@259975 0039d316-1c4b-4281-b951-d872f2087c98
content/renderer/device_orientation/device_orientation_event_pump.cc
content/renderer/device_orientation/device_orientation_event_pump_unittest.cc