| OLD | NEW |
| 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // WARNING: Do not edit - generated code. | 5 // WARNING: Do not edit - generated code. |
| 6 | 6 |
| 7 class _KeyboardEventWrappingImplementation extends _UIEventWrappingImplementatio
n implements KeyboardEvent { | 7 class _KeyboardEventWrappingImplementation extends _UIEventWrappingImplementatio
n implements KeyboardEvent { |
| 8 _KeyboardEventWrappingImplementation() : super() {} | 8 _KeyboardEventWrappingImplementation() : super() {} |
| 9 | 9 |
| 10 static create__KeyboardEventWrappingImplementation() native { | 10 static create__KeyboardEventWrappingImplementation() native { |
| 11 return new _KeyboardEventWrappingImplementation(); | 11 return new _KeyboardEventWrappingImplementation(); |
| 12 } | 12 } |
| 13 | 13 |
| 14 bool get altGraphKey() { return _get__KeyboardEvent_altGraphKey(this); } | 14 bool get altGraphKey() { return _get_altGraphKey(this); } |
| 15 static bool _get__KeyboardEvent_altGraphKey(var _this) native; | 15 static bool _get_altGraphKey(var _this) native; |
| 16 | 16 |
| 17 bool get altKey() { return _get__KeyboardEvent_altKey(this); } | 17 bool get altKey() { return _get_altKey(this); } |
| 18 static bool _get__KeyboardEvent_altKey(var _this) native; | 18 static bool _get_altKey(var _this) native; |
| 19 | 19 |
| 20 bool get ctrlKey() { return _get__KeyboardEvent_ctrlKey(this); } | 20 bool get ctrlKey() { return _get_ctrlKey(this); } |
| 21 static bool _get__KeyboardEvent_ctrlKey(var _this) native; | 21 static bool _get_ctrlKey(var _this) native; |
| 22 | 22 |
| 23 String get keyIdentifier() { return _get__KeyboardEvent_keyIdentifier(this); } | 23 String get keyIdentifier() { return _get_keyIdentifier(this); } |
| 24 static String _get__KeyboardEvent_keyIdentifier(var _this) native; | 24 static String _get_keyIdentifier(var _this) native; |
| 25 | 25 |
| 26 int get keyLocation() { return _get__KeyboardEvent_keyLocation(this); } | 26 int get keyLocation() { return _get_keyLocation(this); } |
| 27 static int _get__KeyboardEvent_keyLocation(var _this) native; | 27 static int _get_keyLocation(var _this) native; |
| 28 | 28 |
| 29 bool get metaKey() { return _get__KeyboardEvent_metaKey(this); } | 29 bool get metaKey() { return _get_metaKey(this); } |
| 30 static bool _get__KeyboardEvent_metaKey(var _this) native; | 30 static bool _get_metaKey(var _this) native; |
| 31 | 31 |
| 32 bool get shiftKey() { return _get__KeyboardEvent_shiftKey(this); } | 32 bool get shiftKey() { return _get_shiftKey(this); } |
| 33 static bool _get__KeyboardEvent_shiftKey(var _this) native; | 33 static bool _get_shiftKey(var _this) native; |
| 34 | 34 |
| 35 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey) { | 35 void initKeyboardEvent(String type, bool canBubble, bool cancelable, DOMWindow
view, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool sh
iftKey, bool metaKey, bool altGraphKey) { |
| 36 _initKeyboardEvent(this, type, canBubble, cancelable, view, keyIdentifier, k
eyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | 36 _initKeyboardEvent(this, type, canBubble, cancelable, view, keyIdentifier, k
eyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); |
| 37 return; | 37 return; |
| 38 } | 38 } |
| 39 static void _initKeyboardEvent(receiver, type, canBubble, cancelable, view, ke
yIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey) nativ
e; | 39 static void _initKeyboardEvent(receiver, type, canBubble, cancelable, view, ke
yIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey) nativ
e; |
| 40 | 40 |
| 41 String get typeName() { return "KeyboardEvent"; } | 41 String get typeName() { return "KeyboardEvent"; } |
| 42 } | 42 } |
| OLD | NEW |