| 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 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 readonly attribute [TreatReturnedNullStringAs=Null] DOMString xmlEncodin
g; | 69 readonly attribute [TreatReturnedNullStringAs=Null] DOMString xmlEncodin
g; |
| 70 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString xmlVersion | 70 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString xmlVersion |
| 71 setter raises (DOMException); | 71 setter raises (DOMException); |
| 72 attribute boolean xmlStandalone | 72 attribute boolean xmlStandalone |
| 73 setter raises (DOMException); | 73 setter raises (DOMException); |
| 74 | 74 |
| 75 Node adoptNode(in [Optional=DefaultIsUndefined] Node sourc
e) | 75 Node adoptNode(in [Optional=DefaultIsUndefined] Node sourc
e) |
| 76 raises (DOMException); | 76 raises (DOMException); |
| 77 | 77 |
| 78 #if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C |
| 79 // document.documentURI was writable in DOM3 Core, but is read-only in D
OM4 |
| 80 // (see http://www.w3.org/TR/2011/WD-dom-20110915/#document). We need to
keep |
| 81 // the writable version around for Objective C clients, but are moving t
o |
| 82 // read-only for other clients. |
| 78 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString documentURI; | 83 attribute [TreatReturnedNullStringAs=Null, TreatNullAs=NullStri
ng] DOMString documentURI; |
| 84 #else |
| 85 readonly attribute [TreatReturnedNullStringAs=Null] DOMString documentUR
I; |
| 86 #endif |
| 79 | 87 |
| 80 // DOM Level 2 Events (DocumentEvents interface) | 88 // DOM Level 2 Events (DocumentEvents interface) |
| 81 | 89 |
| 82 Event createEvent(in [Optional=DefaultIsUndefined] DOMStrin
g eventType) | 90 Event createEvent(in [Optional=DefaultIsUndefined] DOMStrin
g eventType) |
| 83 raises(DOMException); | 91 raises(DOMException); |
| 84 | 92 |
| 85 // DOM Level 2 Tranversal and Range (DocumentRange interface) | 93 // DOM Level 2 Tranversal and Range (DocumentRange interface) |
| 86 | 94 |
| 87 Range createRange(); | 95 Range createRange(); |
| 88 | 96 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 readonly attribute [V8EnabledAtRuntime] boolean webkitFullScreenKeyboard
InputAllowed; | 258 readonly attribute [V8EnabledAtRuntime] boolean webkitFullScreenKeyboard
InputAllowed; |
| 251 readonly attribute [V8EnabledAtRuntime] Element webkitCurrentFullScreenE
lement; | 259 readonly attribute [V8EnabledAtRuntime] Element webkitCurrentFullScreenE
lement; |
| 252 [V8EnabledAtRuntime] void webkitCancelFullScreen(); | 260 [V8EnabledAtRuntime] void webkitCancelFullScreen(); |
| 253 | 261 |
| 254 // W3C version | 262 // W3C version |
| 255 readonly attribute [V8EnabledAtRuntime] boolean webkitFullscreenEnabled; | 263 readonly attribute [V8EnabledAtRuntime] boolean webkitFullscreenEnabled; |
| 256 readonly attribute [V8EnabledAtRuntime] Element webkitFullscreenElement; | 264 readonly attribute [V8EnabledAtRuntime] Element webkitFullscreenElement; |
| 257 [V8EnabledAtRuntime] void webkitExitFullscreen(); | 265 [V8EnabledAtRuntime] void webkitExitFullscreen(); |
| 258 #endif | 266 #endif |
| 259 | 267 |
| 268 [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointerLock] void webkitEx
itPointerLock(); |
| 269 readonly attribute [Conditional=POINTER_LOCK, V8EnabledAtRuntime=pointer
Lock] Element webkitPointerLockElement; |
| 270 |
| 260 #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS | 271 #if defined(ENABLE_CSS_REGIONS) && ENABLE_CSS_REGIONS |
| 261 WebKitNamedFlow webkitGetFlowByName(in DOMString name); | 272 WebKitNamedFlow webkitGetFlowByName(in DOMString name); |
| 262 #endif | 273 #endif |
| 263 | 274 |
| 264 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C | 275 #if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C |
| 265 // Event handler DOM attributes | 276 // Event handler DOM attributes |
| 266 attribute [NotEnumerable] EventListener onabort; | 277 attribute [NotEnumerable] EventListener onabort; |
| 267 attribute [NotEnumerable] EventListener onblur; | 278 attribute [NotEnumerable] EventListener onblur; |
| 268 attribute [NotEnumerable] EventListener onchange; | 279 attribute [NotEnumerable] EventListener onchange; |
| 269 attribute [NotEnumerable] EventListener onclick; | 280 attribute [NotEnumerable] EventListener onclick; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 327 attribute [NotEnumerable] EventListener onreset; | 338 attribute [NotEnumerable] EventListener onreset; |
| 328 attribute [NotEnumerable] EventListener onsearch; | 339 attribute [NotEnumerable] EventListener onsearch; |
| 329 attribute [NotEnumerable] EventListener onselectstart; | 340 attribute [NotEnumerable] EventListener onselectstart; |
| 330 attribute [NotEnumerable] EventListener onselectionchange; | 341 attribute [NotEnumerable] EventListener onselectionchange; |
| 331 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchstart; | 342 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchstart; |
| 332 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchmove; | 343 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchmove; |
| 333 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchend; | 344 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchend; |
| 334 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchcancel; | 345 attribute [NotEnumerable,Conditional=TOUCH_EVENTS,V8EnabledAtRuntime] Ev
entListener ontouchcancel; |
| 335 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenchange; | 346 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenchange; |
| 336 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenerror; | 347 attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwe
bkitfullscreenerror; |
| 337 attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebk
itpointerlockchange; | 348 attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=p
ointerLock] EventListener onwebkitpointerlockchange; |
| 338 attribute [NotEnumerable, Conditional=POINTER_LOCK] EventListener onwebk
itpointerlockerror; | 349 attribute [NotEnumerable, Conditional=POINTER_LOCK, V8EnabledAtRuntime=p
ointerLock] EventListener onwebkitpointerlockerror; |
| 339 #endif | 350 #endif |
| 340 | 351 |
| 341 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS | 352 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS |
| 342 [ReturnNewObject, V8EnabledAtRuntime] Touch createTouch(in [Optional=Def
aultIsUndefined] DOMWindow window, | 353 [ReturnNewObject, V8EnabledAtRuntime] Touch createTouch(in [Optional=Def
aultIsUndefined] DOMWindow window, |
| 343 in [Optional=DefaultIsU
ndefined] EventTarget target, | 354 in [Optional=DefaultIsU
ndefined] EventTarget target, |
| 344 in [Optional=DefaultIsU
ndefined] long identifier, | 355 in [Optional=DefaultIsU
ndefined] long identifier, |
| 345 in [Optional=DefaultIsU
ndefined] long pageX, | 356 in [Optional=DefaultIsU
ndefined] long pageX, |
| 346 in [Optional=DefaultIsU
ndefined] long pageY, | 357 in [Optional=DefaultIsU
ndefined] long pageY, |
| 347 in [Optional=DefaultIsU
ndefined] long screenX, | 358 in [Optional=DefaultIsU
ndefined] long screenX, |
| 348 in [Optional=DefaultIsU
ndefined] long screenY, | 359 in [Optional=DefaultIsU
ndefined] long screenY, |
| (...skipping 11 matching lines...) Expand all Loading... |
| 360 boolean isHTMLDocument(); | 371 boolean isHTMLDocument(); |
| 361 #endif | 372 #endif |
| 362 | 373 |
| 363 // Page visibility API. | 374 // Page visibility API. |
| 364 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; | 375 readonly attribute [Conditional=PAGE_VISIBILITY_API] DOMString webkitVis
ibilityState; |
| 365 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; | 376 readonly attribute [Conditional=PAGE_VISIBILITY_API] boolean webkitHidde
n; |
| 366 | 377 |
| 367 }; | 378 }; |
| 368 | 379 |
| 369 } | 380 } |
| OLD | NEW |