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

Unified Diff: tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate

Issue 11510013: Making ScriptProcessorNode not an EventTarget. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate b/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
new file mode 100644
index 0000000000000000000000000000000000000000..b5e6d202c2106400c90e7ee6a634896a08ff9e5c
--- /dev/null
+++ b/tools/dom/templates/html/impl/impl_ScriptProcessorNode.darttemplate
@@ -0,0 +1,18 @@
+// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
+// for details. All rights reserved. Use of this source code is governed by a
+// BSD-style license that can be found in the LICENSE file.
+
+part of $LIBRARY;
+
+$(ANNOTATIONS)class $CLASSNAME$EXTENDS$NATIVESPEC {
+ void set onAudioProcess(EventListener listener) {
blois 2013/03/13 00:46:49 should probably be void callback(AudioProcessingEv
podivilov 2013/03/13 07:57:56 AFAIR we deliberately abandoned attribute event li
Emily Fortuna 2013/03/13 23:35:21 The reason this can't fit in like all the other ev
+$if DART2JS
+ JS('void', '#.onaudioprocess = #', this,
+ convertDartClosureToJS(listener, 1));
+$else
+ //TODO(antonm): Get this working on Dartium.
+$endif
+ }
+$!MEMBERS
podivilov 2013/03/13 07:57:56 There's no onAudioProcess getter, right? Is it int
+}
+
« tests/html/html.status ('K') | « tools/dom/templates/html/dart2js/web_audio_dart2js.darttemplate ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698