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

Side by Side Diff: client/html/generated/src/wrapping/_MouseEventWrappingImplementation.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 MouseEventWrappingImplementation extends UIEventWrappingImplementation imp lements MouseEvent {
8 MouseEventWrappingImplementation._wrap(ptr) : super._wrap(ptr) {}
9
10 bool get altKey() { return _ptr.altKey; }
11
12 int get button() { return _ptr.button; }
13
14 int get clientX() { return _ptr.clientX; }
15
16 int get clientY() { return _ptr.clientY; }
17
18 bool get ctrlKey() { return _ptr.ctrlKey; }
19
20 Node get fromElement() { return LevelDom.wrapNode(_ptr.fromElement); }
21
22 bool get metaKey() { return _ptr.metaKey; }
23
24 int get offsetX() { return _ptr.offsetX; }
25
26 int get offsetY() { return _ptr.offsetY; }
27
28 EventTarget get relatedTarget() { return LevelDom.wrapEventTarget(_ptr.related Target); }
29
30 int get screenX() { return _ptr.screenX; }
31
32 int get screenY() { return _ptr.screenY; }
33
34 bool get shiftKey() { return _ptr.shiftKey; }
35
36 Node get toElement() { return LevelDom.wrapNode(_ptr.toElement); }
37
38 int get x() { return _ptr.x; }
39
40 int get y() { return _ptr.y; }
41
42 void initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, b ool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTarget) {
43 _ptr.initMouseEvent(type, canBubble, cancelable, LevelDom.unwrap(view), deta il, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, butt on, LevelDom.unwrap(relatedTarget));
44 return;
45 }
46 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698