| 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 [Default=Undefined] optional long screenY
, | 47 [Default=Undefined] optional long screenY
, |
| 48 [Default=Undefined] optional long clientX
, | 48 [Default=Undefined] optional long clientX
, |
| 49 [Default=Undefined] optional long clientY
, | 49 [Default=Undefined] optional long clientY
, |
| 50 [Default=Undefined] optional boolean ctrl
Key, | 50 [Default=Undefined] optional boolean ctrl
Key, |
| 51 [Default=Undefined] optional boolean altK
ey, | 51 [Default=Undefined] optional boolean altK
ey, |
| 52 [Default=Undefined] optional boolean shif
tKey, | 52 [Default=Undefined] optional boolean shif
tKey, |
| 53 [Default=Undefined] optional boolean meta
Key, | 53 [Default=Undefined] optional boolean meta
Key, |
| 54 [Default=Undefined] optional unsigned sho
rt button, | 54 [Default=Undefined] optional unsigned sho
rt button, |
| 55 [Default=Undefined] optional EventTarget?
relatedTarget); | 55 [Default=Undefined] optional EventTarget?
relatedTarget); |
| 56 | 56 |
| 57 // CSSOM View Module |
| 58 // http://dev.w3.org/csswg/cssom-view/#extensions-to-the-mouseevent-interfac
e |
| 59 // TODO(philipj): These attributes should be of type double, and the spec |
| 60 // also redefines screenX/Y and clientX/Y as double. |
| 61 [MeasureAs=MouseEventX] readonly attribute long x; |
| 62 [MeasureAs=MouseEventY] readonly attribute long y; |
| 63 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; |
| 64 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; |
| 65 |
| 57 // Pointer Lock | 66 // Pointer Lock |
| 58 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-mouseevent-interface | 67 // https://dvcs.w3.org/hg/pointerlock/raw-file/default/index.html#extensions
-to-the-mouseevent-interface |
| 59 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; | 68 [MeasureAs=MouseEventMovementX] readonly attribute long movementX; |
| 60 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; | 69 [MeasureAs=MouseEventMovementY] readonly attribute long movementY; |
| 61 | 70 |
| 62 // Non-standard | 71 // Non-standard |
| 63 [MeasureAs=MouseEventOffsetX] readonly attribute long offsetX; | |
| 64 [MeasureAs=MouseEventOffsetY] readonly attribute long offsetY; | |
| 65 [MeasureAs=MouseEventX] readonly attribute long x; | |
| 66 [MeasureAs=MouseEventY] readonly attribute long y; | |
| 67 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; | 72 [MeasureAs=MouseEventFromElement] readonly attribute Node fromElement; |
| 68 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; | 73 [MeasureAs=MouseEventToElement] readonly attribute Node toElement; |
| 69 [MeasureAs=MouseEventWhich] readonly attribute long which; | 74 [MeasureAs=MouseEventWhich] readonly attribute long which; |
| 70 [DeprecateAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly
attribute long webkitMovementX; | 75 [DeprecateAs=PrefixedMouseEventMovementX, ImplementedAs=movementX] readonly
attribute long webkitMovementX; |
| 71 [DeprecateAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly
attribute long webkitMovementY; | 76 [DeprecateAs=PrefixedMouseEventMovementY, ImplementedAs=movementY] readonly
attribute long webkitMovementY; |
| 72 | 77 |
| 73 // FIXME: dataTransfer belongs on the DragEvent interface. crbug.com/498504 | 78 // FIXME: dataTransfer belongs on the DragEvent interface. crbug.com/498504 |
| 74 readonly attribute DataTransfer dataTransfer; | 79 readonly attribute DataTransfer dataTransfer; |
| 75 }; | 80 }; |
| OLD | NEW |