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

Side by Side Diff: client/dom/generated/src/frog/TextTrack.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 _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" { 2 class _TextTrackJs extends _DOMTypeJs implements TextTrack native "*TextTrack" {
3 3
4 static final int DISABLED = 0; 4 static final int DISABLED = 0;
5 5
6 static final int HIDDEN = 1; 6 static final int HIDDEN = 1;
7 7
8 static final int SHOWING = 2; 8 static final int SHOWING = 2;
9 9
10 _TextTrackCueListJs get activeCues() native "return this.activeCues;"; 10 final _TextTrackCueListJs activeCues;
11 11
12 _TextTrackCueListJs get cues() native "return this.cues;"; 12 final _TextTrackCueListJs cues;
13 13
14 String get kind() native "return this.kind;"; 14 final String kind;
15 15
16 String get label() native "return this.label;"; 16 final String label;
17 17
18 String get language() native "return this.language;"; 18 final String language;
19 19
20 int get mode() native "return this.mode;"; 20 int mode;
21 21
22 void set mode(int value) native "this.mode = value;"; 22 EventListener oncuechange;
23
24 EventListener get oncuechange() native "return this.oncuechange;";
25
26 void set oncuechange(EventListener value) native "this.oncuechange = value;";
27 23
28 void addCue(_TextTrackCueJs cue) native; 24 void addCue(_TextTrackCueJs cue) native;
29 25
30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 26 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
31 27
32 bool dispatchEvent(_EventJs evt) native; 28 bool dispatchEvent(_EventJs evt) native;
33 29
34 void removeCue(_TextTrackCueJs cue) native; 30 void removeCue(_TextTrackCueJs cue) native;
35 31
36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 32 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
37 } 33 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698