Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(282)

Side by Side Diff: client/dom/generated/src/frog/WheelEvent.dart

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent " { 2 class _WheelEventJs extends _UIEventJs implements WheelEvent native "*WheelEvent " {
3 3
4 bool get altKey() native "return this.altKey;"; 4 final bool altKey;
5 5
6 int get clientX() native "return this.clientX;"; 6 final int clientX;
7 7
8 int get clientY() native "return this.clientY;"; 8 final int clientY;
9 9
10 bool get ctrlKey() native "return this.ctrlKey;"; 10 final bool ctrlKey;
11 11
12 bool get metaKey() native "return this.metaKey;"; 12 final bool metaKey;
13 13
14 int get offsetX() native "return this.offsetX;"; 14 final int offsetX;
15 15
16 int get offsetY() native "return this.offsetY;"; 16 final int offsetY;
17 17
18 int get screenX() native "return this.screenX;"; 18 final int screenX;
19 19
20 int get screenY() native "return this.screenY;"; 20 final int screenY;
21 21
22 bool get shiftKey() native "return this.shiftKey;"; 22 final bool shiftKey;
23 23
24 bool get webkitDirectionInvertedFromDevice() native "return this.webkitDirecti onInvertedFromDevice;"; 24 final bool webkitDirectionInvertedFromDevice;
25 25
26 int get wheelDelta() native "return this.wheelDelta;"; 26 final int wheelDelta;
27 27
28 int get wheelDeltaX() native "return this.wheelDeltaX;"; 28 final int wheelDeltaX;
29 29
30 int get wheelDeltaY() native "return this.wheelDeltaY;"; 30 final int wheelDeltaY;
31 31
32 int get x() native "return this.x;"; 32 final int x;
33 33
34 int get y() native "return this.y;"; 34 final int y;
35 35
36 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; 36 void initWebKitWheelEvent(int wheelDeltaX, int wheelDeltaY, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
37 } 37 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698