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

Side by Side 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, 9 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
(Empty)
1
2 class _MediaElementImpl extends _ElementImpl implements MediaElement native "*HT MLMediaElement" {
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
10 static final int HAVE_CURRENT_DATA = 2;
11
12 static final int HAVE_ENOUGH_DATA = 4;
13
14 static final int HAVE_FUTURE_DATA = 3;
15
16 static final int HAVE_METADATA = 1;
17
18 static final int HAVE_NOTHING = 0;
19
20 static final int NETWORK_EMPTY = 0;
21
22 static final int NETWORK_IDLE = 1;
23
24 static final int NETWORK_LOADING = 2;
25
26 static final int NETWORK_NO_SOURCE = 3;
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
34 bool autoplay;
35
36 final _TimeRangesImpl buffered;
37
38 _MediaControllerImpl controller;
39
40 bool controls;
41
42 final String currentSrc;
43
44 num currentTime;
45
46 bool defaultMuted;
47
48 num defaultPlaybackRate;
49
50 final num duration;
51
52 final bool ended;
53
54 final _MediaErrorImpl error;
55
56 final num initialTime;
57
58 bool loop;
59
60 String mediaGroup;
61
62 bool muted;
63
64 final int networkState;
65
66 final bool paused;
67
68 num playbackRate;
69
70 final _TimeRangesImpl played;
71
72 String preload;
73
74 final int readyState;
75
76 final _TimeRangesImpl seekable;
77
78 final bool seeking;
79
80 String src;
81
82 final num startTime;
83
84 final _TextTrackListImpl textTracks;
85
86 num volume;
87
88 final int webkitAudioDecodedByteCount;
89
90 bool webkitClosedCaptionsVisible;
91
92 final bool webkitHasClosedCaptions;
93
94 final String webkitMediaSourceURL;
95
96 bool webkitPreservesPitch;
97
98 final int webkitSourceState;
99
100 final int webkitVideoDecodedByteCount;
101
102 _TextTrackImpl addTextTrack(String kind, [String label = null, String language = null]) native;
103
104 String canPlayType(String type) native;
105
106 void load() native;
107
108 void pause() native;
109
110 void play() native;
111
112 void webkitSourceAppend(_Uint8ArrayImpl data) native;
113
114 void webkitSourceEndOfStream(int status) native;
115 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698