Chromium Code Reviews
Description[Mac] Make deviceorientationabsolute implementation conform with the specification.
Absolute device orientation cannot be provided on Mac machines.
This patch makes sure that this is handled according to spec, i.e.
by propagating a one-off all-null event to let the web page know
no data can be provided for this event type.
spec:
http://w3c.github.io/deviceorientation/spec-source-orientation.html
TEST=http://timvolodine.github.io/deviceorientation-test/
BUG=609094
Committed: https://crrev.com/7bf8fdb21b7aec50889a725ceea2ebf72d484994
Cr-Commit-Position: refs/heads/master@{#394569}
Patch Set 1 #Patch Set 2 : add code in Stop() and set absolute to true #Messages
Total messages: 16 (8 generated)
|