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

Side by Side Diff: client/html/generated/html/interface/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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file.
4
5 // WARNING: Do not edit - generated code.
6
7 interface MediaElement extends Element {
8
9 static final int EOS_DECODE_ERR = 2;
10
11 static final int EOS_NETWORK_ERR = 1;
12
13 static final int EOS_NO_ERROR = 0;
14
15 static final int HAVE_CURRENT_DATA = 2;
16
17 static final int HAVE_ENOUGH_DATA = 4;
18
19 static final int HAVE_FUTURE_DATA = 3;
20
21 static final int HAVE_METADATA = 1;
22
23 static final int HAVE_NOTHING = 0;
24
25 static final int NETWORK_EMPTY = 0;
26
27 static final int NETWORK_IDLE = 1;
28
29 static final int NETWORK_LOADING = 2;
30
31 static final int NETWORK_NO_SOURCE = 3;
32
33 static final int SOURCE_CLOSED = 0;
34
35 static final int SOURCE_ENDED = 2;
36
37 static final int SOURCE_OPEN = 1;
38
39 bool autoplay;
40
41 final TimeRanges buffered;
42
43 MediaController controller;
44
45 bool controls;
46
47 final String currentSrc;
48
49 num currentTime;
50
51 bool defaultMuted;
52
53 num defaultPlaybackRate;
54
55 final num duration;
56
57 final bool ended;
58
59 final MediaError error;
60
61 final num initialTime;
62
63 bool loop;
64
65 String mediaGroup;
66
67 bool muted;
68
69 final int networkState;
70
71 final bool paused;
72
73 num playbackRate;
74
75 final TimeRanges played;
76
77 String preload;
78
79 final int readyState;
80
81 final TimeRanges seekable;
82
83 final bool seeking;
84
85 String src;
86
87 final num startTime;
88
89 final TextTrackList textTracks;
90
91 num volume;
92
93 final int webkitAudioDecodedByteCount;
94
95 bool webkitClosedCaptionsVisible;
96
97 final bool webkitHasClosedCaptions;
98
99 final String webkitMediaSourceURL;
100
101 bool webkitPreservesPitch;
102
103 final int webkitSourceState;
104
105 final int webkitVideoDecodedByteCount;
106
107 TextTrack addTextTrack(String kind, [String label, String language]);
108
109 String canPlayType(String type);
110
111 void load();
112
113 void pause();
114
115 void play();
116
117 void webkitSourceAppend(Uint8Array data);
118
119 void webkitSourceEndOfStream(int status);
120 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698