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

Side by Side Diff: client/dom/generated/src/frog/UIEvent.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 _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" { 2 class _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" {
3 3
4 int get charCode() native "return this.charCode;"; 4 final int charCode;
5 5
6 int get detail() native "return this.detail;"; 6 final int detail;
7 7
8 int get keyCode() native "return this.keyCode;"; 8 final int keyCode;
9 9
10 int get layerX() native "return this.layerX;"; 10 final int layerX;
11 11
12 int get layerY() native "return this.layerY;"; 12 final int layerY;
13 13
14 int get pageX() native "return this.pageX;"; 14 final int pageX;
15 15
16 int get pageY() native "return this.pageY;"; 16 final int pageY;
17 17
18 _DOMWindowJs get view() native "return this.view;"; 18 final _DOMWindowJs view;
19 19
20 int get which() native "return this.which;"; 20 final int which;
21 21
22 void initUIEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs vi ew, int detail) native; 22 void initUIEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs vi ew, int detail) native;
23 } 23 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698