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

Side by Side Diff: client/dom/generated/src/wrapping/_MediaStreamWrappingImplementation.dart

Issue 8574040: Support DOMString[] and regenerate from IDL (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix Window.postMessage Created 9 years, 1 month 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) 2011, 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 class _MediaStreamWrappingImplementation extends DOMWrapperBase implements Media Stream {
8 _MediaStreamWrappingImplementation() : super() {}
9
10 static create__MediaStreamWrappingImplementation() native {
11 return new _MediaStreamWrappingImplementation();
12 }
13
14 String get label() { return _get__MediaStream_label(this); }
15 static String _get__MediaStream_label(var _this) native;
16
17 EventListener get onended() { return _get__MediaStream_onended(this); }
18 static EventListener _get__MediaStream_onended(var _this) native;
19
20 void set onended(EventListener value) { _set__MediaStream_onended(this, value) ; }
21 static void _set__MediaStream_onended(var _this, EventListener value) native;
22
23 int get readyState() { return _get__MediaStream_readyState(this); }
24 static int _get__MediaStream_readyState(var _this) native;
25
26 MediaStreamTrackList get tracks() { return _get__MediaStream_tracks(this); }
27 static MediaStreamTrackList _get__MediaStream_tracks(var _this) native;
28
29 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
30 if (useCapture === null) {
31 _addEventListener(this, type, listener);
32 return;
33 } else {
34 _addEventListener_2(this, type, listener, useCapture);
35 return;
36 }
37 }
38 static void _addEventListener(receiver, type, listener) native;
39 static void _addEventListener_2(receiver, type, listener, useCapture) native;
40
41 bool dispatchEvent(Event event) {
42 return _dispatchEvent(this, event);
43 }
44 static bool _dispatchEvent(receiver, event) native;
45
46 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
47 if (useCapture === null) {
48 _removeEventListener(this, type, listener);
49 return;
50 } else {
51 _removeEventListener_2(this, type, listener, useCapture);
52 return;
53 }
54 }
55 static void _removeEventListener(receiver, type, listener) native;
56 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
57
58 String get typeName() { return "MediaStream"; }
59 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698