| 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 // https://w3c.github.io/uievents/#idl-def-WheelEventInit |
| 6 | 6 |
| 7 dictionary WheelEventInit : MouseEventInit { | 7 dictionary WheelEventInit : MouseEventInit { |
| 8 double deltaX = 0.0; | 8 double deltaX = 0.0; |
| 9 double deltaY = 0.0; | 9 double deltaY = 0.0; |
| 10 double deltaZ = 0.0; | 10 double deltaZ = 0.0; |
| 11 unsigned long deltaMode = 0; | 11 unsigned long deltaMode = 0; |
| 12 | 12 |
| 13 // Non-standard. Deprecated. | 13 // Non-standard APIs |
| 14 long wheelDeltaX = 0; | 14 long wheelDeltaX = 0; |
| 15 long wheelDeltaY = 0; | 15 long wheelDeltaY = 0; |
| 16 }; | 16 }; |
| OLD | NEW |