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

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

Issue 8895013: Add enables consistent with Chrome's WebKit (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Alpha the ENABLEs Created 9 years 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 HTMLMediaElement extends HTMLElement native "HTMLMediaElement" { 2 class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
3 3
4 static final int EOS_DECODE_ERR = 2;
5
6 static final int EOS_NETWORK_ERR = 1;
7
8 static final int EOS_NO_ERROR = 0;
9
4 static final int HAVE_CURRENT_DATA = 2; 10 static final int HAVE_CURRENT_DATA = 2;
5 11
6 static final int HAVE_ENOUGH_DATA = 4; 12 static final int HAVE_ENOUGH_DATA = 4;
7 13
8 static final int HAVE_FUTURE_DATA = 3; 14 static final int HAVE_FUTURE_DATA = 3;
9 15
10 static final int HAVE_METADATA = 1; 16 static final int HAVE_METADATA = 1;
11 17
12 static final int HAVE_NOTHING = 0; 18 static final int HAVE_NOTHING = 0;
13 19
14 static final int NETWORK_EMPTY = 0; 20 static final int NETWORK_EMPTY = 0;
15 21
16 static final int NETWORK_IDLE = 1; 22 static final int NETWORK_IDLE = 1;
17 23
18 static final int NETWORK_LOADING = 2; 24 static final int NETWORK_LOADING = 2;
19 25
20 static final int NETWORK_NO_SOURCE = 3; 26 static final int NETWORK_NO_SOURCE = 3;
21 27
28 static final int SOURCE_CLOSED = 0;
29
30 static final int SOURCE_ENDED = 2;
31
32 static final int SOURCE_OPEN = 1;
33
22 bool autoplay; 34 bool autoplay;
23 35
24 TimeRanges buffered; 36 TimeRanges buffered;
25 37
26 bool controls; 38 bool controls;
27 39
28 String currentSrc; 40 String currentSrc;
29 41
30 num currentTime; 42 num currentTime;
31 43
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 num startTime; 78 num startTime;
67 79
68 num volume; 80 num volume;
69 81
70 int webkitAudioDecodedByteCount; 82 int webkitAudioDecodedByteCount;
71 83
72 bool webkitClosedCaptionsVisible; 84 bool webkitClosedCaptionsVisible;
73 85
74 bool webkitHasClosedCaptions; 86 bool webkitHasClosedCaptions;
75 87
88 String webkitMediaSourceURL;
89
76 bool webkitPreservesPitch; 90 bool webkitPreservesPitch;
77 91
92 int webkitSourceState;
93
78 int webkitVideoDecodedByteCount; 94 int webkitVideoDecodedByteCount;
79 95
96 TextTrack addTrack(String kind, [String label = null, String language = null]) native;
97
80 String canPlayType(String type) native; 98 String canPlayType(String type) native;
81 99
82 void load() native; 100 void load() native;
83 101
84 void pause() native; 102 void pause() native;
85 103
86 void play() native; 104 void play() native;
105
106 void webkitSourceAppend(Uint8Array data) native;
107
108 void webkitSourceEndOfStream(int status) native;
87 } 109 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/frog/HTMLIFrameElement.dart ('k') | client/dom/generated/src/frog/HTMLObjectElement.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698