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

Unified Diff: client/html/generated/html/frog/MediaElement.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, 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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/html/frog/MediaElement.dart
diff --git a/client/html/generated/html/frog/MediaElement.dart b/client/html/generated/html/frog/MediaElement.dart
new file mode 100644
index 0000000000000000000000000000000000000000..d927cc3a26d387e5e3a909cb35485d925a2ac8b8
--- /dev/null
+++ b/client/html/generated/html/frog/MediaElement.dart
@@ -0,0 +1,115 @@
+
+class _MediaElementImpl extends _ElementImpl implements MediaElement 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;
+
+ static final int HAVE_FUTURE_DATA = 3;
+
+ static final int HAVE_METADATA = 1;
+
+ static final int HAVE_NOTHING = 0;
+
+ static final int NETWORK_EMPTY = 0;
+
+ static final int NETWORK_IDLE = 1;
+
+ static final int NETWORK_LOADING = 2;
+
+ 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;
+
+ final _TimeRangesImpl buffered;
+
+ _MediaControllerImpl controller;
+
+ bool controls;
+
+ final String currentSrc;
+
+ num currentTime;
+
+ bool defaultMuted;
+
+ num defaultPlaybackRate;
+
+ final num duration;
+
+ final bool ended;
+
+ final _MediaErrorImpl error;
+
+ final num initialTime;
+
+ bool loop;
+
+ String mediaGroup;
+
+ bool muted;
+
+ final int networkState;
+
+ final bool paused;
+
+ num playbackRate;
+
+ final _TimeRangesImpl played;
+
+ String preload;
+
+ final int readyState;
+
+ final _TimeRangesImpl seekable;
+
+ final bool seeking;
+
+ String src;
+
+ final num startTime;
+
+ final _TextTrackListImpl textTracks;
+
+ num volume;
+
+ final int webkitAudioDecodedByteCount;
+
+ bool webkitClosedCaptionsVisible;
+
+ final bool webkitHasClosedCaptions;
+
+ final String webkitMediaSourceURL;
+
+ bool webkitPreservesPitch;
+
+ final int webkitSourceState;
+
+ final int webkitVideoDecodedByteCount;
+
+ _TextTrackImpl addTextTrack(String kind, [String label = null, String language = null]) native;
+
+ String canPlayType(String type) native;
+
+ void load() native;
+
+ void pause() native;
+
+ void play() native;
+
+ void webkitSourceAppend(_Uint8ArrayImpl data) native;
+
+ void webkitSourceEndOfStream(int status) native;
+}

Powered by Google App Engine
This is Rietveld 408576698