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

Unified 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, 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/AudioPannerNode.dart
diff --git a/client/dom/generated/src/frog/AudioPannerNode.dart b/client/dom/generated/src/frog/AudioPannerNode.dart
index 5a50097b43e44d1382644b842ef1d142b28a6606..789b5c22c7531a38ab76265e7d78abe620aabbc6 100644
--- a/client/dom/generated/src/frog/AudioPannerNode.dart
+++ b/client/dom/generated/src/frog/AudioPannerNode.dart
@@ -7,41 +7,25 @@ class _AudioPannerNodeJs extends _AudioNodeJs implements AudioPannerNode native
static final int SOUNDFIELD = 2;
- _AudioGainJs get coneGain() native "return this.coneGain;";
+ final _AudioGainJs coneGain;
- num get coneInnerAngle() native "return this.coneInnerAngle;";
+ num coneInnerAngle;
- void set coneInnerAngle(num value) native "this.coneInnerAngle = value;";
+ num coneOuterAngle;
- num get coneOuterAngle() native "return this.coneOuterAngle;";
+ num coneOuterGain;
- void set coneOuterAngle(num value) native "this.coneOuterAngle = value;";
+ final _AudioGainJs distanceGain;
- num get coneOuterGain() native "return this.coneOuterGain;";
+ int distanceModel;
- void set coneOuterGain(num value) native "this.coneOuterGain = value;";
+ num maxDistance;
- _AudioGainJs get distanceGain() native "return this.distanceGain;";
+ int panningModel;
- int get distanceModel() native "return this.distanceModel;";
+ num refDistance;
- void set distanceModel(int value) native "this.distanceModel = value;";
-
- num get maxDistance() native "return this.maxDistance;";
-
- void set maxDistance(num value) native "this.maxDistance = value;";
-
- int get panningModel() native "return this.panningModel;";
-
- void set panningModel(int value) native "this.panningModel = value;";
-
- num get refDistance() native "return this.refDistance;";
-
- void set refDistance(num value) native "this.refDistance = value;";
-
- num get rolloffFactor() native "return this.rolloffFactor;";
-
- void set rolloffFactor(num value) native "this.rolloffFactor = value;";
+ num rolloffFactor;
void setOrientation(num x, num y, num z) native;

Powered by Google App Engine
This is Rietveld 408576698