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

Side by Side Diff: client/dom/generated/src/frog/MediaController.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 MediaController native "*MediaController" { 2 class MediaControllerJS implements MediaController native "*MediaController" {
3 3
4 TimeRanges get buffered() native "return this.buffered;"; 4 TimeRangesJS get buffered() native "return this.buffered;";
5 5
6 num get currentTime() native "return this.currentTime;"; 6 num get currentTime() native "return this.currentTime;";
7 7
8 void set currentTime(num value) native "this.currentTime = value;"; 8 void set currentTime(num value) native "this.currentTime = value;";
9 9
10 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;"; 10 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;";
11 11
12 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;"; 12 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;";
13 13
14 num get duration() native "return this.duration;"; 14 num get duration() native "return this.duration;";
15 15
16 bool get muted() native "return this.muted;"; 16 bool get muted() native "return this.muted;";
17 17
18 void set muted(bool value) native "this.muted = value;"; 18 void set muted(bool value) native "this.muted = value;";
19 19
20 bool get paused() native "return this.paused;"; 20 bool get paused() native "return this.paused;";
21 21
22 num get playbackRate() native "return this.playbackRate;"; 22 num get playbackRate() native "return this.playbackRate;";
23 23
24 void set playbackRate(num value) native "this.playbackRate = value;"; 24 void set playbackRate(num value) native "this.playbackRate = value;";
25 25
26 TimeRanges get played() native "return this.played;"; 26 TimeRangesJS get played() native "return this.played;";
27 27
28 TimeRanges get seekable() native "return this.seekable;"; 28 TimeRangesJS get seekable() native "return this.seekable;";
29 29
30 num get volume() native "return this.volume;"; 30 num get volume() native "return this.volume;";
31 31
32 void set volume(num value) native "this.volume = value;"; 32 void set volume(num value) native "this.volume = value;";
33 33
34 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native; 34 void addEventListener(String type, EventListener listener, [bool useCapture = null]) native;
35 35
36 bool dispatchEvent(Event evt) native; 36 bool dispatchEvent(EventJS evt) native;
37 37
38 void pause() native; 38 void pause() native;
39 39
40 void play() native; 40 void play() native;
41 41
42 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native; 42 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) native;
43 43
44 var dartObjectLocalStorage; 44 var dartObjectLocalStorage;
45 45
46 String get typeName() native; 46 String get typeName() native;
47 } 47 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/LowPass2FilterNode.dart ('k') | client/dom/generated/src/frog/MediaElementAudioSourceNode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698