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

Unified Diff: client/dom/generated/src/frog/DeviceOrientationEvent.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/DeviceOrientationEvent.dart
diff --git a/client/dom/generated/src/frog/DeviceOrientationEvent.dart b/client/dom/generated/src/frog/DeviceOrientationEvent.dart
index 5a6112b8328e81473a65d957a20080dc7a22e20a..d95a003310b50fa6f1adec834f4c5c5f3a673ee7 100644
--- a/client/dom/generated/src/frog/DeviceOrientationEvent.dart
+++ b/client/dom/generated/src/frog/DeviceOrientationEvent.dart
@@ -1,13 +1,13 @@
class _DeviceOrientationEventJs extends _EventJs implements DeviceOrientationEvent native "*DeviceOrientationEvent" {
- bool get absolute() native "return this.absolute;";
+ final bool absolute;
- num get alpha() native "return this.alpha;";
+ final num alpha;
- num get beta() native "return this.beta;";
+ final num beta;
- num get gamma() native "return this.gamma;";
+ final num gamma;
void initDeviceOrientationEvent(String type, bool bubbles, bool cancelable, num alpha, num beta, num gamma, bool absolute) native;
}

Powered by Google App Engine
This is Rietveld 408576698