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

Unified Diff: client/dom/generated/src/frog/TouchEvent.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/TouchEvent.dart
diff --git a/client/dom/generated/src/frog/TouchEvent.dart b/client/dom/generated/src/frog/TouchEvent.dart
index 412c2aaac0de0f6237b6af2a3c6dbefca2bbf6a2..f0e7db1db638f39c025aaae4a7f2eb452f8928de 100644
--- a/client/dom/generated/src/frog/TouchEvent.dart
+++ b/client/dom/generated/src/frog/TouchEvent.dart
@@ -1,19 +1,19 @@
class _TouchEventJs extends _UIEventJs implements TouchEvent native "*TouchEvent" {
- bool get altKey() native "return this.altKey;";
+ final bool altKey;
- _TouchListJs get changedTouches() native "return this.changedTouches;";
+ final _TouchListJs changedTouches;
- bool get ctrlKey() native "return this.ctrlKey;";
+ final bool ctrlKey;
- bool get metaKey() native "return this.metaKey;";
+ final bool metaKey;
- bool get shiftKey() native "return this.shiftKey;";
+ final bool shiftKey;
- _TouchListJs get targetTouches() native "return this.targetTouches;";
+ final _TouchListJs targetTouches;
- _TouchListJs get touches() native "return this.touches;";
+ final _TouchListJs touches;
void initTouchEvent(_TouchListJs touches, _TouchListJs targetTouches, _TouchListJs changedTouches, String type, _DOMWindowJs view, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey) native;
}

Powered by Google App Engine
This is Rietveld 408576698