DescriptionEnable Device Motion API on all platforms by default.
After this change the JavaScript expression 'window.DeviceMotionEvent'
will start evaluating to true on all platforms.
For Android, Windows and Mac devices with accelerometer and
gyroscope sensors events will start being delivered.
For devices without such sensors, and for other platforms
(e.g. Chrome OS, Linux) which do not have corresponding sensor
data fetcher implementations, we'll deliver a one-shot event
with all properties set the NULL, per the specification.
This patch also removes the obsolete 'enable-device-motion'
flag, instead the 'disable-device-motion' flag is available.
BUG=135804
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224164
Patch Set 1 #
Total comments: 2
Patch Set 2 : remove enable-device-motion flag #
Messages
Total messages: 11 (0 generated)
|