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

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

Issue 8872040: JavaScriptAudioNode is an EventTarget. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge 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
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file 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 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 class _JavaScriptAudioNodeWrappingImplementation extends _AudioNodeWrappingImple mentation implements JavaScriptAudioNode { 7 class _JavaScriptAudioNodeWrappingImplementation extends _AudioNodeWrappingImple mentation implements JavaScriptAudioNode {
8 _JavaScriptAudioNodeWrappingImplementation() : super() {} 8 _JavaScriptAudioNodeWrappingImplementation() : super() {}
9 9
10 static create__JavaScriptAudioNodeWrappingImplementation() native { 10 static create__JavaScriptAudioNodeWrappingImplementation() native {
11 return new _JavaScriptAudioNodeWrappingImplementation(); 11 return new _JavaScriptAudioNodeWrappingImplementation();
12 } 12 }
13 13
14 int get bufferSize() { return _get_bufferSize(this); } 14 int get bufferSize() { return _get_bufferSize(this); }
15 static int _get_bufferSize(var _this) native; 15 static int _get_bufferSize(var _this) native;
16 16
17 // From EventTarget
18
19 void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
20 if (useCapture === null) {
21 _addEventListener(this, type, listener);
22 return;
23 } else {
24 _addEventListener_2(this, type, listener, useCapture);
25 return;
26 }
27 }
28 static void _addEventListener(receiver, type, listener) native;
29 static void _addEventListener_2(receiver, type, listener, useCapture) native;
30
31 bool dispatchEvent(Event event) {
32 return _dispatchEvent(this, event);
33 }
34 static bool _dispatchEvent(receiver, event) native;
35
36 void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
37 if (useCapture === null) {
38 _removeEventListener(this, type, listener);
39 return;
40 } else {
41 _removeEventListener_2(this, type, listener, useCapture);
42 return;
43 }
44 }
45 static void _removeEventListener(receiver, type, listener) native;
46 static void _removeEventListener_2(receiver, type, listener, useCapture) nativ e;
47
17 String get typeName() { return "JavaScriptAudioNode"; } 48 String get typeName() { return "JavaScriptAudioNode"; }
18 } 49 }
OLDNEW
« no previous file with comments | « client/dom/generated/src/interface/JavaScriptAudioNode.dart ('k') | client/dom/generated/wrapping_dom.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698