OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 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 [ | 21 [ |
22 JSGenerateToNativeObject, | |
23 JSInlineGetOwnPropertySlot, | |
24 V8CustomToJSObject, | 22 V8CustomToJSObject, |
25 V8SkipVTableValidation | 23 V8SkipVTableValidation |
26 ] interface Element : Node { | 24 ] interface Element : Node { |
27 | 25 |
28 // DOM Level 1 Core | 26 // DOM Level 1 Core |
29 | 27 |
30 [TreatReturnedNullStringAs=Null, V8PerWorldBindings] readonly attribute DOMS
tring tagName; | 28 [TreatReturnedNullStringAs=Null, V8PerWorldBindings] readonly attribute DOMS
tring tagName; |
31 | 29 |
32 [TreatReturnedNullStringAs=Null] DOMString getAttribute(in [Optional=Default
IsUndefined] DOMString name); | 30 [TreatReturnedNullStringAs=Null] DOMString getAttribute(in [Optional=Default
IsUndefined] DOMString name); |
33 [ObjCLegacyUnnamedParameters] void setAttribute(in [Optional=DefaultIsUndefi
ned] DOMString name, | 31 [ObjCLegacyUnnamedParameters] void setAttribute(in [Optional=DefaultIsUndefi
ned] DOMString name, |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
138 // CSSOM View Module API | 136 // CSSOM View Module API |
139 ClientRectList getClientRects(); | 137 ClientRectList getClientRects(); |
140 ClientRect getBoundingClientRect(); | 138 ClientRect getBoundingClientRect(); |
141 #endif | 139 #endif |
142 | 140 |
143 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C | 141 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
144 // Objective-C extensions | 142 // Objective-C extensions |
145 [V8PerWorldBindings] readonly attribute DOMString innerText; | 143 [V8PerWorldBindings] readonly attribute DOMString innerText; |
146 #endif | 144 #endif |
147 | 145 |
148 #if defined(ENABLE_FULLSCREEN_API) && ENABLE_FULLSCREEN_API | |
149 // Mozilla version | 146 // Mozilla version |
150 const unsigned short ALLOW_KEYBOARD_INPUT = 1; | 147 const unsigned short ALLOW_KEYBOARD_INPUT = 1; |
151 [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=DefaultIsUnde
fined] unsigned short flags); | 148 [V8EnabledAtRuntime] void webkitRequestFullScreen(in [Optional=DefaultIsUnde
fined] unsigned short flags); |
152 | 149 |
153 // W3C version | 150 // W3C version |
154 [V8EnabledAtRuntime] void webkitRequestFullscreen(); | 151 [V8EnabledAtRuntime] void webkitRequestFullscreen(); |
155 #endif | |
156 | 152 |
157 [Conditional=POINTER_LOCK] void webkitRequestPointerLock(); | 153 [Conditional=POINTER_LOCK] void webkitRequestPointerLock(); |
158 | 154 |
159 // CSS Regions API | 155 // CSS Regions API |
160 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions, V8PerWorldBindings]
readonly attribute DOMString webkitRegionOverset; | 156 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions, V8PerWorldBindings]
readonly attribute DOMString webkitRegionOverset; |
161 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] sequence<Range> web
kitGetRegionFlowRanges(); | 157 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] sequence<Range> web
kitGetRegionFlowRanges(); |
162 | 158 |
163 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 159 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
164 // Event handler DOM attributes | 160 // Event handler DOM attributes |
165 [NotEnumerable, V8PerWorldBindings] attribute EventListener onabort; | 161 [NotEnumerable, V8PerWorldBindings] attribute EventListener onabort; |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
223 [NotEnumerable, V8PerWorldBindings] attribute EventListener oncopy; | 219 [NotEnumerable, V8PerWorldBindings] attribute EventListener oncopy; |
224 [NotEnumerable, V8PerWorldBindings] attribute EventListener onbeforepaste; | 220 [NotEnumerable, V8PerWorldBindings] attribute EventListener onbeforepaste; |
225 [NotEnumerable, V8PerWorldBindings] attribute EventListener onpaste; | 221 [NotEnumerable, V8PerWorldBindings] attribute EventListener onpaste; |
226 [NotEnumerable, V8PerWorldBindings] attribute EventListener onreset; | 222 [NotEnumerable, V8PerWorldBindings] attribute EventListener onreset; |
227 [NotEnumerable, V8PerWorldBindings] attribute EventListener onsearch; | 223 [NotEnumerable, V8PerWorldBindings] attribute EventListener onsearch; |
228 [NotEnumerable, V8PerWorldBindings] attribute EventListener onselectstart; | 224 [NotEnumerable, V8PerWorldBindings] attribute EventListener onselectstart; |
229 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchstart; | 225 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchstart; |
230 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchmove; | 226 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchmove; |
231 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchend; | 227 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchend; |
232 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchcancel; | 228 [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime=touch, V8PerWorld
Bindings] attribute EventListener ontouchcancel; |
233 [NotEnumerable, Conditional=FULLSCREEN_API, V8PerWorldBindings] attribute Ev
entListener onwebkitfullscreenchange; | 229 [NotEnumerable, V8PerWorldBindings] attribute EventListener onwebkitfullscre
enchange; |
234 [NotEnumerable, Conditional=FULLSCREEN_API, V8PerWorldBindings] attribute Ev
entListener onwebkitfullscreenerror; | 230 [NotEnumerable, V8PerWorldBindings] attribute EventListener onwebkitfullscre
enerror; |
235 #endif | 231 #endif |
236 }; | 232 }; |
237 | 233 |
OLD | NEW |