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

Unified Diff: client/dom/generated/src/frog/MessageEvent.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/MessageEvent.dart
diff --git a/client/dom/generated/src/frog/MessageEvent.dart b/client/dom/generated/src/frog/MessageEvent.dart
index 3b6e9bfac07cbf1e71383b98066a91a49ffab61e..08af26a830a06a25abacd1b6517d8facd248f626 100644
--- a/client/dom/generated/src/frog/MessageEvent.dart
+++ b/client/dom/generated/src/frog/MessageEvent.dart
@@ -1,15 +1,15 @@
class _MessageEventJs extends _EventJs implements MessageEvent native "*MessageEvent" {
- Object get data() native "return this.data;";
+ final Object data;
- String get lastEventId() native "return this.lastEventId;";
+ final String lastEventId;
- String get origin() native "return this.origin;";
+ final String origin;
- List get ports() native "return this.ports;";
+ final List ports;
- _DOMWindowJs get source() native "return this.source;";
+ final _DOMWindowJs source;
void initMessageEvent(String typeArg, bool canBubbleArg, bool cancelableArg, Object dataArg, String originArg, String lastEventIdArg, _DOMWindowJs sourceArg, List messagePorts) native;

Powered by Google App Engine
This is Rietveld 408576698