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

Unified Diff: client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart

Issue 8894029: Generate EventListener attributes of non-EventTarget classes. (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 side-by-side diff with in-line comments
Download patch
Index: client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart
diff --git a/client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart b/client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart
index 258710210ad7735e25243d0ea424feef0b9f1e01..c32dbbca476ea459d36be0bb23a9420f748c93e0 100644
--- a/client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart
+++ b/client/dom/generated/src/wrapping/_JavaScriptAudioNodeWrappingImplementation.dart
@@ -14,36 +14,11 @@ class _JavaScriptAudioNodeWrappingImplementation extends _AudioNodeWrappingImple
int get bufferSize() { return _get_bufferSize(this); }
static int _get_bufferSize(var _this) native;
- // From EventTarget
+ EventListener get onaudioprocess() { return _get_onaudioprocess(this); }
+ static EventListener _get_onaudioprocess(var _this) native;
- void addEventListener(String type, EventListener listener, [bool useCapture = null]) {
- if (useCapture === null) {
- _addEventListener(this, type, listener);
- return;
- } else {
- _addEventListener_2(this, type, listener, useCapture);
- return;
- }
- }
- static void _addEventListener(receiver, type, listener) native;
- static void _addEventListener_2(receiver, type, listener, useCapture) native;
-
- bool dispatchEvent(Event event) {
- return _dispatchEvent(this, event);
- }
- static bool _dispatchEvent(receiver, event) native;
-
- void removeEventListener(String type, EventListener listener, [bool useCapture = null]) {
- if (useCapture === null) {
- _removeEventListener(this, type, listener);
- return;
- } else {
- _removeEventListener_2(this, type, listener, useCapture);
- return;
- }
- }
- static void _removeEventListener(receiver, type, listener) native;
- static void _removeEventListener_2(receiver, type, listener, useCapture) native;
+ void set onaudioprocess(EventListener value) { _set_onaudioprocess(this, value); }
+ static void _set_onaudioprocess(var _this, EventListener value) native;
String get typeName() { return "JavaScriptAudioNode"; }
}

Powered by Google App Engine
This is Rietveld 408576698