OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2006, 2007, 2011 Apple Inc. All rights reserved. |
3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> | 3 * Copyright (C) 2006, 2007 Samuel Weinig <sam@webkit.org> |
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, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
255 [V8EnabledAtRuntime] readonly attribute boolean webkitFullscreenEnabled; | 255 [V8EnabledAtRuntime] readonly attribute boolean webkitFullscreenEnabled; |
256 [V8EnabledAtRuntime] readonly attribute Element webkitFullscreenElement; | 256 [V8EnabledAtRuntime] readonly attribute Element webkitFullscreenElement; |
257 [V8EnabledAtRuntime] void webkitExitFullscreen(); | 257 [V8EnabledAtRuntime] void webkitExitFullscreen(); |
258 #endif | 258 #endif |
259 | 259 |
260 [Conditional=POINTER_LOCK] void webkitExitPointerLock(); | 260 [Conditional=POINTER_LOCK] void webkitExitPointerLock(); |
261 [Conditional=POINTER_LOCK] readonly attribute Element webkitPointerLockEleme
nt; | 261 [Conditional=POINTER_LOCK] readonly attribute Element webkitPointerLockEleme
nt; |
262 | 262 |
263 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] DOMNamedFlowCollect
ion webkitGetNamedFlows(); | 263 [Conditional=CSS_REGIONS, V8EnabledAtRuntime=cssRegions] DOMNamedFlowCollect
ion webkitGetNamedFlows(); |
264 | 264 |
| 265 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT |
| 266 [Conditional=FONT_LOAD_EVENTS, V8EnabledAtRuntime=fontLoadEvents] readonly a
ttribute FontLoader fontloader; |
| 267 #endif |
| 268 |
265 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 269 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
266 // Event handler DOM attributes | 270 // Event handler DOM attributes |
267 [NotEnumerable] attribute EventListener onabort; | 271 [NotEnumerable] attribute EventListener onabort; |
268 [NotEnumerable] attribute EventListener onblur; | 272 [NotEnumerable] attribute EventListener onblur; |
269 [NotEnumerable] attribute EventListener onchange; | 273 [NotEnumerable] attribute EventListener onchange; |
270 [NotEnumerable] attribute EventListener onclick; | 274 [NotEnumerable] attribute EventListener onclick; |
271 [NotEnumerable] attribute EventListener oncontextmenu; | 275 [NotEnumerable] attribute EventListener oncontextmenu; |
272 [NotEnumerable] attribute EventListener ondblclick; | 276 [NotEnumerable] attribute EventListener ondblclick; |
273 [NotEnumerable] attribute EventListener ondrag; | 277 [NotEnumerable] attribute EventListener ondrag; |
274 [NotEnumerable] attribute EventListener ondragend; | 278 [NotEnumerable] attribute EventListener ondragend; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
349 in [Optional=DefaultIsUndef
ined] long screenY, | 353 in [Optional=DefaultIsUndef
ined] long screenY, |
350 in [Optional=DefaultIsUndef
ined] long webkitRadiusX, | 354 in [Optional=DefaultIsUndef
ined] long webkitRadiusX, |
351 in [Optional=DefaultIsUndef
ined] long webkitRadiusY, | 355 in [Optional=DefaultIsUndef
ined] long webkitRadiusY, |
352 in [Optional=DefaultIsUndef
ined] float webkitRotationAngle, | 356 in [Optional=DefaultIsUndef
ined] float webkitRotationAngle, |
353 in [Optional=DefaultIsUndef
ined] float webkitForce) | 357 in [Optional=DefaultIsUndef
ined] float webkitForce) |
354 raises (DOMException); | 358 raises (DOMException); |
355 [ReturnNewObject, V8EnabledAtRuntime=touch, Custom] TouchList createTouchLis
t() | 359 [ReturnNewObject, V8EnabledAtRuntime=touch, Custom] TouchList createTouchLis
t() |
356 raises (DOMException); | 360 raises (DOMException); |
357 #endif | 361 #endif |
358 | 362 |
| 363 #if defined(ENABLE_CUSTOM_ELEMENTS) && ENABLE_CUSTOM_ELEMENTS |
| 364 [V8EnabledAtRuntime=customDOMElements, Conditional=CUSTOM_ELEMENTS, Implemen
tedAs=registerElement, CallWith=ScriptState] |
| 365 CustomElementConstructor webkitRegister(in DOMString name, in [Optional] Dic
tionary options) raises(DOMException); |
| 366 [ReturnNewObject] Element createElement(in DOMString localName, in [TreatNul
lAs=NullString] DOMString typeExtension) raises (DOMException); |
| 367 [ReturnNewObject] Element createElementNS(in [TreatNullAs=NullString] DOMStr
ing namespaceURI, in DOMString qualifiedName, |
| 368 in [TreatNullAs=NullString] DOMStr
ing typeExtension) raises (DOMException); |
| 369 #endif |
| 370 |
359 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP | 371 #if defined(LANGUAGE_CPP) && LANGUAGE_CPP |
360 // Extra WebCore methods exposed to allow compile-time casting in C++ | 372 // Extra WebCore methods exposed to allow compile-time casting in C++ |
361 boolean isHTMLDocument(); | 373 boolean isHTMLDocument(); |
362 #endif | 374 #endif |
363 | 375 |
364 // Page visibility API. | 376 // Page visibility API. |
365 [Conditional=PAGE_VISIBILITY_API] readonly attribute DOMString webkitVisibil
ityState; | 377 [Conditional=PAGE_VISIBILITY_API] readonly attribute DOMString webkitVisibil
ityState; |
366 [Conditional=PAGE_VISIBILITY_API] readonly attribute boolean webkitHidden; | 378 [Conditional=PAGE_VISIBILITY_API] readonly attribute boolean webkitHidden; |
367 | 379 |
368 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces | 380 // Security Policy API: http://dvcs.w3.org/hg/content-security-policy/raw-fi
le/tip/csp-specification.dev.html#script-interfaces |
369 [Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyF
eatures] readonly attribute DOMSecurityPolicy securityPolicy; | 381 [Conditional=CSP_NEXT, V8EnabledAtRuntime=experimentalContentSecurityPolicyF
eatures] readonly attribute DOMSecurityPolicy securityPolicy; |
370 | 382 |
371 }; | 383 }; |
372 | 384 |
OLD | NEW |