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

Unified Diff: client/html/generated/html/dartium/AudioNode.dart

Issue 9537001: Generate dart:html bindings for Dartium as well as Frog. All unittests now pass (or are disabled fo… (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: client/html/generated/html/dartium/AudioNode.dart
diff --git a/client/html/generated/html/dartium/AudioNode.dart b/client/html/generated/html/dartium/AudioNode.dart
new file mode 100644
index 0000000000000000000000000000000000000000..5af747405786afb45e23419264e7e3ced95df9d8
--- /dev/null
+++ b/client/html/generated/html/dartium/AudioNode.dart
@@ -0,0 +1,20 @@
+
+class _AudioNodeImpl extends _DOMTypeBase implements AudioNode {
+ _AudioNodeImpl._wrap(ptr) : super._wrap(ptr);
+
+ AudioContext get context() => _wrap(_ptr.context);
+
+ int get numberOfInputs() => _wrap(_ptr.numberOfInputs);
+
+ int get numberOfOutputs() => _wrap(_ptr.numberOfOutputs);
+
+ void connect(AudioNode destination, int output, int input) {
+ _ptr.connect(_unwrap(destination), _unwrap(output), _unwrap(input));
+ return;
+ }
+
+ void disconnect(int output) {
+ _ptr.disconnect(_unwrap(output));
+ return;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698