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

Side by Side 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, 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer SourceNode native "*AudioBufferSourceNode" { 2 class _AudioBufferSourceNodeJs extends _AudioSourceNodeJs implements AudioBuffer SourceNode native "*AudioBufferSourceNode" {
3 3
4 _AudioBufferJs get buffer() native "return this.buffer;"; 4 _AudioBufferJs buffer;
5 5
6 void set buffer(_AudioBufferJs value) native "this.buffer = value;"; 6 final _AudioGainJs gain;
7 7
8 _AudioGainJs get gain() native "return this.gain;"; 8 bool loop;
9 9
10 bool get loop() native "return this.loop;"; 10 bool looping;
11 11
12 void set loop(bool value) native "this.loop = value;"; 12 final _AudioParamJs playbackRate;
13
14 bool get looping() native "return this.looping;";
15
16 void set looping(bool value) native "this.looping = value;";
17
18 _AudioParamJs get playbackRate() native "return this.playbackRate;";
19 13
20 void noteGrainOn(num when, num grainOffset, num grainDuration) native; 14 void noteGrainOn(num when, num grainOffset, num grainDuration) native;
21 15
22 void noteOff(num when) native; 16 void noteOff(num when) native;
23 17
24 void noteOn(num when) native; 18 void noteOn(num when) native;
25 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698