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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/frog/HTMLMediaElement.dart
diff --git a/client/dom/generated/src/frog/HTMLMediaElement.dart b/client/dom/generated/src/frog/HTMLMediaElement.dart
index d63acf0b8aa2b87b649c1ac47a5d46bde5df4159..1b51797675c988ce7bf7e9d7f324a53d2bc5c7f7 100644
--- a/client/dom/generated/src/frog/HTMLMediaElement.dart
+++ b/client/dom/generated/src/frog/HTMLMediaElement.dart
@@ -1,6 +1,12 @@
class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
+ static final int EOS_DECODE_ERR = 2;
+
+ static final int EOS_NETWORK_ERR = 1;
+
+ static final int EOS_NO_ERROR = 0;
+
static final int HAVE_CURRENT_DATA = 2;
static final int HAVE_ENOUGH_DATA = 4;
@@ -19,6 +25,12 @@ class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
static final int NETWORK_NO_SOURCE = 3;
+ static final int SOURCE_CLOSED = 0;
+
+ static final int SOURCE_ENDED = 2;
+
+ static final int SOURCE_OPEN = 1;
+
bool autoplay;
TimeRanges buffered;
@@ -73,10 +85,16 @@ class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
bool webkitHasClosedCaptions;
+ String webkitMediaSourceURL;
+
bool webkitPreservesPitch;
+ int webkitSourceState;
+
int webkitVideoDecodedByteCount;
+ TextTrack addTrack(String kind, [String label = null, String language = null]) native;
+
String canPlayType(String type) native;
void load() native;
@@ -84,4 +102,8 @@ class HTMLMediaElement extends HTMLElement native "HTMLMediaElement" {
void pause() native;
void play() native;
+
+ void webkitSourceAppend(Uint8Array data) native;
+
+ void webkitSourceEndOfStream(int status) native;
}
« 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