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

Side by Side 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, 10 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 1
2 class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb oardEvent" { 2 class _KeyboardEventJs extends _UIEventJs implements KeyboardEvent native "*Keyb oardEvent" {
3 3
4 bool get altGraphKey() native "return this.altGraphKey;"; 4 final bool altGraphKey;
5 5
6 bool get altKey() native "return this.altKey;"; 6 final bool altKey;
7 7
8 bool get ctrlKey() native "return this.ctrlKey;"; 8 final bool ctrlKey;
9 9
10 String get keyIdentifier() native "return this.keyIdentifier;"; 10 final String keyIdentifier;
11 11
12 int get keyLocation() native "return this.keyLocation;"; 12 final int keyLocation;
13 13
14 bool get metaKey() native "return this.metaKey;"; 14 final bool metaKey;
15 15
16 bool get shiftKey() native "return this.shiftKey;"; 16 final bool shiftKey;
17 17
18 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native; 18 void initKeyboardEvent(String type, bool canBubble, bool cancelable, _DOMWindo wJs view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, bool altGraphKey) native;
19 } 19 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698