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

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

Issue 9312003: Use fields in hidden native DOM classes instead of getters/setters. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Also fix native 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
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 91826a8a4ea944a61d8054bbf28460e16391b820..a00bd285097d6f852de87dc4205beba2ce6104a5 100644
--- a/client/dom/generated/src/frog/AudioBufferSourceNode.dart
+++ b/client/dom/generated/src/frog/AudioBufferSourceNode.dart
@@ -1,21 +1,15 @@
class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBufferSourceNode native "*AudioBufferSourceNode" {
- _AudioBufferJs get buffer() native "return this.buffer;";
+ _AudioBufferJs buffer;
- void set buffer(_AudioBufferJs value) native "this.buffer = value;";
+ final _AudioGainJs gain;
- _AudioGainJs get gain() native "return this.gain;";
+ bool loop;
- bool get loop() native "return this.loop;";
+ bool looping;
- 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;";
-
- _AudioParamJs get playbackRate() native "return this.playbackRate;";
+ final _AudioParamJs playbackRate;
void noteGrainOn(num when, num grainOffset, num grainDuration) native;

Powered by Google App Engine
This is Rietveld 408576698