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 13 matching lines...) Expand all Loading... | |
24 ] interface MouseEvent : UIEvent { | 24 ] interface MouseEvent : UIEvent { |
25 readonly attribute long screenX; | 25 readonly attribute long screenX; |
26 readonly attribute long screenY; | 26 readonly attribute long screenY; |
27 readonly attribute long clientX; | 27 readonly attribute long clientX; |
28 readonly attribute long clientY; | 28 readonly attribute long clientY; |
29 readonly attribute boolean ctrlKey; | 29 readonly attribute boolean ctrlKey; |
30 readonly attribute boolean shiftKey; | 30 readonly attribute boolean shiftKey; |
31 readonly attribute boolean altKey; | 31 readonly attribute boolean altKey; |
32 readonly attribute boolean metaKey; | 32 readonly attribute boolean metaKey; |
33 readonly attribute unsigned short button; | 33 readonly attribute unsigned short button; |
34 [RuntimeEnabled=MouseEventButtonsAttribute] readonly attribute unsigned shor t buttons; | 34 readonly attribute unsigned short buttons; |
Rick Byers
2015/03/12 14:15:54
leave this in place for a release - it makes it ea
| |
35 readonly attribute EventTarget? relatedTarget; | 35 readonly attribute EventTarget? relatedTarget; |
36 [MeasureAs=MouseEventMovementX] readonly attribute long movement X; | 36 [MeasureAs=MouseEventMovementX] readonly attribute long movement X; |
37 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y; | 37 [MeasureAs=MouseEventMovementY] readonly attribute long movement Y; |
38 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX; | 38 [MeasureAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly at tribute long webkitMovementX; |
39 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY; | 39 [MeasureAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly at tribute long webkitMovementY; |
40 | 40 |
41 void initMouseEvent([Default=Undefined] optional DOMString type, | 41 void initMouseEvent([Default=Undefined] optional DOMString type, |
42 [Default=Undefined] optional boolean canB ubble, | 42 [Default=Undefined] optional boolean canB ubble, |
43 [Default=Undefined] optional boolean canc elable, | 43 [Default=Undefined] optional boolean canc elable, |
44 [Default=Undefined] optional Window view, | 44 [Default=Undefined] optional Window view, |
(...skipping 14 matching lines...) Expand all Loading... | |
59 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; | 59 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; |
60 [MeasureAs=MouseEventX] readonly attribute long x; | 60 [MeasureAs=MouseEventX] readonly attribute long x; |
61 [MeasureAs=MouseEventY] readonly attribute long y; | 61 [MeasureAs=MouseEventY] readonly attribute long y; |
62 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 62 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
63 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 63 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
64 [MeasureAs=MouseEventWhich] readonly attribute long which; | 64 [MeasureAs=MouseEventWhich] readonly attribute long which; |
65 | 65 |
66 // FIXME: this belongs on the DragEvent interface | 66 // FIXME: this belongs on the DragEvent interface |
67 readonly attribute DataTransfer dataTransfer; | 67 readonly attribute DataTransfer dataTransfer; |
68 }; | 68 }; |
OLD | NEW |