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

Side by Side Diff: client/dom/generated/src/frog/TextTrackList.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 _TextTrackListJs extends _DOMTypeJs implements TextTrackList native "*Text TrackList" { 2 class _TextTrackListJs extends _DOMTypeJs implements TextTrackList native "*Text TrackList" {
3 3
4 int get length() native "return this.length;"; 4 final int length;
5 5
6 EventListener get onaddtrack() native "return this.onaddtrack;"; 6 EventListener onaddtrack;
7
8 void set onaddtrack(EventListener value) native "this.onaddtrack = value;";
9 7
10 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 8 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
11 9
12 bool dispatchEvent(_EventJs evt) native; 10 bool dispatchEvent(_EventJs evt) native;
13 11
14 _TextTrackJs item(int index) native; 12 _TextTrackJs item(int index) native;
15 13
16 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 14 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
17 } 15 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698