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

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

Issue 9317046: Make dart:dom implementation types private so they don't muddle the docs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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 HTMLMediaElementJs extends HTMLElementJs implements HTMLMediaElement nativ e "*HTMLMediaElement" { 2 class _HTMLMediaElementJs extends _HTMLElementJs implements HTMLMediaElement nat ive "*HTMLMediaElement" {
3 3
4 static final int EOS_DECODE_ERR = 2; 4 static final int EOS_DECODE_ERR = 2;
5 5
6 static final int EOS_NETWORK_ERR = 1; 6 static final int EOS_NETWORK_ERR = 1;
7 7
8 static final int EOS_NO_ERROR = 0; 8 static final int EOS_NO_ERROR = 0;
9 9
10 static final int HAVE_CURRENT_DATA = 2; 10 static final int HAVE_CURRENT_DATA = 2;
11 11
12 static final int HAVE_ENOUGH_DATA = 4; 12 static final int HAVE_ENOUGH_DATA = 4;
(...skipping 15 matching lines...) Expand all
28 static final int SOURCE_CLOSED = 0; 28 static final int SOURCE_CLOSED = 0;
29 29
30 static final int SOURCE_ENDED = 2; 30 static final int SOURCE_ENDED = 2;
31 31
32 static final int SOURCE_OPEN = 1; 32 static final int SOURCE_OPEN = 1;
33 33
34 bool get autoplay() native "return this.autoplay;"; 34 bool get autoplay() native "return this.autoplay;";
35 35
36 void set autoplay(bool value) native "this.autoplay = value;"; 36 void set autoplay(bool value) native "this.autoplay = value;";
37 37
38 TimeRangesJs get buffered() native "return this.buffered;"; 38 _TimeRangesJs get buffered() native "return this.buffered;";
39 39
40 MediaControllerJs get controller() native "return this.controller;"; 40 _MediaControllerJs get controller() native "return this.controller;";
41 41
42 void set controller(MediaControllerJs value) native "this.controller = value;" ; 42 void set controller(_MediaControllerJs value) native "this.controller = value; ";
43 43
44 bool get controls() native "return this.controls;"; 44 bool get controls() native "return this.controls;";
45 45
46 void set controls(bool value) native "this.controls = value;"; 46 void set controls(bool value) native "this.controls = value;";
47 47
48 String get currentSrc() native "return this.currentSrc;"; 48 String get currentSrc() native "return this.currentSrc;";
49 49
50 num get currentTime() native "return this.currentTime;"; 50 num get currentTime() native "return this.currentTime;";
51 51
52 void set currentTime(num value) native "this.currentTime = value;"; 52 void set currentTime(num value) native "this.currentTime = value;";
53 53
54 bool get defaultMuted() native "return this.defaultMuted;"; 54 bool get defaultMuted() native "return this.defaultMuted;";
55 55
56 void set defaultMuted(bool value) native "this.defaultMuted = value;"; 56 void set defaultMuted(bool value) native "this.defaultMuted = value;";
57 57
58 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;"; 58 num get defaultPlaybackRate() native "return this.defaultPlaybackRate;";
59 59
60 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;"; 60 void set defaultPlaybackRate(num value) native "this.defaultPlaybackRate = val ue;";
61 61
62 num get duration() native "return this.duration;"; 62 num get duration() native "return this.duration;";
63 63
64 bool get ended() native "return this.ended;"; 64 bool get ended() native "return this.ended;";
65 65
66 MediaErrorJs get error() native "return this.error;"; 66 _MediaErrorJs get error() native "return this.error;";
67 67
68 num get initialTime() native "return this.initialTime;"; 68 num get initialTime() native "return this.initialTime;";
69 69
70 bool get loop() native "return this.loop;"; 70 bool get loop() native "return this.loop;";
71 71
72 void set loop(bool value) native "this.loop = value;"; 72 void set loop(bool value) native "this.loop = value;";
73 73
74 String get mediaGroup() native "return this.mediaGroup;"; 74 String get mediaGroup() native "return this.mediaGroup;";
75 75
76 void set mediaGroup(String value) native "this.mediaGroup = value;"; 76 void set mediaGroup(String value) native "this.mediaGroup = value;";
77 77
78 bool get muted() native "return this.muted;"; 78 bool get muted() native "return this.muted;";
79 79
80 void set muted(bool value) native "this.muted = value;"; 80 void set muted(bool value) native "this.muted = value;";
81 81
82 int get networkState() native "return this.networkState;"; 82 int get networkState() native "return this.networkState;";
83 83
84 bool get paused() native "return this.paused;"; 84 bool get paused() native "return this.paused;";
85 85
86 num get playbackRate() native "return this.playbackRate;"; 86 num get playbackRate() native "return this.playbackRate;";
87 87
88 void set playbackRate(num value) native "this.playbackRate = value;"; 88 void set playbackRate(num value) native "this.playbackRate = value;";
89 89
90 TimeRangesJs get played() native "return this.played;"; 90 _TimeRangesJs get played() native "return this.played;";
91 91
92 String get preload() native "return this.preload;"; 92 String get preload() native "return this.preload;";
93 93
94 void set preload(String value) native "this.preload = value;"; 94 void set preload(String value) native "this.preload = value;";
95 95
96 int get readyState() native "return this.readyState;"; 96 int get readyState() native "return this.readyState;";
97 97
98 TimeRangesJs get seekable() native "return this.seekable;"; 98 _TimeRangesJs get seekable() native "return this.seekable;";
99 99
100 bool get seeking() native "return this.seeking;"; 100 bool get seeking() native "return this.seeking;";
101 101
102 String get src() native "return this.src;"; 102 String get src() native "return this.src;";
103 103
104 void set src(String value) native "this.src = value;"; 104 void set src(String value) native "this.src = value;";
105 105
106 num get startTime() native "return this.startTime;"; 106 num get startTime() native "return this.startTime;";
107 107
108 TextTrackListJs get textTracks() native "return this.textTracks;"; 108 _TextTrackListJs get textTracks() native "return this.textTracks;";
109 109
110 num get volume() native "return this.volume;"; 110 num get volume() native "return this.volume;";
111 111
112 void set volume(num value) native "this.volume = value;"; 112 void set volume(num value) native "this.volume = value;";
113 113
114 int get webkitAudioDecodedByteCount() native "return this.webkitAudioDecodedBy teCount;"; 114 int get webkitAudioDecodedByteCount() native "return this.webkitAudioDecodedBy teCount;";
115 115
116 bool get webkitClosedCaptionsVisible() native "return this.webkitClosedCaption sVisible;"; 116 bool get webkitClosedCaptionsVisible() native "return this.webkitClosedCaption sVisible;";
117 117
118 void set webkitClosedCaptionsVisible(bool value) native "this.webkitClosedCapt ionsVisible = value;"; 118 void set webkitClosedCaptionsVisible(bool value) native "this.webkitClosedCapt ionsVisible = value;";
119 119
120 bool get webkitHasClosedCaptions() native "return this.webkitHasClosedCaptions ;"; 120 bool get webkitHasClosedCaptions() native "return this.webkitHasClosedCaptions ;";
121 121
122 String get webkitMediaSourceURL() native "return this.webkitMediaSourceURL;"; 122 String get webkitMediaSourceURL() native "return this.webkitMediaSourceURL;";
123 123
124 bool get webkitPreservesPitch() native "return this.webkitPreservesPitch;"; 124 bool get webkitPreservesPitch() native "return this.webkitPreservesPitch;";
125 125
126 void set webkitPreservesPitch(bool value) native "this.webkitPreservesPitch = value;"; 126 void set webkitPreservesPitch(bool value) native "this.webkitPreservesPitch = value;";
127 127
128 int get webkitSourceState() native "return this.webkitSourceState;"; 128 int get webkitSourceState() native "return this.webkitSourceState;";
129 129
130 int get webkitVideoDecodedByteCount() native "return this.webkitVideoDecodedBy teCount;"; 130 int get webkitVideoDecodedByteCount() native "return this.webkitVideoDecodedBy teCount;";
131 131
132 TextTrackJs addTrack(String kind, [String label = null, String language = null ]) native; 132 _TextTrackJs addTrack(String kind, [String label = null, String language = nul l]) native;
133 133
134 String canPlayType(String type) native; 134 String canPlayType(String type) native;
135 135
136 void load() native; 136 void load() native;
137 137
138 void pause() native; 138 void pause() native;
139 139
140 void play() native; 140 void play() native;
141 141
142 void webkitSourceAppend(Uint8ArrayJs data) native; 142 void webkitSourceAppend(_Uint8ArrayJs data) native;
143 143
144 void webkitSourceEndOfStream(int status) native; 144 void webkitSourceEndOfStream(int status) native;
145 } 145 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLMarqueeElement.dart ('k') | client/dom/generated/src/frog/HTMLMenuElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698