OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 3 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 module core { | 21 module core { |
22 | 22 |
23 interface [ | 23 interface [ |
24 CustomMarkFunction, | 24 CustomMarkFunction, |
| 25 CustomPushEventHandlerScope, |
25 GenerateConstructor, | 26 GenerateConstructor, |
26 GenerateNativeConverter, | 27 GenerateNativeConverter, |
27 GenerateToJS, | 28 GenerateToJS, |
28 InlineGetOwnPropertySlot, | 29 InlineGetOwnPropertySlot, |
29 ObjCCustomInternalImpl, | 30 ObjCCustomInternalImpl, |
30 InterfaceUUID=84BA0D7A-7E3E-4a7b-B6FB-7653E8FB54ED, | 31 InterfaceUUID=84BA0D7A-7E3E-4a7b-B6FB-7653E8FB54ED, |
31 ImplementationUUID=81B47FDB-94B0-40fd-8E0C-FB2A6E53CC04 | 32 ImplementationUUID=81B47FDB-94B0-40fd-8E0C-FB2A6E53CC04 |
32 ] Node | 33 ] Node |
33 #if defined(LANGUAGE_OBJECTIVE_C) | 34 #if defined(LANGUAGE_OBJECTIVE_C) |
34 : Object, EventTarget | 35 : Object, EventTarget |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 DOMUserData getUserData(in DOMString key); | 125 DOMUserData getUserData(in DOMString key); |
125 #endif /* 0 */ | 126 #endif /* 0 */ |
126 | 127 |
127 // IE extentions | 128 // IE extentions |
128 readonly attribute Node parentElement; | 129 readonly attribute Node parentElement; |
129 | 130 |
130 #if defined(LANGUAGE_OBJECTIVE_C) | 131 #if defined(LANGUAGE_OBJECTIVE_C) |
131 // Objective-C extensions | 132 // Objective-C extensions |
132 readonly attribute boolean isContentEditable; | 133 readonly attribute boolean isContentEditable; |
133 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ | 134 #endif /* defined(LANGUAGE_OBJECTIVE_C) */ |
| 135 |
| 136 #if !defined(LANGUAGE_OBJECTIVE_C) |
| 137 #if !defined(LANGUAGE_COM) |
| 138 attribute [DontEnum, ProtectedListener] EventListener onabort; |
| 139 attribute [DontEnum, ProtectedListener] EventListener onblur; |
| 140 attribute [DontEnum, ProtectedListener] EventListener onchange; |
| 141 attribute [DontEnum, ProtectedListener] EventListener onclick; |
| 142 attribute [DontEnum, ProtectedListener] EventListener oncontextmenu; |
| 143 attribute [DontEnum, ProtectedListener] EventListener ondblclick; |
| 144 attribute [DontEnum, ProtectedListener] EventListener onerror; |
| 145 attribute [DontEnum, ProtectedListener] EventListener onfocus; |
| 146 attribute [DontEnum, ProtectedListener] EventListener oninput; |
| 147 attribute [DontEnum, ProtectedListener] EventListener onkeydown; |
| 148 attribute [DontEnum, ProtectedListener] EventListener onkeypress; |
| 149 attribute [DontEnum, ProtectedListener] EventListener onkeyup; |
| 150 attribute [DontEnum, ProtectedListener] EventListener onload; |
| 151 attribute [DontEnum, ProtectedListener] EventListener onmousedown; |
| 152 attribute [DontEnum, ProtectedListener] EventListener onmousemove; |
| 153 attribute [DontEnum, ProtectedListener] EventListener onmouseout; |
| 154 attribute [DontEnum, ProtectedListener] EventListener onmouseover; |
| 155 attribute [DontEnum, ProtectedListener] EventListener onmouseup; |
| 156 attribute [DontEnum, ProtectedListener] EventListener onmousewheel; |
| 157 attribute [DontEnum, ProtectedListener] EventListener onbeforecut; |
| 158 attribute [DontEnum, ProtectedListener] EventListener oncut; |
| 159 attribute [DontEnum, ProtectedListener] EventListener onbeforecopy; |
| 160 attribute [DontEnum, ProtectedListener] EventListener oncopy; |
| 161 attribute [DontEnum, ProtectedListener] EventListener onbeforepaste; |
| 162 attribute [DontEnum, ProtectedListener] EventListener onpaste; |
| 163 attribute [DontEnum, ProtectedListener] EventListener ondragenter; |
| 164 attribute [DontEnum, ProtectedListener] EventListener ondragover; |
| 165 attribute [DontEnum, ProtectedListener] EventListener ondragleave; |
| 166 attribute [DontEnum, ProtectedListener] EventListener ondrop; |
| 167 attribute [DontEnum, ProtectedListener] EventListener ondragstart; |
| 168 attribute [DontEnum, ProtectedListener] EventListener ondrag; |
| 169 attribute [DontEnum, ProtectedListener] EventListener ondragend; |
| 170 attribute [DontEnum, ProtectedListener] EventListener onreset; |
| 171 attribute [DontEnum, ProtectedListener] EventListener onresize; |
| 172 attribute [DontEnum, ProtectedListener] EventListener onscroll; |
| 173 attribute [DontEnum, ProtectedListener] EventListener onsearch; |
| 174 attribute [DontEnum, ProtectedListener] EventListener onselect; |
| 175 attribute [DontEnum, ProtectedListener] EventListener onselectstart; |
| 176 attribute [DontEnum, ProtectedListener] EventListener onsubmit; |
| 177 attribute [DontEnum, ProtectedListener] EventListener onunload; |
| 178 |
| 179 [Custom] void addEventListener(in DOMString type, |
| 180 in EventListener listener, |
| 181 in boolean useCapture); |
| 182 [Custom] void removeEventListener(in DOMString type, |
| 183 in EventListener listener, |
| 184 in boolean useCapture); |
| 185 boolean dispatchEvent(in Event event) |
| 186 raises(EventException); |
| 187 #endif |
| 188 #endif |
134 }; | 189 }; |
135 | 190 |
136 } | 191 } |
OLD | NEW |