OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. | 2 * Copyright (c) 2013, Opera Software ASA. All rights reserved. |
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 * 1. Redistributions of source code must retain the above copyright | 7 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. 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 16 matching lines...) Expand all Loading... |
27 * OF THE POSSIBILITY OF SUCH DAMAGE. | 27 * OF THE POSSIBILITY OF SUCH DAMAGE. |
28 */ | 28 */ |
29 | 29 |
30 // https://html.spec.whatwg.org/#globaleventhandlers | 30 // https://html.spec.whatwg.org/#globaleventhandlers |
31 | 31 |
32 [ | 32 [ |
33 LegacyTreatAsPartialInterface, | 33 LegacyTreatAsPartialInterface, |
34 NoInterfaceObject, // Always used on target of 'implements' | 34 NoInterfaceObject, // Always used on target of 'implements' |
35 ] interface GlobalEventHandlers { | 35 ] interface GlobalEventHandlers { |
36 attribute EventHandler onabort; | 36 attribute EventHandler onabort; |
37 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocomplete; | |
38 [RuntimeEnabled=RequestAutocomplete] attribute EventHandler onautocompleteer
ror; | |
39 attribute EventHandler onblur; | 37 attribute EventHandler onblur; |
40 attribute EventHandler oncancel; | 38 attribute EventHandler oncancel; |
41 attribute EventHandler oncanplay; | 39 attribute EventHandler oncanplay; |
42 attribute EventHandler oncanplaythrough; | 40 attribute EventHandler oncanplaythrough; |
43 attribute EventHandler onchange; | 41 attribute EventHandler onchange; |
44 attribute EventHandler onclick; | 42 attribute EventHandler onclick; |
45 attribute EventHandler onclose; | 43 attribute EventHandler onclose; |
46 attribute EventHandler oncontextmenu; | 44 attribute EventHandler oncontextmenu; |
47 attribute EventHandler oncuechange; | 45 attribute EventHandler oncuechange; |
48 attribute EventHandler ondblclick; | 46 attribute EventHandler ondblclick; |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerenter; | 107 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerenter; |
110 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerleave; | 108 [RuntimeEnabled=PointerEvent] attribute EventHandler onpointerleave; |
111 | 109 |
112 // Touch Events | 110 // Touch Events |
113 // https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers
-interface | 111 // https://w3c.github.io/touch-events/#extensions-to-the-globaleventhandlers
-interface |
114 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; | 112 [RuntimeEnabled=Touch] attribute EventHandler ontouchcancel; |
115 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; | 113 [RuntimeEnabled=Touch] attribute EventHandler ontouchend; |
116 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; | 114 [RuntimeEnabled=Touch] attribute EventHandler ontouchmove; |
117 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; | 115 [RuntimeEnabled=Touch] attribute EventHandler ontouchstart; |
118 }; | 116 }; |
OLD | NEW |