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

Unified Diff: client/dom/generated/src/frog/HashChangeEvent.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/HashChangeEvent.dart
diff --git a/client/dom/generated/src/frog/HashChangeEvent.dart b/client/dom/generated/src/frog/HashChangeEvent.dart
index 66b22706b6733868419b455f163df8e4baabedd9..92dbbd3bf9edfeb3ccebd8aefa03c5b1c3afcb95 100644
--- a/client/dom/generated/src/frog/HashChangeEvent.dart
+++ b/client/dom/generated/src/frog/HashChangeEvent.dart
@@ -1,9 +1,9 @@
class _HashChangeEventJs extends _EventJs implements HashChangeEvent native "*HashChangeEvent" {
- String get newURL() native "return this.newURL;";
+ final String newURL;
- String get oldURL() native "return this.oldURL;";
+ final String oldURL;
void initHashChangeEvent(String type, bool canBubble, bool cancelable, String oldURL, String newURL) native;
}

Powered by Google App Engine
This is Rietveld 408576698