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

Side by Side Diff: client/html/generated/src/wrapping/_KeyboardEventWrappingImplementation.dart

Issue 8404013: Add constructors to all the event classes. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Regenerate release/html. Created 9 years, 1 month 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
(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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698