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 16 matching lines...) Expand all Loading... | |
27 readonly attribute long screenY; | 27 readonly attribute long screenY; |
28 readonly attribute long clientX; | 28 readonly attribute long clientX; |
29 readonly attribute long clientY; | 29 readonly attribute long clientY; |
30 readonly attribute boolean ctrlKey; | 30 readonly attribute boolean ctrlKey; |
31 readonly attribute boolean shiftKey; | 31 readonly attribute boolean shiftKey; |
32 readonly attribute boolean altKey; | 32 readonly attribute boolean altKey; |
33 readonly attribute boolean metaKey; | 33 readonly attribute boolean metaKey; |
34 readonly attribute short button; | 34 readonly attribute short button; |
35 readonly attribute unsigned short buttons; | 35 readonly attribute unsigned short buttons; |
36 readonly attribute EventTarget? relatedTarget; | 36 readonly attribute EventTarget? relatedTarget; |
37 [RuntimeEnabled=ExperimentalCanvasFeatures] readonly attribute DOMString? re gion; | |
Rick Byers
2016/03/10 21:36:29
nit: move to the bottom in a new section with a co
zino
2016/03/11 09:35:47
Done.
| |
37 boolean getModifierState(DOMString keyArg); | 38 boolean getModifierState(DOMString keyArg); |
38 | 39 |
39 // https://w3c.github.io/uievents/#idl-interface-MouseEvent-initializers | 40 // https://w3c.github.io/uievents/#idl-interface-MouseEvent-initializers |
40 // TODO(philipj): None of the initMouseEvent() arguments should be optional. | 41 // TODO(philipj): None of the initMouseEvent() arguments should be optional. |
41 [CallWith=ScriptState, Measure] void initMouseEvent([Default=Undefined] opti onal DOMString type, | 42 [CallWith=ScriptState, Measure] void initMouseEvent([Default=Undefined] opti onal DOMString type, |
42 [Default=Undefined] opti onal boolean bubbles, | 43 [Default=Undefined] opti onal boolean bubbles, |
43 [Default=Undefined] opti onal boolean cancelable, | 44 [Default=Undefined] opti onal boolean cancelable, |
44 [Default=Undefined] opti onal Window? view, | 45 [Default=Undefined] opti onal Window? view, |
45 [Default=Undefined] opti onal long detail, | 46 [Default=Undefined] opti onal long detail, |
46 [Default=Undefined] opti onal long screenX, | 47 [Default=Undefined] opti onal long screenX, |
(...skipping 23 matching lines...) Expand all Loading... | |
70 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; | 71 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; |
71 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; | 72 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; |
72 | 73 |
73 // Non-standard | 74 // Non-standard |
74 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 75 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
75 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 76 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
76 [MeasureAs=MouseEventWhich] readonly attribute long which; | 77 [MeasureAs=MouseEventWhich] readonly attribute long which; |
77 [Measure] readonly attribute long layerX; | 78 [Measure] readonly attribute long layerX; |
78 [Measure] readonly attribute long layerY; | 79 [Measure] readonly attribute long layerY; |
79 }; | 80 }; |
OLD | NEW |