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

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

Issue 9233028: Frog dart:dom using interfaces and native implementation classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 8 years, 11 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 TextTrack native "*TextTrack" { 2 class TextTrackJS 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 TextTrackCueList get activeCues() native "return this.activeCues;"; 10 TextTrackCueListJS get activeCues() native "return this.activeCues;";
11 11
12 TextTrackCueList get cues() native "return this.cues;"; 12 TextTrackCueListJS get cues() native "return this.cues;";
13 13
14 String get kind() native "return this.kind;"; 14 String get kind() native "return this.kind;";
15 15
16 String get label() native "return this.label;"; 16 String get label() native "return this.label;";
17 17
18 String get language() native "return this.language;"; 18 String get language() native "return this.language;";
19 19
20 int get mode() native "return this.mode;"; 20 int get mode() native "return this.mode;";
21 21
22 void set mode(int value) native "this.mode = value;"; 22 void set mode(int value) native "this.mode = value;";
23 23
24 EventListener get oncuechange() native "return this.oncuechange;"; 24 EventListener get oncuechange() native "return this.oncuechange;";
25 25
26 void set oncuechange(EventListener value) native "this.oncuechange = value;"; 26 void set oncuechange(EventListener value) native "this.oncuechange = value;";
27 27
28 void addCue(TextTrackCue cue) native; 28 void addCue(TextTrackCueJS cue) native;
29 29
30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 30 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
31 31
32 bool dispatchEvent(Event evt) native; 32 bool dispatchEvent(EventJS evt) native;
33 33
34 void removeCue(TextTrackCue cue) native; 34 void removeCue(TextTrackCueJS cue) native;
35 35
36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
37 37
38 var dartObjectLocalStorage; 38 var dartObjectLocalStorage;
39 39
40 String get typeName() native; 40 String get typeName() native;
41 } 41 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/TextMetrics.dart ('k') | client/dom/generated/src/frog/TextTrackCue.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698