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 19 matching lines...) Expand all Loading... |
30 ] interface TouchEvent : UIEvent { | 30 ] interface TouchEvent : UIEvent { |
31 readonly attribute TouchList touches; | 31 readonly attribute TouchList touches; |
32 readonly attribute TouchList targetTouches; | 32 readonly attribute TouchList targetTouches; |
33 readonly attribute TouchList changedTouches; | 33 readonly attribute TouchList changedTouches; |
34 readonly attribute boolean altKey; | 34 readonly attribute boolean altKey; |
35 readonly attribute boolean metaKey; | 35 readonly attribute boolean metaKey; |
36 readonly attribute boolean ctrlKey; | 36 readonly attribute boolean ctrlKey; |
37 readonly attribute boolean shiftKey; | 37 readonly attribute boolean shiftKey; |
38 | 38 |
39 // FIXME: initTouchEvent() is not standardized. http://crbug.com/518868 | 39 // FIXME: initTouchEvent() is not standardized. http://crbug.com/518868 |
40 [CallWith=ScriptState, Measure] void initTouchEvent([Default=Undefined] opti
onal TouchList touches, | 40 [CallWith=ScriptState, Measure, LegacyInterfaceTypeChecking] void initTouchE
vent([Default=Undefined] optional TouchList touches, |
41 [Default=Undefined] opti
onal TouchList targetTouches, | 41
[Default=Undefined] optional TouchList targetTouches, |
42 [Default=Undefined] opti
onal TouchList changedTouches, | 42
[Default=Undefined] optional TouchList changedTouches, |
43 [Default=Undefined] opti
onal DOMString type, | 43
[Default=Undefined] optional DOMString type, |
44 [Default=Undefined] opti
onal Window view, | 44
[Default=Undefined] optional Window view, |
45 [Default=Undefined] opti
onal long unused1, | 45
[Default=Undefined] optional long unused1, |
46 [Default=Undefined] opti
onal long unused2, | 46
[Default=Undefined] optional long unused2, |
47 [Default=Undefined] opti
onal long unused3, | 47
[Default=Undefined] optional long unused3, |
48 [Default=Undefined] opti
onal long unused4, | 48
[Default=Undefined] optional long unused4, |
49 [Default=Undefined] opti
onal boolean ctrlKey, | 49
[Default=Undefined] optional boolean ctrlKey, |
50 [Default=Undefined] opti
onal boolean altKey, | 50
[Default=Undefined] optional boolean altKey, |
51 [Default=Undefined] opti
onal boolean shiftKey, | 51
[Default=Undefined] optional boolean shiftKey, |
52 [Default=Undefined] opti
onal boolean metaKey); | 52
[Default=Undefined] optional boolean metaKey); |
53 }; | 53 }; |
OLD | NEW |