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

Side by Side Diff: client/dom/generated/src/interface/MediaStream.dart

Issue 9428050: Automatically generate most constructors (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add test 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 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 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. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 // WARNING: Do not edit - generated code. 5 // WARNING: Do not edit - generated code.
6 6
7 interface MediaStream { 7 interface MediaStream default _MediaStreamFactoryProvider {
8
9 MediaStream(MediaStreamTrackList audioTracks, MediaStreamTrackList videoTracks );
8 10
9 static final int ENDED = 2; 11 static final int ENDED = 2;
10 12
11 static final int LIVE = 1; 13 static final int LIVE = 1;
12 14
13 final MediaStreamTrackList audioTracks; 15 final MediaStreamTrackList audioTracks;
14 16
15 final String label; 17 final String label;
16 18
17 EventListener onended; 19 EventListener onended;
18 20
19 final int readyState; 21 final int readyState;
20 22
21 final MediaStreamTrackList videoTracks; 23 final MediaStreamTrackList videoTracks;
22 24
23 void addEventListener(String type, EventListener listener, [bool useCapture]); 25 void addEventListener(String type, EventListener listener, [bool useCapture]);
24 26
25 bool dispatchEvent(Event event); 27 bool dispatchEvent(Event event);
26 28
27 void removeEventListener(String type, EventListener listener, [bool useCapture ]); 29 void removeEventListener(String type, EventListener listener, [bool useCapture ]);
28 } 30 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/MediaController.dart ('k') | client/dom/generated/src/interface/MessageChannel.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698