| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // BSD-style license that can be found in the LICENSE file. | |
| 4 | |
| 5 // WARNING: Do not edit - generated code. | |
| 6 | |
| 7 class KeyboardEventWrappingImplementation extends UIEventWrappingImplementation
implements KeyboardEvent { | |
| 8 KeyboardEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
| 9 | |
| 10 bool get altGraphKey() { return _ptr.altGraphKey; } | |
| 11 | |
| 12 bool get altKey() { return _ptr.altKey; } | |
| 13 | |
| 14 bool get ctrlKey() { return _ptr.ctrlKey; } | |
| 15 | |
| 16 String get keyIdentifier() { return _ptr.keyIdentifier; } | |
| 17 | |
| 18 int get keyLocation() { return _ptr.keyLocation; } | |
| 19 | |
| 20 bool get metaKey() { return _ptr.metaKey; } | |
| 21 | |
| 22 bool get shiftKey() { return _ptr.shiftKey; } | |
| 23 | |
| 24 bool getModifierState(String keyIdentifierArg) { | |
| 25 return _ptr.getModifierState(keyIdentifierArg); | |
| 26 } | |
| 27 | |
| 28 void initKeyboardEvent(String type, bool canBubble, bool cancelable, Window vi
ew, String keyIdentifier, int keyLocation, bool ctrlKey, bool altKey, bool shift
Key, bool metaKey, bool altGraphKey) { | |
| 29 _ptr.initKeyboardEvent(type, canBubble, cancelable, LevelDom.unwrap(view), k
eyIdentifier, keyLocation, ctrlKey, altKey, shiftKey, metaKey, altGraphKey); | |
| 30 return; | |
| 31 } | |
| 32 } | |
| OLD | NEW |