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

Side by Side Diff: client/html/generated/html/dartium/TextTrack.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 9 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
(Empty)
1
2 class _TextTrackImpl extends _DOMTypeBase implements TextTrack {
3 _TextTrackImpl._wrap(ptr) : super._wrap(ptr);
4
5 TextTrackCueList get activeCues() => _wrap(_ptr.activeCues);
6
7 TextTrackCueList get cues() => _wrap(_ptr.cues);
8
9 String get kind() => _wrap(_ptr.kind);
10
11 String get label() => _wrap(_ptr.label);
12
13 String get language() => _wrap(_ptr.language);
14
15 int get mode() => _wrap(_ptr.mode);
16
17 void set mode(int value) { _ptr.mode = _unwrap(value); }
18
19 EventListener get oncuechange() => _wrap(_ptr.oncuechange);
20
21 void set oncuechange(EventListener value) { _ptr.oncuechange = _unwrap(value); }
22
23 void addCue(TextTrackCue cue) {
24 _ptr.addCue(_unwrap(cue));
25 return;
26 }
27
28 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
29 if (useCapture === null) {
30 _ptr.addEventListener(_unwrap(type), _unwrap(listener));
31 return;
32 } else {
33 _ptr.addEventListener(_unwrap(type), _unwrap(listener), _unwrap(useCapture ));
34 return;
35 }
36 }
37
38 bool dispatchEvent(Event evt) {
39 return _wrap(_ptr.dispatchEvent(_unwrap(evt)));
40 }
41
42 void removeCue(TextTrackCue cue) {
43 _ptr.removeCue(_unwrap(cue));
44 return;
45 }
46
47 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
48 if (useCapture === null) {
49 _ptr.removeEventListener(_unwrap(type), _unwrap(listener));
50 return;
51 } else {
52 _ptr.removeEventListener(_unwrap(type), _unwrap(listener), _unwrap(useCapt ure));
53 return;
54 }
55 }
56 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698