OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 17 matching lines...) Expand all Loading... |
28 [InitializedByEventConstructor] readonly attribute boolean shiftKey
; | 28 [InitializedByEventConstructor] readonly attribute boolean shiftKey
; |
29 [InitializedByEventConstructor] readonly attribute boolean altKey; | 29 [InitializedByEventConstructor] readonly attribute boolean altKey; |
30 [InitializedByEventConstructor] readonly attribute boolean metaKey; | 30 [InitializedByEventConstructor] readonly attribute boolean metaKey; |
31 [InitializedByEventConstructor] readonly attribute unsigned short button; | 31 [InitializedByEventConstructor] readonly attribute unsigned short button; |
32 [InitializedByEventConstructor] readonly attribute EventTarget? relatedT
arget; | 32 [InitializedByEventConstructor] readonly attribute EventTarget? relatedT
arget; |
33 [MeasureAs=MouseEventMovementX] readonly attribute long movement
X; | 33 [MeasureAs=MouseEventMovementX] readonly attribute long movement
X; |
34 [MeasureAs=MouseEventMovementY] readonly attribute long movement
Y; | 34 [MeasureAs=MouseEventMovementY] readonly attribute long movement
Y; |
35 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at
tribute long webkitMovementX; | 35 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at
tribute long webkitMovementX; |
36 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at
tribute long webkitMovementY; | 36 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at
tribute long webkitMovementY; |
37 | 37 |
38 void initMouseEvent([Default=Undefined] optional DOMString type, | 38 void initMouseEvent(optional DOMString type, |
39 [Default=Undefined] optional boolean canB
ubble, | 39 optional boolean canBubble, |
40 [Default=Undefined] optional boolean canc
elable, | 40 optional boolean cancelable, |
41 [Default=Undefined] optional Window view, | 41 optional Window view, |
42 [Default=Undefined] optional long detail, | 42 optional long detail, |
43 [Default=Undefined] optional long screenX
, | 43 optional long screenX, |
44 [Default=Undefined] optional long screenY
, | 44 optional long screenY, |
45 [Default=Undefined] optional long clientX
, | 45 optional long clientX, |
46 [Default=Undefined] optional long clientY
, | 46 optional long clientY, |
47 [Default=Undefined] optional boolean ctrl
Key, | 47 optional boolean ctrlKey, |
48 [Default=Undefined] optional boolean altK
ey, | 48 optional boolean altKey, |
49 [Default=Undefined] optional boolean shif
tKey, | 49 optional boolean shiftKey, |
50 [Default=Undefined] optional boolean meta
Key, | 50 optional boolean metaKey, |
51 [Default=Undefined] optional unsigned sho
rt button, | 51 optional unsigned short button, |
52 [Default=Undefined] optional EventTarget
relatedTarget); | 52 optional EventTarget relatedTarget); |
53 | 53 |
54 // Non-standard | 54 // Non-standard |
55 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; | 55 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; |
56 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; | 56 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; |
57 [MeasureAs=MouseEventX] readonly attribute long x; | 57 [MeasureAs=MouseEventX] readonly attribute long x; |
58 [MeasureAs=MouseEventY] readonly attribute long y; | 58 [MeasureAs=MouseEventY] readonly attribute long y; |
59 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 59 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
60 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 60 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
61 | 61 |
62 // FIXME: this belongs on the DragEvent interface | 62 // FIXME: this belongs on the DragEvent interface |
63 readonly attribute DataTransfer dataTransfer; | 63 readonly attribute DataTransfer dataTransfer; |
64 }; | 64 }; |
OLD | NEW |