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

Unified Diff: client/dom/generated/src/frog/AudioBufferSourceNode.dart

Issue 9221006: Move frog dart:dom from fields to getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: comment Created 8 years, 11 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
« no previous file with comments | « client/dom/generated/src/frog/AudioBuffer.dart ('k') | client/dom/generated/src/frog/AudioContext.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/AudioBufferSourceNode.dart
diff --git a/client/dom/generated/src/frog/AudioBufferSourceNode.dart b/client/dom/generated/src/frog/AudioBufferSourceNode.dart
index 66f1e2b2741761e66290f6b6633aed9438658e6f..7c0e78ea3c9b1dfbada2cc6e72bb8b9f5e1f3b27 100644
--- a/client/dom/generated/src/frog/AudioBufferSourceNode.dart
+++ b/client/dom/generated/src/frog/AudioBufferSourceNode.dart
@@ -1,15 +1,21 @@
class AudioBufferSourceNode extends AudioSourceNode native "*AudioBufferSourceNode" {
- AudioBuffer buffer;
+ AudioBuffer get buffer() native "return this.buffer;";
- AudioGain gain;
+ void set buffer(AudioBuffer value) native "this.buffer = value;";
- bool loop;
+ AudioGain get gain() native "return this.gain;";
- bool looping;
+ bool get loop() native "return this.loop;";
- AudioParam playbackRate;
+ void set loop(bool value) native "this.loop = value;";
+
+ bool get looping() native "return this.looping;";
+
+ void set looping(bool value) native "this.looping = value;";
+
+ AudioParam get playbackRate() native "return this.playbackRate;";
void noteGrainOn(num when, num grainOffset, num grainDuration) native;
« no previous file with comments | « client/dom/generated/src/frog/AudioBuffer.dart ('k') | client/dom/generated/src/frog/AudioContext.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698