OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // https://www.w3.org/TR/2016/CR-orientation-event-20160818/#deviceorientation | 5 // https://w3c.github.io/deviceorientation/spec-source-orientation.html#deviceor
ientation |
6 | 6 |
7 dictionary DeviceOrientationEventInit : EventInit { | 7 dictionary DeviceOrientationEventInit : EventInit { |
8 double? alpha = null; | 8 double? alpha = null; |
9 double? beta = null; | 9 double? beta = null; |
10 double? gamma = null; | 10 double? gamma = null; |
11 boolean absolute = false; | 11 boolean absolute = false; |
12 }; | 12 }; |
OLD | NEW |