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

Unified Diff: client/dom/generated/src/frog/UIEvent.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/UIEvent.dart
diff --git a/client/dom/generated/src/frog/UIEvent.dart b/client/dom/generated/src/frog/UIEvent.dart
index 44d4ef1e8687968c7bcb49d37cb27d2932e49237..438895cb3f061b21044debd40dbacefc48e81153 100644
--- a/client/dom/generated/src/frog/UIEvent.dart
+++ b/client/dom/generated/src/frog/UIEvent.dart
@@ -1,23 +1,23 @@
class _UIEventJs extends _EventJs implements UIEvent native "*UIEvent" {
- int get charCode() native "return this.charCode;";
+ final int charCode;
- int get detail() native "return this.detail;";
+ final int detail;
- int get keyCode() native "return this.keyCode;";
+ final int keyCode;
- int get layerX() native "return this.layerX;";
+ final int layerX;
- int get layerY() native "return this.layerY;";
+ final int layerY;
- int get pageX() native "return this.pageX;";
+ final int pageX;
- int get pageY() native "return this.pageY;";
+ final int pageY;
- _DOMWindowJs get view() native "return this.view;";
+ final _DOMWindowJs view;
- int get which() native "return this.which;";
+ final int which;
void initUIEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, int detail) native;
}

Powered by Google App Engine
This is Rietveld 408576698