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

Unified Diff: client/html/generated/src/wrapping/_AudioNodeWrappingImplementation.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 side-by-side diff with in-line comments
Download patch
Index: client/html/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
diff --git a/client/html/generated/src/wrapping/_AudioNodeWrappingImplementation.dart b/client/html/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
new file mode 100644
index 0000000000000000000000000000000000000000..daf9cc9befc012f3f221fbaf78f4671f51310121
--- /dev/null
+++ b/client/html/generated/src/wrapping/_AudioNodeWrappingImplementation.dart
@@ -0,0 +1,43 @@
+// Copyright (c) 2011, 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.
+
+// WARNING: Do not edit - generated code.
+
+class AudioNodeWrappingImplementation extends DOMWrapperBase implements AudioNode {
+ AudioNodeWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
+
+ AudioContext get context() { return LevelDom.wrapAudioContext(_ptr.context); }
+
+ int get numberOfInputs() { return _ptr.numberOfInputs; }
+
+ int get numberOfOutputs() { return _ptr.numberOfOutputs; }
+
+ void connect(AudioNode destination, [int output, int input]) {
+ if (output === null) {
+ if (input === null) {
+ _ptr.connect(LevelDom.unwrap(destination));
+ return;
+ }
+ } else {
+ if (input === null) {
+ _ptr.connect(LevelDom.unwrap(destination), output);
+ return;
+ } else {
+ _ptr.connect(LevelDom.unwrap(destination), output, input);
+ return;
+ }
+ }
+ throw "Incorrect number or type of arguments";
+ }
+
+ void disconnect([int output]) {
+ if (output === null) {
+ _ptr.disconnect();
+ return;
+ } else {
+ _ptr.disconnect(output);
+ return;
+ }
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698