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

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

Issue 16494002: Expand overloaded methods and optional parameters in the html library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 6 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_AudioNode.darttemplate
diff --git a/tools/dom/templates/html/impl/impl_AudioNode.darttemplate b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate
new file mode 100644
index 0000000000000000000000000000000000000000..ec6ee5db1cdc1e7992051fb1a1a2a284429f73ec
--- /dev/null
+++ b/tools/dom/templates/html/impl/impl_AudioNode.darttemplate
@@ -0,0 +1,16 @@
+// Copyright (c) 2012, 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 web_audio;
+
+$(ANNOTATIONS)class $CLASSNAME$EXTENDS$IMPLEMENTS$NATIVESPEC {
+$!MEMBERS
+ @DomName('AudioNode.connect')
+ void connectNode(AudioNode destination, [int output = 0, int input = 0]) =>
+ $dom_connect(destination, output, input);
+
+ @DomName('AudioNode.connect')
+ void connectParam(AudioParam destination, [int output = 0]) =>
+ $dom_connect(destination, output);
+}
« no previous file with comments | « tools/dom/templates/html/dart2js/impl_URL.darttemplate ('k') | tools/dom/templates/html/impl/impl_IDBDatabase.darttemplate » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698