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

Side by Side Diff: lib/html/doc/interface/MouseEvent.dartdoc

Issue 11090010: Remove explicit interface versions of dartdoc files. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 2 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 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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: 5 // WARNING:
6 // This file contains documentation that is merged into the real source. 6 // This file contains documentation that is merged into the real source.
7 // Do not make code changes here. 7 // Do not make code changes here.
8 8
9 /// @domName MouseEvent 9 /// @domName MouseEvent
10 interface MouseEvent extends UIEvent default _MouseEventFactoryProvider { 10 abstract class MouseEvent implements UIEvent {
11 11
12 MouseEvent(String type, Window view, int detail, int screenX, int screenY, 12 factory MouseEvent(String type, Window view, int detail, int screenX, int scre enY,
13 int clientX, int clientY, int button, [bool canBubble, bool cancelable, 13 int clientX, int clientY, int button, [bool canBubble = true,
14 bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, 14 bool cancelable = true, bool ctrlKey = false, bool altKey = false,
15 EventTarget relatedTarget]); 15 bool shiftKey = false, bool metaKey = false,
16 EventTarget relatedTarget = null]) =>
17 _MouseEventFactoryProvider.createMouseEvent(
18 type, view, detail, screenX, screenY,
19 clientX, clientY, button, canBubble, cancelable,
20 ctrlKey, altKey, shiftKey, metaKey,
21 relatedTarget);
16 22
17 23
18 /** @domName MouseEvent.altKey */ 24 /** @domName MouseEvent.altKey */
19 final bool altKey; 25 abstract bool get altKey;
20 26
21 /** @domName MouseEvent.button */ 27 /** @domName MouseEvent.button */
22 final int button; 28 abstract int get button;
23 29
24 /** @domName MouseEvent.clientX */ 30 /** @domName MouseEvent.clientX */
25 final int clientX; 31 abstract int get clientX;
26 32
27 /** @domName MouseEvent.clientY */ 33 /** @domName MouseEvent.clientY */
28 final int clientY; 34 abstract int get clientY;
29 35
30 /** @domName MouseEvent.ctrlKey */ 36 /** @domName MouseEvent.ctrlKey */
31 final bool ctrlKey; 37 abstract bool get ctrlKey;
32 38
33 /** @domName MouseEvent.dataTransfer */ 39 /** @domName MouseEvent.dataTransfer */
34 final Clipboard dataTransfer; 40 abstract Clipboard get dataTransfer;
35 41
36 /** @domName MouseEvent.fromElement */ 42 /** @domName MouseEvent.fromElement */
37 final Node fromElement; 43 abstract Node get fromElement;
38 44
39 /** @domName MouseEvent.metaKey */ 45 /** @domName MouseEvent.metaKey */
40 final bool metaKey; 46 abstract bool get metaKey;
41 47
42 /** 48 /**
43 * The X coordinate of the mouse pointer in target node coordinates. 49 * The X coordinate of the mouse pointer in target node coordinates.
44 * This value may vary between platforms if the target node moves 50 * This value may vary between platforms if the target node moves
45 * after the event has fired or if the element has CSS transforms affecting 51 * after the event has fired or if the element has CSS transforms affecting
46 * it. 52 * it.
47 */ 53 */
48 final int offsetX; 54 abstract int get offsetX;
49 55
50 /** 56 /**
51 * The Y coordinate of the mouse pointer in target node coordinates. 57 * The Y coordinate of the mouse pointer in target node coordinates.
52 * This value may vary between platforms if the target node moves 58 * This value may vary between platforms if the target node moves
53 * after the event has fired or if the element has CSS transforms affecting 59 * after the event has fired or if the element has CSS transforms affecting
54 * it. 60 * it.
55 */ 61 */
56 final int offsetY; 62 abstract int get offsetY;
57 63
58 /** @domName MouseEvent.relatedTarget */ 64 /** @domName MouseEvent.relatedTarget */
59 final EventTarget relatedTarget; 65 abstract EventTarget get relatedTarget;
60 66
61 /** @domName MouseEvent.screenX */ 67 /** @domName MouseEvent.screenX */
62 final int screenX; 68 abstract int get screenX;
63 69
64 /** @domName MouseEvent.screenY */ 70 /** @domName MouseEvent.screenY */
65 final int screenY; 71 abstract int get screenY;
66 72
67 /** @domName MouseEvent.shiftKey */ 73 /** @domName MouseEvent.shiftKey */
68 final bool shiftKey; 74 abstract bool get shiftKey;
69 75
70 /** @domName MouseEvent.toElement */ 76 /** @domName MouseEvent.toElement */
71 final Node toElement; 77 abstract Node get toElement;
72 78
73 /** @domName MouseEvent.webkitMovementX */ 79 /** @domName MouseEvent.webkitMovementX */
74 final int webkitMovementX; 80 abstract int get webkitMovementX;
75 81
76 /** @domName MouseEvent.webkitMovementY */ 82 /** @domName MouseEvent.webkitMovementY */
77 final int webkitMovementY; 83 abstract int get webkitMovementY;
78 84
79 /** @domName MouseEvent.x */ 85 /** @domName MouseEvent.x */
80 final int x; 86 abstract int get x;
81 87
82 /** @domName MouseEvent.y */ 88 /** @domName MouseEvent.y */
83 final int y; 89 abstract int get y;
84 90
85 /** @domName MouseEvent.initMouseEvent */ 91 /** @domName MouseEvent.initMouseEvent */
86 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, Window view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlK ey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relatedTar get); 92 void $dom_initMouseEvent(String type, bool canBubble, bool cancelable, LocalWi ndow view, int detail, int screenX, int screenY, int clientX, int clientY, bool ctrlKey, bool altKey, bool shiftKey, bool metaKey, int button, EventTarget relat edTarget);
87 } 93 }
OLDNEW
« no previous file with comments | « lib/html/doc/interface/ModElement.dartdoc ('k') | lib/html/doc/interface/MutationCallback.dartdoc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698