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

Side by Side Diff: client/dom/generated/src/frog/TouchEvent.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 _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent " { 2 class _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent " {
3 3
4 bool get altKey() native "return this.altKey;"; 4 final bool altKey;
5 5
6 _TouchListJs get changedTouches() native "return this.changedTouches;"; 6 final _TouchListJs changedTouches;
7 7
8 bool get ctrlKey() native "return this.ctrlKey;"; 8 final bool ctrlKey;
9 9
10 bool get metaKey() native "return this.metaKey;"; 10 final bool metaKey;
11 11
12 bool get shiftKey() native "return this.shiftKey;"; 12 final bool shiftKey;
13 13
14 _TouchListJs get targetTouches() native "return this.targetTouches;"; 14 final _TouchListJs targetTouches;
15 15
16 _TouchListJs get touches() native "return this.touches;"; 16 final _TouchListJs touches;
17 17
18 void initTouchEvent(_TouchListJs touches, _TouchListJs targetTouches, _TouchLi stJs changedTouches, String type, _DOMWindowJs view, int screenX, int screenY, i nt clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native; 18 void initTouchEvent(_TouchListJs touches, _TouchListJs targetTouches, _TouchLi stJs changedTouches, String type, _DOMWindowJs view, int screenX, int screenY, i nt clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
19 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698