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

Side by Side Diff: client/dom/generated/src/frog/AudioPannerNode.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 _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" { 2 class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native "*AudioPannerNode" {
3 3
4 static final int EQUALPOWER = 0; 4 static final int EQUALPOWER = 0;
5 5
6 static final int HRTF = 1; 6 static final int HRTF = 1;
7 7
8 static final int SOUNDFIELD = 2; 8 static final int SOUNDFIELD = 2;
9 9
10 _AudioGainJs get coneGain() native "return this.coneGain;"; 10 final _AudioGainJs coneGain;
11 11
12 num get coneInnerAngle() native "return this.coneInnerAngle;"; 12 num coneInnerAngle;
13 13
14 void set coneInnerAngle(num value) native "this.coneInnerAngle = value;"; 14 num coneOuterAngle;
15 15
16 num get coneOuterAngle() native "return this.coneOuterAngle;"; 16 num coneOuterGain;
17 17
18 void set coneOuterAngle(num value) native "this.coneOuterAngle = value;"; 18 final _AudioGainJs distanceGain;
19 19
20 num get coneOuterGain() native "return this.coneOuterGain;"; 20 int distanceModel;
21 21
22 void set coneOuterGain(num value) native "this.coneOuterGain = value;"; 22 num maxDistance;
23 23
24 _AudioGainJs get distanceGain() native "return this.distanceGain;"; 24 int panningModel;
25 25
26 int get distanceModel() native "return this.distanceModel;"; 26 num refDistance;
27 27
28 void set distanceModel(int value) native "this.distanceModel = value;"; 28 num rolloffFactor;
29
30 num get maxDistance() native "return this.maxDistance;";
31
32 void set maxDistance(num value) native "this.maxDistance = value;";
33
34 int get panningModel() native "return this.panningModel;";
35
36 void set panningModel(int value) native "this.panningModel = value;";
37
38 num get refDistance() native "return this.refDistance;";
39
40 void set refDistance(num value) native "this.refDistance = value;";
41
42 num get rolloffFactor() native "return this.rolloffFactor;";
43
44 void set rolloffFactor(num value) native "this.rolloffFactor = value;";
45 29
46 void setOrientation(num x, num y, num z) native; 30 void setOrientation(num x, num y, num z) native;
47 31
48 void setPosition(num x, num y, num z) native; 32 void setPosition(num x, num y, num z) native;
49 33
50 void setVelocity(num x, num y, num z) native; 34 void setVelocity(num x, num y, num z) native;
51 } 35 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698