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

Unified Diff: client/dom/generated/src/frog/AudioBuffer.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/Attr.dart ('k') | client/dom/generated/src/frog/AudioBufferSourceNode.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: client/dom/generated/src/frog/AudioBuffer.dart
diff --git a/client/dom/generated/src/frog/AudioBuffer.dart b/client/dom/generated/src/frog/AudioBuffer.dart
index 032af0f8e1bb4f7efe9f91668eabc16b6bdbd837..319ec39fce9dfee15ddf67bbb3e05e766997d270 100644
--- a/client/dom/generated/src/frog/AudioBuffer.dart
+++ b/client/dom/generated/src/frog/AudioBuffer.dart
@@ -1,15 +1,17 @@
class AudioBuffer native "*AudioBuffer" {
- num duration;
+ num get duration() native "return this.duration;";
- num gain;
+ num get gain() native "return this.gain;";
- int length;
+ void set gain(num value) native "this.gain = value;";
- int numberOfChannels;
+ int get length() native "return this.length;";
- num sampleRate;
+ int get numberOfChannels() native "return this.numberOfChannels;";
+
+ num get sampleRate() native "return this.sampleRate;";
Float32Array getChannelData(int channelIndex) native;
« no previous file with comments | « client/dom/generated/src/frog/Attr.dart ('k') | client/dom/generated/src/frog/AudioBufferSourceNode.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698