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

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

Issue 8835006: New version of dart:html (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix typos Created 9 years 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 MediaS tream {
8 MediaStreamWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 String get label() { return _ptr.label; }
11
12 EventListener get onended() { return LevelDom.wrapEventListener(_ptr.onended); }
13
14 void set onended(EventListener value) { _ptr.onended = LevelDom.unwrap(value); }
15
16 int get readyState() { return _ptr.readyState; }
17
18 MediaStreamTrackList get tracks() { return LevelDom.wrapMediaStreamTrackList(_ ptr.tracks); }
19
20 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
21 if (useCapture === null) {
22 _ptr.addEventListener(type, LevelDom.unwrap(listener));
23 return;
24 } else {
25 _ptr.addEventListener(type, LevelDom.unwrap(listener), useCapture);
26 return;
27 }
28 }
29
30 bool dispatchEvent(Event event) {
31 return _ptr.dispatchEvent(LevelDom.unwrap(event));
32 }
33
34 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
35 if (useCapture === null) {
36 _ptr.removeEventListener(type, LevelDom.unwrap(listener));
37 return;
38 } else {
39 _ptr.removeEventListener(type, LevelDom.unwrap(listener), useCapture);
40 return;
41 }
42 }
43 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698