OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // http://www.w3.org/TR/DOM-Level-3-Events/#interface-WheelEvent | 5 // http://www.w3.org/TR/DOM-Level-3-Events/#interface-WheelEvent |
6 | 6 |
7 dictionary WheelEventInit : MouseEventInit { | 7 [ |
| 8 TypeChecking=Unrestricted, |
| 9 ] dictionary WheelEventInit : MouseEventInit { |
8 double deltaX = 0.0; | 10 double deltaX = 0.0; |
9 double deltaY = 0.0; | 11 double deltaY = 0.0; |
10 double deltaZ = 0.0; | 12 double deltaZ = 0.0; |
11 unsigned long deltaMode = 0; | 13 unsigned long deltaMode = 0; |
12 | 14 |
13 // Non-standard. Deprecated. | 15 // Non-standard. Deprecated. |
14 long wheelDeltaX = 0; | 16 long wheelDeltaX = 0; |
15 long wheelDeltaY = 0; | 17 long wheelDeltaY = 0; |
16 }; | 18 }; |
OLD | NEW |