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

Unified Diff: client/dom/generated/src/frog/KeyboardEvent.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/KeyboardEvent.dart
diff --git a/client/dom/generated/src/frog/KeyboardEvent.dart b/client/dom/generated/src/frog/KeyboardEvent.dart
index f01fd9aa7d8feea9e03248caae1eee08cbb598e8..d539871436ccdb21aa6f83209b653450f563ec83 100644
--- a/client/dom/generated/src/frog/KeyboardEvent.dart
+++ b/client/dom/generated/src/frog/KeyboardEvent.dart
@@ -1,19 +1,19 @@
class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*KeyboardEvent" {
- bool get altGraphKey() native "return this.altGraphKey;";
+ final bool altGraphKey;
- bool get altKey() native "return this.altKey;";
+ final bool altKey;
- bool get ctrlKey() native "return this.ctrlKey;";
+ final bool ctrlKey;
- String get keyIdentifier() native "return this.keyIdentifier;";
+ final String keyIdentifier;
- int get keyLocation() native "return this.keyLocation;";
+ final int keyLocation;
- bool get metaKey() native "return this.metaKey;";
+ final bool metaKey;
- bool get shiftKey() native "return this.shiftKey;";
+ final bool shiftKey;
void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindowJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native;
}

Powered by Google App Engine
This is Rietveld 408576698