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

Unified Diff: client/html/generated/html/dartium/AudioBufferSourceNode.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/AudioBufferSourceNode.dart
diff --git a/client/html/generated/html/dartium/AudioBufferSourceNode.dart b/client/html/generated/html/dartium/AudioBufferSourceNode.dart
new file mode 100644
index 0000000000000000000000000000000000000000..4b81933fe68bb6adf3d6984241301aa0487e9739
--- /dev/null
+++ b/client/html/generated/html/dartium/AudioBufferSourceNode.dart
@@ -0,0 +1,35 @@
+
+class _AudioBufferSourceNodeImpl extends _AudioSourceNodeImpl implements AudioBufferSourceNode {
+ _AudioBufferSourceNodeImpl._wrap(ptr) : super._wrap(ptr);
+
+ AudioBuffer get buffer() => _wrap(_ptr.buffer);
+
+ void set buffer(AudioBuffer value) { _ptr.buffer = _unwrap(value); }
+
+ AudioGain get gain() => _wrap(_ptr.gain);
+
+ bool get loop() => _wrap(_ptr.loop);
+
+ void set loop(bool value) { _ptr.loop = _unwrap(value); }
+
+ bool get looping() => _wrap(_ptr.looping);
+
+ void set looping(bool value) { _ptr.looping = _unwrap(value); }
+
+ AudioParam get playbackRate() => _wrap(_ptr.playbackRate);
+
+ void noteGrainOn(num when, num grainOffset, num grainDuration) {
+ _ptr.noteGrainOn(_unwrap(when), _unwrap(grainOffset), _unwrap(grainDuration));
+ return;
+ }
+
+ void noteOff(num when) {
+ _ptr.noteOff(_unwrap(when));
+ return;
+ }
+
+ void noteOn(num when) {
+ _ptr.noteOn(_unwrap(when));
+ return;
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698