OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2008, The Android Open Source Project | 2 * Copyright 2008, The Android Open Source Project |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * * Redistributions of source code must retain the above copyright | 7 * * Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * * Redistributions in binary form must reproduce the above copyright | 9 * * Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 17 matching lines...) Expand all Loading... |
28 interface TouchEvent : UIEvent { | 28 interface TouchEvent : UIEvent { |
29 readonly attribute TouchList touches; | 29 readonly attribute TouchList touches; |
30 readonly attribute TouchList targetTouches; | 30 readonly attribute TouchList targetTouches; |
31 readonly attribute TouchList changedTouches; | 31 readonly attribute TouchList changedTouches; |
32 readonly attribute boolean altKey; | 32 readonly attribute boolean altKey; |
33 readonly attribute boolean metaKey; | 33 readonly attribute boolean metaKey; |
34 readonly attribute boolean ctrlKey; | 34 readonly attribute boolean ctrlKey; |
35 readonly attribute boolean shiftKey; | 35 readonly attribute boolean shiftKey; |
36 | 36 |
37 // FIXME: initTouch() is not yet standardized. | 37 // FIXME: initTouch() is not yet standardized. |
38 [CallWith=ScriptState] void initTouchEvent([Default=Undefined] optional Touc
hList touches, | 38 [CallWith=ScriptState, Measure] void initTouchEvent([Default=Undefined] opti
onal TouchList touches, |
39 [Default=Undefined] optional TouchList targetTouches, | 39 [Default=Undefined] opti
onal TouchList targetTouches, |
40 [Default=Undefined] optional TouchList changedTouches, | 40 [Default=Undefined] opti
onal TouchList changedTouches, |
41 [Default=Undefined] optional DOMString type, | 41 [Default=Undefined] opti
onal DOMString type, |
42 [Default=Undefined] optional Window view, | 42 [Default=Undefined] opti
onal Window view, |
43 [Default=Undefined] optional long unused1, | 43 [Default=Undefined] opti
onal long unused1, |
44 [Default=Undefined] optional long unused2, | 44 [Default=Undefined] opti
onal long unused2, |
45 [Default=Undefined] optional long unused3, | 45 [Default=Undefined] opti
onal long unused3, |
46 [Default=Undefined] optional long unused4, | 46 [Default=Undefined] opti
onal long unused4, |
47 [Default=Undefined] optional boolean ctrlKey, | 47 [Default=Undefined] opti
onal boolean ctrlKey, |
48 [Default=Undefined] optional boolean altKey, | 48 [Default=Undefined] opti
onal boolean altKey, |
49 [Default=Undefined] optional boolean shiftKey, | 49 [Default=Undefined] opti
onal boolean shiftKey, |
50 [Default=Undefined] optional boolean metaKey); | 50 [Default=Undefined] opti
onal boolean metaKey); |
51 }; | 51 }; |
OLD | NEW |