| OLD | NEW |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of $LIBRARYNAME; | 5 part of $LIBRARYNAME; |
| 6 | 6 |
| 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { | 7 $(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC { |
| 8 | 8 |
| 9 factory WheelEvent(String type, | 9 factory WheelEvent(String type, |
| 10 {Window view, int deltaX: 0, int deltaY: 0, | 10 {Window view, int deltaX: 0, int deltaY: 0, |
| (...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 int deltaX, | 190 int deltaX, |
| 191 int deltaY, | 191 int deltaY, |
| 192 int deltaZ, | 192 int deltaZ, |
| 193 int deltaMode) native; | 193 int deltaMode) native; |
| 194 | 194 |
| 195 $else | 195 $else |
| 196 @DomName('WheelEvent.deltaX') | 196 @DomName('WheelEvent.deltaX') |
| 197 num get deltaX => $dom_wheelDeltaX; | 197 num get deltaX => $dom_wheelDeltaX; |
| 198 @DomName('WheelEvent.deltaY') | 198 @DomName('WheelEvent.deltaY') |
| 199 num get deltaY => $dom_wheelDeltaY; | 199 num get deltaY => $dom_wheelDeltaY; |
| 200 @DomName('WheelEvent.deltaMode') | |
| 201 int get deltaMode => 0; | |
| 202 | 200 |
| 203 $endif | 201 $endif |
| 204 } | 202 } |
| OLD | NEW |