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

Unified Diff: client/dom/generated/src/frog/Event.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/Event.dart
diff --git a/client/dom/generated/src/frog/Event.dart b/client/dom/generated/src/frog/Event.dart
index 7b0c732fa41047f7eed40d6a27f57fbb474cb141..b7dd7579be888b1c13f583d994888a895541af88 100644
--- a/client/dom/generated/src/frog/Event.dart
+++ b/client/dom/generated/src/frog/Event.dart
@@ -39,33 +39,29 @@ class _EventJs extends _DOMTypeJs implements Event native "*Event" {
static final int SELECT = 16384;
- bool get bubbles() native "return this.bubbles;";
+ final bool bubbles;
- bool get cancelBubble() native "return this.cancelBubble;";
+ bool cancelBubble;
- void set cancelBubble(bool value) native "this.cancelBubble = value;";
+ final bool cancelable;
- bool get cancelable() native "return this.cancelable;";
+ final _ClipboardJs clipboardData;
- _ClipboardJs get clipboardData() native "return this.clipboardData;";
+ final _EventTargetJs currentTarget;
- _EventTargetJs get currentTarget() native "return this.currentTarget;";
+ final bool defaultPrevented;
- bool get defaultPrevented() native "return this.defaultPrevented;";
+ final int eventPhase;
- int get eventPhase() native "return this.eventPhase;";
+ bool returnValue;
- bool get returnValue() native "return this.returnValue;";
+ final _EventTargetJs srcElement;
- void set returnValue(bool value) native "this.returnValue = value;";
+ final _EventTargetJs target;
- _EventTargetJs get srcElement() native "return this.srcElement;";
+ final int timeStamp;
- _EventTargetJs get target() native "return this.target;";
-
- int get timeStamp() native "return this.timeStamp;";
-
- String get type() native "return this.type;";
+ final String type;
void initEvent(String eventTypeArg, bool canBubbleArg, bool cancelableArg) native;

Powered by Google App Engine
This is Rietveld 408576698