Changeset 27277 in webkit
- Timestamp:
- Oct 30, 2007 6:03:35 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 28 added
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r27276 r27277 1 2007-10-29 Antti Koivisto <antti@apple.com> 2 3 Rubber stamped by Adele. 4 5 Initial media (<video> and <audio>) support from feature branch and 6 QTKit based platform implementation. 7 8 This will need to be updated to match current draft specification. 9 10 * Configurations/WebCore.xcconfig: 11 * DerivedSources.make: 12 * WebCore.base.exp: 13 * WebCore.xcodeproj/project.pbxproj: 14 * bindings/js/JSEventCustom.cpp: 15 (WebCore::toJS): 16 * bindings/js/JSHTMLAudioElementConstructor.cpp: Added. 17 (WebCore::JSHTMLAudioElementConstructor::JSHTMLAudioElementConstructor): 18 (WebCore::JSHTMLAudioElementConstructor::implementsConstruct): 19 (WebCore::JSHTMLAudioElementConstructor::construct): 20 * bindings/js/JSHTMLAudioElementConstructor.h: Added. 21 * bindings/js/JSHTMLElementWrapperFactory.cpp: 22 (WebCore::createJSHTMLWrapper): 23 * bindings/js/kjs_window.cpp: 24 (KJS::Window::getValueProperty): 25 * bindings/js/kjs_window.h: 26 (KJS::Window::): 27 * bindings/scripts/CodeGeneratorJS.pm: 28 * dom/Document.cpp: 29 (WebCore::Document::createEvent): 30 (WebCore::Document::willSaveToCache): 31 (WebCore::Document::didRestoreFromCache): 32 (WebCore::Document::registerForCacheCallbacks): 33 (WebCore::Document::unregisterForCacheCallbacks): 34 * dom/Document.h: 35 * dom/Element.cpp: 36 (WebCore::Element::setBooleanAttribute): 37 * dom/Element.h: 38 (WebCore::Element::willSaveToCache): 39 * dom/Event.cpp: 40 (WebCore::Event::isProgressEvent): 41 * dom/Event.h: 42 * dom/EventNames.h: 43 * dom/EventTargetNode.cpp: 44 (WebCore::EventTargetNode::dispatchProgressEvent): 45 * dom/EventTargetNode.h: 46 * dom/ProgressEvent.cpp: Added. 47 (WebCore::ProgressEvent::ProgressEvent): 48 (WebCore::ProgressEvent::initProgressEvent): 49 (WebCore::ProgressEvent::initProgressEventNS): 50 * dom/ProgressEvent.h: Added. 51 (WebCore::ProgressEvent::lengthComputable): 52 (WebCore::ProgressEvent::loaded): 53 (WebCore::ProgressEvent::total): 54 (WebCore::ProgressEvent::isProgressEvent): 55 * dom/ProgressEvent.idl: Added. 56 * history/CachedPage.cpp: 57 (WebCore::CachedPage::CachedPage): 58 * html/HTMLAttributeNames.in: 59 * html/HTMLAudioElement.cpp: Added. 60 (WebCore::HTMLAudioElement::HTMLAudioElement): 61 * html/HTMLAudioElement.h: Added. 62 (WebCore::HTMLAudioElement::tagPriority): 63 * html/HTMLAudioElement.idl: Added. 64 * html/HTMLElement.cpp: 65 (WebCore::inlineTagList): 66 * html/HTMLElementFactory.cpp: 67 (WebCore::audioConstructor): 68 (WebCore::videoConstructor): 69 (WebCore::sourceConstructor): 70 (WebCore::createFunctionMap): 71 * html/HTMLInputElement.cpp: 72 (WebCore::HTMLInputElement::~HTMLInputElement): 73 (WebCore::HTMLInputElement::setInputType): 74 (WebCore::HTMLInputElement::willMoveToNewOwnerDocument): 75 (WebCore::HTMLInputElement::didMoveToNewOwnerDocument): 76 * html/HTMLMediaElement.cpp: Added. 77 (WebCore::HTMLMediaElement::HTMLMediaElement): 78 (WebCore::HTMLMediaElement::~HTMLMediaElement): 79 (WebCore::HTMLMediaElement::checkDTD): 80 (WebCore::HTMLMediaElement::rendererIsNeeded): 81 (WebCore::HTMLMediaElement::createRenderer): 82 (WebCore::HTMLMediaElement::insertedIntoDocument): 83 (WebCore::HTMLMediaElement::removedFromDocument): 84 (WebCore::HTMLMediaElement::scheduleLoad): 85 (WebCore::HTMLMediaElement::initAndDispatchProgressEvent): 86 (WebCore::HTMLMediaElement::dispatchEventAsync): 87 (WebCore::HTMLMediaElement::loadTimerFired): 88 (WebCore::HTMLMediaElement::asyncEventTimerFired): 89 (WebCore::serializeTimeOffset): 90 (WebCore::parseTimeOffset): 91 (WebCore::HTMLMediaElement::getTimeOffsetAttribute): 92 (WebCore::HTMLMediaElement::setTimeOffsetAttribute): 93 (WebCore::HTMLMediaElement::error): 94 (WebCore::HTMLMediaElement::src): 95 (WebCore::HTMLMediaElement::HTMLMediaElement::setSrc): 96 (WebCore::HTMLMediaElement::currentSrc): 97 (WebCore::HTMLMediaElement::networkState): 98 (WebCore::HTMLMediaElement::bufferingRate): 99 (WebCore::HTMLMediaElement::load): 100 (WebCore::HTMLMediaElement::movieNetworkStateChanged): 101 (WebCore::HTMLMediaElement::movieReadyStateChanged): 102 (WebCore::HTMLMediaElement::setReadyState): 103 (WebCore::HTMLMediaElement::progressEventTimerFired): 104 (WebCore::HTMLMediaElement::seek): 105 (WebCore::HTMLMediaElement::readyState): 106 (WebCore::HTMLMediaElement::seeking): 107 (WebCore::HTMLMediaElement::currentTime): 108 (WebCore::HTMLMediaElement::setCurrentTime): 109 (WebCore::HTMLMediaElement::duration): 110 (WebCore::HTMLMediaElement::paused): 111 (WebCore::HTMLMediaElement::defaultPlaybackRate): 112 (WebCore::HTMLMediaElement::setDefaultPlaybackRate): 113 (WebCore::HTMLMediaElement::playbackRate): 114 (WebCore::HTMLMediaElement::setPlaybackRate): 115 (WebCore::HTMLMediaElement::ended): 116 (WebCore::HTMLMediaElement::autoplay): 117 (WebCore::HTMLMediaElement::setAutoplay): 118 (WebCore::HTMLMediaElement::play): 119 (WebCore::HTMLMediaElement::pause): 120 (WebCore::HTMLMediaElement::loopCount): 121 (WebCore::HTMLMediaElement::setLoopCount): 122 (WebCore::HTMLMediaElement::start): 123 (WebCore::HTMLMediaElement::setStart): 124 (WebCore::HTMLMediaElement::end): 125 (WebCore::HTMLMediaElement::setEnd): 126 (WebCore::HTMLMediaElement::loopStart): 127 (WebCore::HTMLMediaElement::setLoopStart): 128 (WebCore::HTMLMediaElement::loopEnd): 129 (WebCore::HTMLMediaElement::setLoopEnd): 130 (WebCore::HTMLMediaElement::currentLoop): 131 (WebCore::HTMLMediaElement::setCurrentLoop): 132 (WebCore::HTMLMediaElement::controls): 133 (WebCore::HTMLMediaElement::setControls): 134 (WebCore::HTMLMediaElement::volume): 135 (WebCore::HTMLMediaElement::setVolume): 136 (WebCore::HTMLMediaElement::muted): 137 (WebCore::HTMLMediaElement::setMuted): 138 (WebCore::HTMLMediaElement::pickMedia): 139 (WebCore::HTMLMediaElement::checkIfSeekNeeded): 140 (WebCore::HTMLMediaElement::movieVolumeChanged): 141 (WebCore::HTMLMediaElement::movieDidEnd): 142 (WebCore::HTMLMediaElement::movieCuePointReached): 143 (WebCore::HTMLMediaElement::addCuePoint): 144 (WebCore::HTMLMediaElement::removeCuePoint): 145 (WebCore::HTMLMediaElement::buffered): 146 (WebCore::HTMLMediaElement::played): 147 (WebCore::HTMLMediaElement::seekable): 148 (WebCore::HTMLMediaElement::effectiveStart): 149 (WebCore::HTMLMediaElement::effectiveEnd): 150 (WebCore::HTMLMediaElement::effectiveLoopStart): 151 (WebCore::HTMLMediaElement::effectiveLoopEnd): 152 (WebCore::HTMLMediaElement::activelyPlaying): 153 (WebCore::HTMLMediaElement::endedPlayback): 154 (WebCore::HTMLMediaElement::willSaveToCache): 155 (WebCore::HTMLMediaElement::didRestoreFromCache): 156 * html/HTMLMediaElement.h: Added. 157 (WebCore::HTMLMediaElement::movie): 158 (WebCore::HTMLMediaElement::isVideo): 159 (WebCore::HTMLMediaElement::): 160 (WebCore::HTMLMediaElement::CallbackEntry::CallbackEntry): 161 * html/HTMLMediaElement.idl: Added. 162 * html/HTMLSourceElement.cpp: Added. 163 (WebCore::HTMLSourceElement::HTMLSourceElement): 164 (WebCore::HTMLSourceElement::~HTMLSourceElement): 165 (WebCore::HTMLSourceElement::insertedIntoDocument): 166 (WebCore::HTMLSourceElement::src): 167 (WebCore::HTMLSourceElement::setSrc): 168 (WebCore::HTMLSourceElement::media): 169 (WebCore::HTMLSourceElement::setMedia): 170 (WebCore::HTMLSourceElement::type): 171 (WebCore::HTMLSourceElement::setType): 172 * html/HTMLSourceElement.h: Added. 173 (WebCore::HTMLSourceElement::endTagRequirement): 174 (WebCore::HTMLSourceElement::tagPriority): 175 * html/HTMLSourceElement.idl: Added. 176 * html/HTMLTagNames.in: 177 * html/HTMLVideoElement.cpp: Added. 178 (WebCore::HTMLVideoElement::HTMLVideoElement): 179 (WebCore::HTMLVideoElement::videoWidth): 180 (WebCore::HTMLVideoElement::videoHeight): 181 * html/HTMLVideoElement.h: Added. 182 (WebCore::HTMLVideoElement::tagPriority): 183 (WebCore::HTMLVideoElement::isVideo): 184 * html/HTMLVideoElement.idl: Added. 185 * html/MediaError.h: Added. 186 (WebCore::MediaError::): 187 (WebCore::MediaError::MediaError): 188 (WebCore::MediaError::code): 189 * html/MediaError.idl: Added. 190 * html/TimeRanges.cpp: Added. 191 (TimeRanges::TimeRanges): 192 (TimeRanges::start): 193 (TimeRanges::end): 194 (TimeRanges::add): 195 (TimeRanges::contain): 196 * html/TimeRanges.h: Added. 197 (WebCore::TimeRanges::TimeRanges): 198 (WebCore::TimeRanges::length): 199 (WebCore::TimeRanges::Range::Range): 200 * html/TimeRanges.idl: Added. 201 * page/DOMWindow.idl: 202 * platform/MIMETypeRegistry.cpp: 203 (WebCore::initialiseSupportedMovieMIMETypes): 204 (WebCore::initialiseMIMETypeRegistry): 205 (WebCore::MIMETypeRegistry::isSupportedMovieMIMEType): 206 (WebCore::MIMETypeRegistry::getSupportedMovieMIMETypes): 207 * platform/MIMETypeRegistry.h: 208 * platform/graphics/Movie.cpp: Added. 209 (WebCore::Movie::Movie): 210 (WebCore::Movie::~Movie): 211 (WebCore::Movie::load): 212 (WebCore::Movie::cancelLoad): 213 (WebCore::Movie::play): 214 (WebCore::Movie::pause): 215 (WebCore::Movie::duration): 216 (WebCore::Movie::currentTime): 217 (WebCore::Movie::seek): 218 (WebCore::Movie::paused): 219 (WebCore::Movie::seeking): 220 (WebCore::Movie::naturalSize): 221 (WebCore::Movie::hasVideo): 222 (WebCore::Movie::networkState): 223 (WebCore::Movie::readyState): 224 (WebCore::Movie::volume): 225 (WebCore::Movie::setVolume): 226 (WebCore::Movie::rate): 227 (WebCore::Movie::setRate): 228 (WebCore::Movie::muted): 229 (WebCore::Movie::setMuted): 230 (WebCore::Movie::dataRate): 231 (WebCore::Movie::setEndTime): 232 (WebCore::Movie::addCuePoint): 233 (WebCore::Movie::removeCuePoint): 234 (WebCore::Movie::clearCuePoints): 235 (WebCore::Movie::maxTimeBuffered): 236 (WebCore::Movie::maxTimeSeekable): 237 (WebCore::Movie::bytesLoaded): 238 (WebCore::Movie::totalBytesKnown): 239 (WebCore::Movie::totalBytes): 240 (WebCore::Movie::setRect): 241 (WebCore::Movie::visible): 242 (WebCore::Movie::setVisible): 243 (WebCore::Movie::paint): 244 (WebCore::Movie::getSupportedTypes): 245 (WebCore::Movie::networkStateChanged): 246 (WebCore::Movie::readyStateChanged): 247 (WebCore::Movie::volumeChanged): 248 (WebCore::Movie::didEnd): 249 (WebCore::Movie::cuePointReached): 250 * platform/graphics/Movie.h: Added. 251 (WebCore::MovieClient::~MovieClient): 252 (WebCore::MovieClient::movieNetworkStateChanged): 253 (WebCore::MovieClient::movieReadyStateChanged): 254 (WebCore::MovieClient::movieVolumeChanged): 255 (WebCore::MovieClient::movieDidEnd): 256 (WebCore::MovieClient::movieCuePointReached): 257 (WebCore::Movie::parentWidget): 258 (WebCore::Movie::setParentWidget): 259 (WebCore::Movie::rect): 260 (WebCore::Movie::): 261 * platform/graphics/mac/MoviePrivateQTKit.h: Added. 262 * platform/graphics/mac/MoviePrivateQTKit.mm: Added. 263 (WebCore::MoviePrivate::MoviePrivate): 264 (WebCore::MoviePrivate::~MoviePrivate): 265 (WebCore::MoviePrivate::createQTMovie): 266 (WebCore::MoviePrivate::createQTMovieView): 267 (WebCore::MoviePrivate::createQTTime): 268 (WebCore::MoviePrivate::load): 269 (WebCore::MoviePrivate::play): 270 (WebCore::MoviePrivate::pause): 271 (WebCore::MoviePrivate::duration): 272 (WebCore::MoviePrivate::currentTime): 273 (WebCore::MoviePrivate::seek): 274 (WebCore::MoviePrivate::setEndTime): 275 (WebCore::MoviePrivate::addCuePoint): 276 (WebCore::MoviePrivate::removeCuePoint): 277 (WebCore::MoviePrivate::clearCuePoints): 278 (WebCore::MoviePrivate::startCuePointTimerIfNeeded): 279 (WebCore::MoviePrivate::cancelSeek): 280 (WebCore::MoviePrivate::seekTimerFired): 281 (WebCore::MoviePrivate::cuePointTimerFired): 282 (WebCore::MoviePrivate::paused): 283 (WebCore::MoviePrivate::seeking): 284 (WebCore::MoviePrivate::naturalSize): 285 (WebCore::MoviePrivate::hasVideo): 286 (WebCore::MoviePrivate::setVolume): 287 (WebCore::MoviePrivate::setMuted): 288 (WebCore::MoviePrivate::setRate): 289 (WebCore::MoviePrivate::dataRate): 290 (WebCore::MoviePrivate::networkState): 291 (WebCore::MoviePrivate::readyState): 292 (WebCore::MoviePrivate::maxTimeBuffered): 293 (WebCore::MoviePrivate::maxTimeSeekable): 294 (WebCore::MoviePrivate::maxTimeLoaded): 295 (WebCore::MoviePrivate::bytesLoaded): 296 (WebCore::MoviePrivate::totalBytesKnown): 297 (WebCore::MoviePrivate::totalBytes): 298 (WebCore::MoviePrivate::cancelLoad): 299 (WebCore::MoviePrivate::updateStates): 300 (WebCore::MoviePrivate::loadStateChanged): 301 (WebCore::MoviePrivate::rateChanged): 302 (WebCore::MoviePrivate::sizeChanged): 303 (WebCore::MoviePrivate::timeChanged): 304 (WebCore::MoviePrivate::volumeChanged): 305 (WebCore::MoviePrivate::didEnd): 306 (WebCore::MoviePrivate::setRect): 307 (WebCore::MoviePrivate::setVisible): 308 (WebCore::MoviePrivate::paint): 309 (WebCore::MoviePrivate::getSupportedTypes): 310 (-[WebCoreMovieObserver loadStateChanged:]): 311 (-[WebCoreMovieObserver rateChanged:]): 312 (-[WebCoreMovieObserver sizeChanged:]): 313 (-[WebCoreMovieObserver timeChanged:]): 314 (-[WebCoreMovieObserver volumeChanged:]): 315 (-[WebCoreMovieObserver didEnd:]): 316 (-[WebCoreMovieObserver setCallback:WebCore::]): 317 * platform/mac/WebCoreSystemInterface.h: 318 * platform/mac/WebCoreSystemInterface.mm: 319 * rendering/RenderLayer.cpp: 320 (WebCore::RenderLayer::collectLayers): 321 * rendering/RenderVideo.cpp: Added. 322 (WebCore::RenderVideo::RenderVideo): 323 (WebCore::RenderVideo::~RenderVideo): 324 (WebCore::RenderVideo::movie): 325 (WebCore::RenderVideo::videoSizeChanged): 326 (WebCore::RenderVideo::paint): 327 (WebCore::RenderVideo::layout): 328 (WebCore::RenderVideo::updateFromElement): 329 (WebCore::RenderVideo::updateMovie): 330 (WebCore::RenderVideo::isWidthSpecified): 331 (WebCore::RenderVideo::isHeightSpecified): 332 (WebCore::RenderVideo::calcReplacedWidth): 333 (WebCore::RenderVideo::calcReplacedHeight): 334 (WebCore::RenderVideo::calcAspectRatioWidth): 335 (WebCore::RenderVideo::calcAspectRatioHeight): 336 (WebCore::RenderVideo::calcPrefWidths): 337 * rendering/RenderVideo.h: Added. 338 (WebCore::RenderVideo::renderName): 339 1 340 2007-10-30 Sam Weinig <sam@webkit.org> 2 341 -
trunk/WebCore/Configurations/WebCore.xcconfig
r26880 r27277 6 6 EXPORTED_SYMBOLS_FILE_ppc64 = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCore.LP64.exp; 7 7 EXPORTED_SYMBOLS_FILE_x86_64 = $(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/WebCore.LP64.exp; 8 FEATURE_DEFINES = ENABLE_DATABASE ENABLE_ICONDATABASE ENABLE_SVG ENABLE_SVG_EXPERIMENTAL_FEATURES ENABLE_XPATH ENABLE_XSLT ;8 FEATURE_DEFINES = ENABLE_DATABASE ENABLE_ICONDATABASE ENABLE_SVG ENABLE_SVG_EXPERIMENTAL_FEATURES ENABLE_XPATH ENABLE_XSLT ENABLE_VIDEO; 9 9 GCC_PREFIX_HEADER = WebCorePrefix.h; 10 10 GCC_PREPROCESSOR_DEFINITIONS = $(DEBUG_DEFINES) $(FEATURE_DEFINES) $(GCC_PREPROCESSOR_DEFINITIONS); -
trunk/WebCore/DerivedSources.make
r27161 r27277 348 348 JSHTMLAnchorElement.h \ 349 349 JSHTMLAreaElement.h \ 350 JSHTMLAudioElement.h \ 350 351 JSHTMLBaseElement.h \ 351 352 JSHTMLBaseFontElement.h \ … … 382 383 JSHTMLMapElement.h \ 383 384 JSHTMLMarqueeElement.h \ 385 JSHTMLMediaElement.h \ 384 386 JSHTMLMenuElement.h \ 385 387 JSHTMLMetaElement.h \ … … 396 398 JSHTMLScriptElement.h \ 397 399 JSHTMLSelectElement.h \ 400 JSHTMLSourceElement.h \ 398 401 JSHTMLStyleElement.h \ 399 402 JSHTMLTableCaptionElement.h \ … … 406 409 JSHTMLTitleElement.h \ 407 410 JSHTMLUListElement.h \ 411 JSHTMLVideoElement.h \ 408 412 JSHistory.h \ 409 413 JSKeyboardEvent.h \ 414 JSMediaError.h \ 410 415 JSMediaList.h \ 411 416 JSMouseEvent.h \ … … 419 424 JSOverflowEvent.h \ 420 425 JSProcessingInstruction.h \ 426 JSProgressEvent.h \ 421 427 JSRange.h \ 422 428 JSRangeException.h \ … … 561 567 JSText.h \ 562 568 JSTextEvent.h \ 569 JSTimeRanges.h \ 563 570 JSTreeWalker.h \ 564 571 JSUIEvent.h \ 565 572 JSVersionChangeCallback.h \ 573 JSVoidCallback.h \ 566 574 JSXPathEvaluator.h \ 567 575 JSXPathExpression.h \ -
trunk/WebCore/WebCore.base.exp
r27266 r27277 741 741 _wkPathFromFont 742 742 _wkPopupMenu 743 _wkQTMovieDataRate 744 _wkQTMovieMaxTimeLoaded 743 745 _wkReleaseStyleGroup 744 746 _wkSecondsSinceLastInputEvent -
trunk/WebCore/WebCore.xcodeproj/project.pbxproj
r27264 r27277 3608 3608 E1F1E82F0C3C2BB9006DB391 /* XSLTExtensions.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1F1E82D0C3C2BB9006DB391 /* XSLTExtensions.cpp */; }; 3609 3609 E1F1E8300C3C2BB9006DB391 /* XSLTExtensions.h in Headers */ = {isa = PBXBuildFile; fileRef = E1F1E82E0C3C2BB9006DB391 /* XSLTExtensions.h */; }; 3610 E44613A10CD6331000FADA75 /* HTMLAudioElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E446138F0CD6331000FADA75 /* HTMLAudioElement.cpp */; }; 3611 E44613A20CD6331000FADA75 /* HTMLAudioElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613900CD6331000FADA75 /* HTMLAudioElement.h */; }; 3612 E44613A40CD6331000FADA75 /* HTMLMediaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44613920CD6331000FADA75 /* HTMLMediaElement.cpp */; }; 3613 E44613A50CD6331000FADA75 /* HTMLMediaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613930CD6331000FADA75 /* HTMLMediaElement.h */; }; 3614 E44613A70CD6331000FADA75 /* HTMLSourceElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44613950CD6331000FADA75 /* HTMLSourceElement.cpp */; }; 3615 E44613A80CD6331000FADA75 /* HTMLSourceElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613960CD6331000FADA75 /* HTMLSourceElement.h */; }; 3616 E44613AA0CD6331000FADA75 /* HTMLVideoElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44613980CD6331000FADA75 /* HTMLVideoElement.cpp */; }; 3617 E44613AB0CD6331000FADA75 /* HTMLVideoElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613990CD6331000FADA75 /* HTMLVideoElement.h */; }; 3618 E44613AD0CD6331000FADA75 /* MediaError.h in Headers */ = {isa = PBXBuildFile; fileRef = E446139B0CD6331000FADA75 /* MediaError.h */; }; 3619 E44613AF0CD6331000FADA75 /* TimeRanges.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E446139D0CD6331000FADA75 /* TimeRanges.cpp */; }; 3620 E44613B00CD6331000FADA75 /* TimeRanges.h in Headers */ = {isa = PBXBuildFile; fileRef = E446139E0CD6331000FADA75 /* TimeRanges.h */; }; 3621 E44613B10CD6331000FADA75 /* TimeRanges.idl in Resources */ = {isa = PBXBuildFile; fileRef = E446139F0CD6331000FADA75 /* TimeRanges.idl */; }; 3622 E44613B20CD6331000FADA75 /* VoidCallback.idl in Resources */ = {isa = PBXBuildFile; fileRef = E44613A00CD6331000FADA75 /* VoidCallback.idl */; }; 3623 E44613B50CD6344E00FADA75 /* VoidCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44613B30CD6344E00FADA75 /* VoidCallback.cpp */; }; 3624 E44613B60CD6344E00FADA75 /* VoidCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = E44613B40CD6344E00FADA75 /* VoidCallback.h */; }; 3625 E44613E30CD6819F00FADA75 /* Movie.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B41E0C0CBF90BD00AF2ECE /* Movie.cpp */; }; 3626 E44613E40CD681A200FADA75 /* Movie.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B41E0D0CBF90BD00AF2ECE /* Movie.h */; }; 3627 E44613E50CD681A600FADA75 /* MoviePrivateQTKit.mm in Sources */ = {isa = PBXBuildFile; fileRef = E4B41E110CBF90EF00AF2ECE /* MoviePrivateQTKit.mm */; }; 3628 E44613E60CD681A900FADA75 /* MoviePrivateQTKit.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B41E100CBF90EF00AF2ECE /* MoviePrivateQTKit.h */; }; 3629 E44613EB0CD681B400FADA75 /* ProgressEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B41E010CBF8EAA00AF2ECE /* ProgressEvent.cpp */; }; 3630 E44613EC0CD681B500FADA75 /* ProgressEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B41E020CBF8EAA00AF2ECE /* ProgressEvent.h */; }; 3631 E44613ED0CD681BA00FADA75 /* JSProgressEvent.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B423850CBFB73C00AF2ECE /* JSProgressEvent.cpp */; }; 3632 E44613EE0CD681BB00FADA75 /* JSProgressEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B423860CBFB73C00AF2ECE /* JSProgressEvent.h */; }; 3633 E44614160CD6826900FADA75 /* JSHTMLVideoElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E446140E0CD6826900FADA75 /* JSHTMLVideoElement.cpp */; }; 3634 E44614170CD6826900FADA75 /* JSHTMLVideoElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E446140F0CD6826900FADA75 /* JSHTMLVideoElement.h */; }; 3635 E44614180CD6826900FADA75 /* JSMediaError.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44614100CD6826900FADA75 /* JSMediaError.cpp */; }; 3636 E44614190CD6826900FADA75 /* JSMediaError.h in Headers */ = {isa = PBXBuildFile; fileRef = E44614110CD6826900FADA75 /* JSMediaError.h */; }; 3637 E446141A0CD6826900FADA75 /* JSTimeRanges.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44614120CD6826900FADA75 /* JSTimeRanges.cpp */; }; 3638 E446141B0CD6826900FADA75 /* JSTimeRanges.h in Headers */ = {isa = PBXBuildFile; fileRef = E44614130CD6826900FADA75 /* JSTimeRanges.h */; }; 3639 E446141C0CD6826900FADA75 /* JSVoidCallback.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E44614140CD6826900FADA75 /* JSVoidCallback.cpp */; }; 3640 E446141D0CD6826900FADA75 /* JSVoidCallback.h in Headers */ = {isa = PBXBuildFile; fileRef = E44614150CD6826900FADA75 /* JSVoidCallback.h */; }; 3641 E44614370CD689C400FADA75 /* JSHTMLAudioElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B4237D0CBFB73C00AF2ECE /* JSHTMLAudioElement.cpp */; }; 3642 E44614380CD689C500FADA75 /* JSHTMLAudioElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B4237E0CBFB73C00AF2ECE /* JSHTMLAudioElement.h */; }; 3643 E44614390CD689C700FADA75 /* JSHTMLMediaElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B4237F0CBFB73C00AF2ECE /* JSHTMLMediaElement.cpp */; }; 3644 E446143A0CD689C800FADA75 /* JSHTMLMediaElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B423800CBFB73C00AF2ECE /* JSHTMLMediaElement.h */; }; 3645 E446143B0CD689CC00FADA75 /* JSHTMLSourceElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B423710CBFB6E000AF2ECE /* JSHTMLSourceElement.cpp */; }; 3646 E446143C0CD689CC00FADA75 /* JSHTMLSourceElement.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B423720CBFB6E000AF2ECE /* JSHTMLSourceElement.h */; }; 3647 E446143D0CD68A2300FADA75 /* JSHTMLAudioElementConstructor.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B41E070CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.cpp */; }; 3648 E446143E0CD68A2300FADA75 /* JSHTMLAudioElementConstructor.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B41E080CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.h */; }; 3649 E44614510CD68A3500FADA75 /* RenderVideo.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E4B41E330CBFB60900AF2ECE /* RenderVideo.cpp */; }; 3650 E44614520CD68A3500FADA75 /* RenderVideo.h in Headers */ = {isa = PBXBuildFile; fileRef = E4B41E340CBFB60900AF2ECE /* RenderVideo.h */; }; 3651 E4B4232F0CBFB66400AF2ECE /* QTKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E4B4232E0CBFB66400AF2ECE /* QTKit.framework */; }; 3610 3652 ED048ABC0833F132006E1E67 /* textAreaResizeCorner.tiff in Resources */ = {isa = PBXBuildFile; fileRef = ED048ABB0833F132006E1E67 /* textAreaResizeCorner.tiff */; }; 3611 3653 ED2BA83C09A24B91006C0AC4 /* DocumentMarker.h in Headers */ = {isa = PBXBuildFile; fileRef = ED2BA83B09A24B91006C0AC4 /* DocumentMarker.h */; settings = {ATTRIBUTES = (Private, ); }; }; … … 7527 7569 E1F1E82D0C3C2BB9006DB391 /* XSLTExtensions.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = XSLTExtensions.cpp; sourceTree = "<group>"; }; 7528 7570 E1F1E82E0C3C2BB9006DB391 /* XSLTExtensions.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = XSLTExtensions.h; sourceTree = "<group>"; }; 7571 E446138F0CD6331000FADA75 /* HTMLAudioElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLAudioElement.cpp; sourceTree = "<group>"; }; 7572 E44613900CD6331000FADA75 /* HTMLAudioElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLAudioElement.h; sourceTree = "<group>"; }; 7573 E44613910CD6331000FADA75 /* HTMLAudioElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLAudioElement.idl; sourceTree = "<group>"; }; 7574 E44613920CD6331000FADA75 /* HTMLMediaElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLMediaElement.cpp; sourceTree = "<group>"; }; 7575 E44613930CD6331000FADA75 /* HTMLMediaElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLMediaElement.h; sourceTree = "<group>"; }; 7576 E44613940CD6331000FADA75 /* HTMLMediaElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLMediaElement.idl; sourceTree = "<group>"; }; 7577 E44613950CD6331000FADA75 /* HTMLSourceElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLSourceElement.cpp; sourceTree = "<group>"; }; 7578 E44613960CD6331000FADA75 /* HTMLSourceElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLSourceElement.h; sourceTree = "<group>"; }; 7579 E44613970CD6331000FADA75 /* HTMLSourceElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLSourceElement.idl; sourceTree = "<group>"; }; 7580 E44613980CD6331000FADA75 /* HTMLVideoElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLVideoElement.cpp; sourceTree = "<group>"; }; 7581 E44613990CD6331000FADA75 /* HTMLVideoElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = HTMLVideoElement.h; sourceTree = "<group>"; }; 7582 E446139A0CD6331000FADA75 /* HTMLVideoElement.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = HTMLVideoElement.idl; sourceTree = "<group>"; }; 7583 E446139B0CD6331000FADA75 /* MediaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MediaError.h; sourceTree = "<group>"; }; 7584 E446139C0CD6331000FADA75 /* MediaError.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = MediaError.idl; sourceTree = "<group>"; }; 7585 E446139D0CD6331000FADA75 /* TimeRanges.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimeRanges.cpp; sourceTree = "<group>"; }; 7586 E446139E0CD6331000FADA75 /* TimeRanges.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TimeRanges.h; sourceTree = "<group>"; }; 7587 E446139F0CD6331000FADA75 /* TimeRanges.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = TimeRanges.idl; sourceTree = "<group>"; }; 7588 E44613A00CD6331000FADA75 /* VoidCallback.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = VoidCallback.idl; sourceTree = "<group>"; }; 7589 E44613B30CD6344E00FADA75 /* VoidCallback.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = VoidCallback.cpp; sourceTree = "<group>"; }; 7590 E44613B40CD6344E00FADA75 /* VoidCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = VoidCallback.h; sourceTree = "<group>"; }; 7591 E446140E0CD6826900FADA75 /* JSHTMLVideoElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLVideoElement.cpp; sourceTree = "<group>"; }; 7592 E446140F0CD6826900FADA75 /* JSHTMLVideoElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLVideoElement.h; sourceTree = "<group>"; }; 7593 E44614100CD6826900FADA75 /* JSMediaError.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSMediaError.cpp; sourceTree = "<group>"; }; 7594 E44614110CD6826900FADA75 /* JSMediaError.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSMediaError.h; sourceTree = "<group>"; }; 7595 E44614120CD6826900FADA75 /* JSTimeRanges.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSTimeRanges.cpp; sourceTree = "<group>"; }; 7596 E44614130CD6826900FADA75 /* JSTimeRanges.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSTimeRanges.h; sourceTree = "<group>"; }; 7597 E44614140CD6826900FADA75 /* JSVoidCallback.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSVoidCallback.cpp; sourceTree = "<group>"; }; 7598 E44614150CD6826900FADA75 /* JSVoidCallback.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSVoidCallback.h; sourceTree = "<group>"; }; 7599 E4B41E010CBF8EAA00AF2ECE /* ProgressEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = ProgressEvent.cpp; sourceTree = "<group>"; }; 7600 E4B41E020CBF8EAA00AF2ECE /* ProgressEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ProgressEvent.h; sourceTree = "<group>"; }; 7601 E4B41E030CBF8EAA00AF2ECE /* ProgressEvent.idl */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ProgressEvent.idl; sourceTree = "<group>"; }; 7602 E4B41E070CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLAudioElementConstructor.cpp; sourceTree = "<group>"; }; 7603 E4B41E080CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLAudioElementConstructor.h; sourceTree = "<group>"; }; 7604 E4B41E0C0CBF90BD00AF2ECE /* Movie.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Movie.cpp; sourceTree = "<group>"; }; 7605 E4B41E0D0CBF90BD00AF2ECE /* Movie.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Movie.h; sourceTree = "<group>"; }; 7606 E4B41E100CBF90EF00AF2ECE /* MoviePrivateQTKit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MoviePrivateQTKit.h; sourceTree = "<group>"; }; 7607 E4B41E110CBF90EF00AF2ECE /* MoviePrivateQTKit.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MoviePrivateQTKit.mm; sourceTree = "<group>"; }; 7608 E4B41E330CBFB60900AF2ECE /* RenderVideo.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = RenderVideo.cpp; sourceTree = "<group>"; }; 7609 E4B41E340CBFB60900AF2ECE /* RenderVideo.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RenderVideo.h; sourceTree = "<group>"; }; 7610 E4B4232E0CBFB66400AF2ECE /* QTKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QTKit.framework; path = /System/Library/Frameworks/QTKit.framework; sourceTree = "<absolute>"; }; 7611 E4B423710CBFB6E000AF2ECE /* JSHTMLSourceElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLSourceElement.cpp; sourceTree = "<group>"; }; 7612 E4B423720CBFB6E000AF2ECE /* JSHTMLSourceElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLSourceElement.h; sourceTree = "<group>"; }; 7613 E4B4237D0CBFB73C00AF2ECE /* JSHTMLAudioElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLAudioElement.cpp; sourceTree = "<group>"; }; 7614 E4B4237E0CBFB73C00AF2ECE /* JSHTMLAudioElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLAudioElement.h; sourceTree = "<group>"; }; 7615 E4B4237F0CBFB73C00AF2ECE /* JSHTMLMediaElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSHTMLMediaElement.cpp; sourceTree = "<group>"; }; 7616 E4B423800CBFB73C00AF2ECE /* JSHTMLMediaElement.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSHTMLMediaElement.h; sourceTree = "<group>"; }; 7617 E4B423850CBFB73C00AF2ECE /* JSProgressEvent.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = JSProgressEvent.cpp; sourceTree = "<group>"; }; 7618 E4B423860CBFB73C00AF2ECE /* JSProgressEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JSProgressEvent.h; sourceTree = "<group>"; }; 7529 7619 ED048ABB0833F132006E1E67 /* textAreaResizeCorner.tiff */ = {isa = PBXFileReference; lastKnownFileType = image.tiff; path = textAreaResizeCorner.tiff; sourceTree = "<group>"; }; 7530 7620 ED2BA83B09A24B91006C0AC4 /* DocumentMarker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DocumentMarker.h; sourceTree = "<group>"; }; … … 7592 7682 937256100A61564200B053B9 /* libsqlite3.dylib in Frameworks */, 7593 7683 1CFAE3230A6D6A3F0032593D /* libobjc.dylib in Frameworks */, 7684 E4B4232F0CBFB66400AF2ECE /* QTKit.framework in Frameworks */, 7594 7685 ); 7595 7686 runOnlyForDeploymentPostprocessing = 0; … … 7650 7741 9372560F0A61564200B053B9 /* libsqlite3.dylib */, 7651 7742 DD763BB10992C2C900740B8E /* libxml2.dylib */, 7743 E4B4232E0CBFB66400AF2ECE /* QTKit.framework */, 7652 7744 A85D7A2F0879EBA9006A9172 /* QuartzCore.framework */, 7653 7745 ); … … 9420 9512 A8EA7D260A19385500A8EF5F /* HTMLAreaElement.h */, 9421 9513 1AE2A9F00A1CDA5700B42B25 /* HTMLAreaElement.idl */, 9514 E446138F0CD6331000FADA75 /* HTMLAudioElement.cpp */, 9515 E44613900CD6331000FADA75 /* HTMLAudioElement.h */, 9516 E44613910CD6331000FADA75 /* HTMLAudioElement.idl */, 9422 9517 A871DC1E0A15205700B12A68 /* HTMLBaseElement.cpp */, 9423 9518 A871DC130A15205700B12A68 /* HTMLBaseElement.h */, … … 9533 9628 A8EA7C9D0A192B9C00A8EF5F /* HTMLMarqueeElement.h */, 9534 9629 BC491B4E0C023E2D009D6316 /* HTMLMarqueeElement.idl */, 9630 E44613920CD6331000FADA75 /* HTMLMediaElement.cpp */, 9631 E44613930CD6331000FADA75 /* HTMLMediaElement.h */, 9632 E44613940CD6331000FADA75 /* HTMLMediaElement.idl */, 9535 9633 A8EA79EC0A1916DF00A8EF5F /* HTMLMenuElement.cpp */, 9536 9634 A8EA79E80A1916DF00A8EF5F /* HTMLMenuElement.h */, … … 9567 9665 F523D25002DE4396018635CA /* HTMLParser.cpp */, 9568 9666 F523D25102DE4396018635CA /* HTMLParser.h */, 9667 BC588B4A0BFA723C00EE679E /* HTMLParserErrorCodes.cpp */, 9569 9668 BC588AEF0BFA6CF900EE679E /* HTMLParserErrorCodes.h */, 9570 BC588B4A0BFA723C00EE679E /* HTMLParserErrorCodes.cpp */,9571 9669 A871D44D0A127CBC00B12A68 /* HTMLPlugInElement.cpp */, 9572 9670 A871D44C0A127CBC00B12A68 /* HTMLPlugInElement.h */, … … 9583 9681 A81369BC097374F500D74463 /* HTMLSelectElement.h */, 9584 9682 855542990AA4938800BA89F2 /* HTMLSelectElement.idl */, 9683 E44613950CD6331000FADA75 /* HTMLSourceElement.cpp */, 9684 E44613960CD6331000FADA75 /* HTMLSourceElement.h */, 9685 E44613970CD6331000FADA75 /* HTMLSourceElement.idl */, 9585 9686 A871DC1A0A15205700B12A68 /* HTMLStyleElement.cpp */, 9586 9687 A871DC170A15205700B12A68 /* HTMLStyleElement.h */, … … 9619 9720 A8EA79E60A1916DF00A8EF5F /* HTMLUListElement.h */, 9620 9721 1A85B1D50A1B236C00D8C87C /* HTMLUListElement.idl */, 9722 E44613980CD6331000FADA75 /* HTMLVideoElement.cpp */, 9723 E44613990CD6331000FADA75 /* HTMLVideoElement.h */, 9724 E446139A0CD6331000FADA75 /* HTMLVideoElement.idl */, 9621 9725 BCCD74E40A4C8DDF005FDA6D /* HTMLViewSourceDocument.cpp */, 9622 9726 BCCD74DB0A4C8D35005FDA6D /* HTMLViewSourceDocument.h */, 9727 E446139B0CD6331000FADA75 /* MediaError.h */, 9728 E446139C0CD6331000FADA75 /* MediaError.idl */, 9729 E446139D0CD6331000FADA75 /* TimeRanges.cpp */, 9730 E446139E0CD6331000FADA75 /* TimeRanges.h */, 9731 E446139F0CD6331000FADA75 /* TimeRanges.idl */, 9732 E44613B30CD6344E00FADA75 /* VoidCallback.cpp */, 9733 E44613B40CD6344E00FADA75 /* VoidCallback.h */, 9734 E44613A00CD6331000FADA75 /* VoidCallback.idl */, 9623 9735 ); 9624 9736 path = html; … … 9642 9754 1AE2AA0A0A1CDAB300B42B25 /* JSHTMLAreaElement.cpp */, 9643 9755 1AE2AA0B0A1CDAB300B42B25 /* JSHTMLAreaElement.h */, 9756 E4B4237D0CBFB73C00AF2ECE /* JSHTMLAudioElement.cpp */, 9757 E4B4237E0CBFB73C00AF2ECE /* JSHTMLAudioElement.h */, 9644 9758 A80E7B080A19D606007FB8C5 /* JSHTMLBaseElement.cpp */, 9645 9759 A80E7B070A19D606007FB8C5 /* JSHTMLBaseElement.h */, … … 9708 9822 BC491B760C023EFD009D6316 /* JSHTMLMarqueeElement.cpp */, 9709 9823 BC491B770C023EFD009D6316 /* JSHTMLMarqueeElement.h */, 9824 E4B4237F0CBFB73C00AF2ECE /* JSHTMLMediaElement.cpp */, 9825 E4B423800CBFB73C00AF2ECE /* JSHTMLMediaElement.h */, 9710 9826 1AE2AE590A1D26F200B42B25 /* JSHTMLMenuElement.cpp */, 9711 9827 1AE2AE5A0A1D26F200B42B25 /* JSHTMLMenuElement.h */, … … 9736 9852 E1E6EEA30B628DA8005F2F70 /* JSHTMLSelectElement.cpp */, 9737 9853 E1E6EEA70B628DB3005F2F70 /* JSHTMLSelectElement.h */, 9854 E4B423710CBFB6E000AF2ECE /* JSHTMLSourceElement.cpp */, 9855 E4B423720CBFB6E000AF2ECE /* JSHTMLSourceElement.h */, 9738 9856 A80E7B050A19D606007FB8C5 /* JSHTMLStyleElement.cpp */, 9739 9857 A80E7B040A19D606007FB8C5 /* JSHTMLStyleElement.h */, … … 9756 9874 1A85B20E0A1B258700D8C87C /* JSHTMLUListElement.cpp */, 9757 9875 1A85B20F0A1B258700D8C87C /* JSHTMLUListElement.h */, 9876 E446140E0CD6826900FADA75 /* JSHTMLVideoElement.cpp */, 9877 E446140F0CD6826900FADA75 /* JSHTMLVideoElement.h */, 9878 E44614100CD6826900FADA75 /* JSMediaError.cpp */, 9879 E44614110CD6826900FADA75 /* JSMediaError.h */, 9880 E44614120CD6826900FADA75 /* JSTimeRanges.cpp */, 9881 E44614130CD6826900FADA75 /* JSTimeRanges.h */, 9882 E44614140CD6826900FADA75 /* JSVoidCallback.cpp */, 9883 E44614150CD6826900FADA75 /* JSVoidCallback.h */, 9758 9884 ); 9759 9885 name = HTML; … … 10116 10242 65DF31EB09D1CC60000BE325 /* JSProcessingInstruction.cpp */, 10117 10243 65DF31EC09D1CC60000BE325 /* JSProcessingInstruction.h */, 10244 E4B423850CBFB73C00AF2ECE /* JSProgressEvent.cpp */, 10245 E4B423860CBFB73C00AF2ECE /* JSProgressEvent.h */, 10246 65DF31ED09D1CC60000BE325 /* JSRange.cpp */, 10247 65DF31EE09D1CC60000BE325 /* JSRange.h */, 10248 D23CA55E0AB0EAB6005108A5 /* JSRangeException.cpp */, 10249 D23CA55C0AB0EAAE005108A5 /* JSRangeException.h */, 10118 10250 65DF31EF09D1CC60000BE325 /* JSText.cpp */, 10119 10251 65DF31F009D1CC60000BE325 /* JSText.h */, … … 10669 10801 isa = PBXGroup; 10670 10802 children = ( 10671 B277B4030B22F37C0004BEC6 /* GraphicsContextMac.mm */, 10672 B275358D0B053A66002CE64F /* IconMac.mm */, 10803 EDE3A4FF0C7A430600956A37 /* ColorMac.h */, 10673 10804 B275354A0B053814002CE64F /* ColorMac.mm */, 10674 10805 B275354B0B053814002CE64F /* FloatPointMac.mm */, 10675 10806 B275354C0B053814002CE64F /* FloatRectMac.mm */, 10676 10807 B275354D0B053814002CE64F /* FloatSizeMac.mm */, 10808 B277B4030B22F37C0004BEC6 /* GraphicsContextMac.mm */, 10809 B275358D0B053A66002CE64F /* IconMac.mm */, 10677 10810 B275354E0B053814002CE64F /* ImageMac.mm */, 10678 10811 B275354F0B053814002CE64F /* IntPointMac.mm */, 10679 10812 B27535500B053814002CE64F /* IntRectMac.mm */, 10680 10813 B27535510B053814002CE64F /* IntSizeMac.mm */, 10681 EDE3A4FF0C7A430600956A37 /* ColorMac.h */, 10814 E4B41E100CBF90EF00AF2ECE /* MoviePrivateQTKit.h */, 10815 E4B41E110CBF90EF00AF2ECE /* MoviePrivateQTKit.mm */, 10682 10816 ); 10683 10817 path = mac; … … 10718 10852 B27535480B053814002CE64F /* IntSizeHash.h */, 10719 10853 B27535490B053814002CE64F /* mac */, 10854 E4B41E0C0CBF90BD00AF2ECE /* Movie.cpp */, 10855 E4B41E0D0CBF90BD00AF2ECE /* Movie.h */, 10720 10856 B27535520B053814002CE64F /* Path.cpp */, 10857 B27535530B053814002CE64F /* Path.h */, 10858 A88DD4880B4629B000C02990 /* PathTraversalState.cpp */, 10721 10859 A88DD4860B4629A300C02990 /* PathTraversalState.h */, 10722 A88DD4880B4629B000C02990 /* PathTraversalState.cpp */,10723 B27535530B053814002CE64F /* Path.h */,10724 10860 B27535540B053814002CE64F /* Pen.cpp */, 10725 10861 B27535550B053814002CE64F /* Pen.h */, … … 11018 11154 BCEFAF4D0C317E6900FA81F6 /* JSEventCustom.cpp */, 11019 11155 BC4EDEF30C08F3FB007EDD49 /* JSHTMLAppletElementCustom.cpp */, 11156 E4B41E070CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.cpp */, 11157 E4B41E080CBF8F2100AF2ECE /* JSHTMLAudioElementConstructor.h */, 11020 11158 BCCBAD3A0C18BFF800CE890F /* JSHTMLCollectionCustom.cpp */, 11021 11159 BC51580A0C03D404008BB0EE /* JSHTMLDocumentCustom.cpp */, … … 11041 11179 B2C96D8C0B3AF2B7005E80EC /* JSSVGPathSegCustom.cpp */, 11042 11180 B297BC6F0B3C14CF0045A590 /* JSSVGPathSegListCustom.cpp */, 11181 B2080A110B3CA3B600120852 /* JSSVGPointListCustom.cpp */, 11182 1A750E330A90F89F000FF215 /* JSTreeWalkerCustom.cpp */, 11043 11183 B2080A110B3CA3B600120852 /* JSSVGPointListCustom.cpp */, 11044 11184 1A750E330A90F89F000FF215 /* JSTreeWalkerCustom.cpp */, … … 11524 11664 isa = PBXGroup; 11525 11665 children = ( 11526 AA31B5B20C1DFD1000AE7083 /* RenderSVGRoot.cpp */,11527 AA31B5B30C1DFD1000AE7083 /* RenderSVGRoot.h */,11528 11666 A8CFF04B0A154F09000A4234 /* AutoTableLayout.cpp */, 11529 11667 A8CFF0490A154F09000A4234 /* AutoTableLayout.h */, … … 11631 11769 853CA9D00AEEC5E9002372DC /* RenderSVGInlineText.cpp */, 11632 11770 853CA9D10AEEC5E9002372DC /* RenderSVGInlineText.h */, 11771 AA31B5B20C1DFD1000AE7083 /* RenderSVGRoot.cpp */, 11772 AA31B5B30C1DFD1000AE7083 /* RenderSVGRoot.h */, 11633 11773 853CA9D20AEEC5E9002372DC /* RenderSVGText.cpp */, 11634 11774 853CA9D30AEEC5E9002372DC /* RenderSVGText.h */, … … 11661 11801 93955A4203D72932008635CE /* RenderTreeAsText.cpp */, 11662 11802 93955A4103D72932008635CE /* RenderTreeAsText.h */, 11803 E4B41E330CBFB60900AF2ECE /* RenderVideo.cpp */, 11804 E4B41E340CBFB60900AF2ECE /* RenderVideo.h */, 11663 11805 BCEA4828097D93020094C9E4 /* RenderView.cpp */, 11664 11806 BCEA4829097D93020094C9E4 /* RenderView.h */, … … 11693 11835 isa = PBXGroup; 11694 11836 children = ( 11695 A784941A0B5FE507001E237A /* Clipboard.cpp */,11696 11837 BC3B364705C9D5E200E42902 /* AtomicStringList.h */, 11697 11838 A8C4A7FC09D563270003AC8D /* Attr.cpp */, … … 11712 11853 A818721A0977D3C0005826D9 /* ChildNodeList.cpp */, 11713 11854 A81872150977D3C0005826D9 /* ChildNodeList.h */, 11855 A784941A0B5FE507001E237A /* Clipboard.cpp */, 11714 11856 85031B280A44EFC700F992E0 /* Clipboard.h */, 11715 11857 4B8AF4A90B1CE02B00687690 /* ClipboardAccessPolicy.h */, … … 11810 11952 A8EA7EB40A1945D000A8EF5F /* ProcessingInstruction.h */, 11811 11953 93EEC1F509C2877700C515D1 /* ProcessingInstruction.idl */, 11954 E4B41E010CBF8EAA00AF2ECE /* ProgressEvent.cpp */, 11955 E4B41E020CBF8EAA00AF2ECE /* ProgressEvent.h */, 11956 E4B41E030CBF8EAA00AF2ECE /* ProgressEvent.idl */, 11812 11957 550A0BC7085F6039007353D6 /* QualifiedName.cpp */, 11813 11958 550A0BC8085F6039007353D6 /* QualifiedName.h */, … … 11827 11972 93EEC1F609C2877700C515D1 /* Text.idl */, 11828 11973 933A142B0B7D188600A53FFD /* TextEvent.cpp */, 11974 933A142D0B7D188600A53FFD /* TextEvent.h */, 11829 11975 933A142C0B7D188600A53FFD /* TextEvent.idl */, 11830 933A142D0B7D188600A53FFD /* TextEvent.h */,11831 11976 BCCFBAE70B5152ED0001F1D7 /* Tokenizer.h */, 11832 11977 854FE72C0A2297BE0058D7AD /* Traversal.cpp */, … … 13637 13782 A80F3A7D0CCDA324002DD990 /* DOMSVGAngle.h in Headers */, 13638 13783 A80F43520CCDE604002DD990 /* DOMSVGAnimateElementInternal.h in Headers */, 13784 E44613A20CD6331000FADA75 /* HTMLAudioElement.h in Headers */, 13785 E44613A50CD6331000FADA75 /* HTMLMediaElement.h in Headers */, 13786 E44613A80CD6331000FADA75 /* HTMLSourceElement.h in Headers */, 13787 E44613AB0CD6331000FADA75 /* HTMLVideoElement.h in Headers */, 13788 E44613AD0CD6331000FADA75 /* MediaError.h in Headers */, 13789 E44613B00CD6331000FADA75 /* TimeRanges.h in Headers */, 13790 E44613B60CD6344E00FADA75 /* VoidCallback.h in Headers */, 13791 E44613E40CD681A200FADA75 /* Movie.h in Headers */, 13792 E44613E60CD681A900FADA75 /* MoviePrivateQTKit.h in Headers */, 13793 E44613EC0CD681B500FADA75 /* ProgressEvent.h in Headers */, 13794 E44613EE0CD681BB00FADA75 /* JSProgressEvent.h in Headers */, 13795 E44614170CD6826900FADA75 /* JSHTMLVideoElement.h in Headers */, 13796 E44614190CD6826900FADA75 /* JSMediaError.h in Headers */, 13797 E446141B0CD6826900FADA75 /* JSTimeRanges.h in Headers */, 13798 E446141D0CD6826900FADA75 /* JSVoidCallback.h in Headers */, 13799 E44614380CD689C500FADA75 /* JSHTMLAudioElement.h in Headers */, 13800 E446143A0CD689C800FADA75 /* JSHTMLMediaElement.h in Headers */, 13801 E446143C0CD689CC00FADA75 /* JSHTMLSourceElement.h in Headers */, 13802 E446143E0CD68A2300FADA75 /* JSHTMLAudioElementConstructor.h in Headers */, 13803 E44614520CD68A3500FADA75 /* RenderVideo.h in Headers */, 13639 13804 BC80C9880CD294EE00A0B7B3 /* CSSTimingFunctionValue.h in Headers */, 13640 13805 BC80C98C0CD2950500A0B7B3 /* AnimationController.h in Headers */, … … 13754 13919 1AB1AE7A0C051FDE00139F4F /* zoomInCursor.png in Resources */, 13755 13920 1AB1AE7B0C051FDE00139F4F /* zoomOutCursor.png in Resources */, 13921 E44613B10CD6331000FADA75 /* TimeRanges.idl in Resources */, 13922 E44613B20CD6331000FADA75 /* VoidCallback.idl in Resources */, 13756 13923 ); 13757 13924 runOnlyForDeploymentPostprocessing = 0; … … 15167 15334 A80F393E0CCD971A002DD990 /* JSSVGDefinitionSrcElement.cpp in Sources */, 15168 15335 A80F39590CCD9796002DD990 /* DOMSVGDefinitionSrcElement.mm in Sources */, 15336 E44613A10CD6331000FADA75 /* HTMLAudioElement.cpp in Sources */, 15337 E44613A40CD6331000FADA75 /* HTMLMediaElement.cpp in Sources */, 15338 E44613A70CD6331000FADA75 /* HTMLSourceElement.cpp in Sources */, 15339 E44613AA0CD6331000FADA75 /* HTMLVideoElement.cpp in Sources */, 15340 E44613AF0CD6331000FADA75 /* TimeRanges.cpp in Sources */, 15341 E44613B50CD6344E00FADA75 /* VoidCallback.cpp in Sources */, 15342 E44613E30CD6819F00FADA75 /* Movie.cpp in Sources */, 15343 E44613E50CD681A600FADA75 /* MoviePrivateQTKit.mm in Sources */, 15344 E44613EB0CD681B400FADA75 /* ProgressEvent.cpp in Sources */, 15345 E44613ED0CD681BA00FADA75 /* JSProgressEvent.cpp in Sources */, 15346 E44614160CD6826900FADA75 /* JSHTMLVideoElement.cpp in Sources */, 15347 E44614180CD6826900FADA75 /* JSMediaError.cpp in Sources */, 15348 E446141A0CD6826900FADA75 /* JSTimeRanges.cpp in Sources */, 15349 E446141C0CD6826900FADA75 /* JSVoidCallback.cpp in Sources */, 15350 E44614370CD689C400FADA75 /* JSHTMLAudioElement.cpp in Sources */, 15351 E44614390CD689C700FADA75 /* JSHTMLMediaElement.cpp in Sources */, 15352 E446143B0CD689CC00FADA75 /* JSHTMLSourceElement.cpp in Sources */, 15353 E446143D0CD68A2300FADA75 /* JSHTMLAudioElementConstructor.cpp in Sources */, 15354 E44614510CD68A3500FADA75 /* RenderVideo.cpp in Sources */, 15169 15355 BC80C9870CD294EE00A0B7B3 /* CSSTimingFunctionValue.cpp in Sources */, 15170 15356 BC80C98B0CD2950500A0B7B3 /* AnimationController.cpp in Sources */, -
trunk/WebCore/bindings/js/JSEventCustom.cpp
r23795 r27277 36 36 #include "JSMutationEvent.h" 37 37 #include "JSOverflowEvent.h" 38 #include "JSProgressEvent.h" 38 39 #include "JSTextEvent.h" 39 40 #include "JSUIEvent.h" … … 43 44 #include "MutationEvent.h" 44 45 #include "OverflowEvent.h" 46 #include "ProgressEvent.h" 45 47 #include "TextEvent.h" 46 48 #include "UIEvent.h" … … 82 84 else if (event->isOverflowEvent()) 83 85 ret = new JSOverflowEvent(exec, static_cast<OverflowEvent*>(event)); 86 else if (event->isProgressEvent()) 87 ret = new JSProgressEvent(exec, static_cast<ProgressEvent*>(event)); 84 88 else 85 89 ret = new JSEvent(exec, event); -
trunk/WebCore/bindings/js/JSHTMLElementWrapperFactory.cpp
r25754 r27277 23 23 #include "HTMLAppletElement.h" 24 24 #include "HTMLAreaElement.h" 25 #include "HTMLAudioElement.h" 25 26 #include "HTMLBRElement.h" 26 27 #include "HTMLBaseElement.h" … … 66 67 #include "HTMLScriptElement.h" 67 68 #include "HTMLSelectElement.h" 69 #include "HTMLSourceElement.h" 68 70 #include "HTMLStyleElement.h" 69 71 #include "HTMLTableCaptionElement.h" … … 76 78 #include "HTMLTitleElement.h" 77 79 #include "HTMLUListElement.h" 80 #include "HTMLVideoElement.h" 78 81 79 82 #include "HTMLNames.h" … … 82 85 #include "JSHTMLAppletElement.h" 83 86 #include "JSHTMLAreaElement.h" 87 #include "JSHTMLAudioElement.h" 84 88 #include "JSHTMLBRElement.h" 85 89 #include "JSHTMLBaseElement.h" … … 125 129 #include "JSHTMLScriptElement.h" 126 130 #include "JSHTMLSelectElement.h" 131 #include "JSHTMLSourceElement.h" 127 132 #include "JSHTMLStyleElement.h" 128 133 #include "JSHTMLTableCaptionElement.h" … … 135 140 #include "JSHTMLTitleElement.h" 136 141 #include "JSHTMLUListElement.h" 142 #include "JSHTMLVideoElement.h" 137 143 138 144 #include "kjs_html.h" … … 207 213 // end of macro 208 214 215 #define FOR_EACH_VIDEO_TAG(macro) \ 216 macro(audio, Audio) \ 217 macro(source, Source) \ 218 macro(video, Video) \ 219 // end of macro 220 209 221 #define CREATE_WRAPPER_FUNCTION(tag, name) \ 210 222 static JSNode* create##name##Wrapper(ExecState* exec, PassRefPtr<HTMLElement> element) \ … … 213 225 } 214 226 FOR_EACH_TAG(CREATE_WRAPPER_FUNCTION) 227 #if ENABLE(VIDEO) 228 FOR_EACH_VIDEO_TAG(CREATE_WRAPPER_FUNCTION) 229 #endif 215 230 #undef CREATE_WRAPPER_FUNCTION 216 231 … … 221 236 #define ADD_TO_HASH_MAP(tag, name) map.set(tag##Tag.localName().impl(), create##name##Wrapper); 222 237 FOR_EACH_TAG(ADD_TO_HASH_MAP) 238 #if ENABLE(VIDEO) 239 FOR_EACH_VIDEO_TAG(ADD_TO_HASH_MAP) 240 #endif 223 241 #undef ADD_TO_HASH_MAP 224 242 map.set(colgroupTag.localName().impl(), createTableColWrapper); -
trunk/WebCore/bindings/js/kjs_window.cpp
r27196 r27277 46 46 #include "JSDOMWindow.h" 47 47 #include "JSEvent.h" 48 #include "JSHTMLAudioElementConstructor.h" 48 49 #include "JSHTMLCollection.h" 49 50 #include "JSHTMLOptionElementConstructor.h" … … 204 205 onbeforeunload Window::Onbeforeunload DontDelete 205 206 # -- Constructors -- 207 Audio Window::Audio DontDelete 206 208 DOMException Window::DOMException DontDelete 207 209 Image Window::Image DontDelete … … 551 553 return jsUndefined(); 552 554 return new JSXMLHttpRequestConstructorImp(exec, impl()->frame()->document()); 555 case Audio: 556 #if ENABLE(VIDEO) 557 return new JSHTMLAudioElementConstructor(exec, impl()->frame()->document()); 558 #else 559 return jsUndefined(); 560 #endif 553 561 #if ENABLE(XSLT) 554 562 case XSLTProcessor_: -
trunk/WebCore/bindings/js/kjs_window.h
r27024 r27277 165 165 166 166 // Constructors 167 DOMException, Image, Option, XMLHttpRequest,167 DOMException, Audio, Image, Option, XMLHttpRequest, 168 168 XSLTProcessor_ 169 169 }; -
trunk/WebCore/bindings/scripts/CodeGeneratorJS.pm
r27161 r27277 1374 1374 $type eq "unsigned short" or # or can it? 1375 1375 $type eq "CompareHow" or # or can it? 1376 $type eq "SVGPaintType"; # or can it? 1376 $type eq "SVGPaintType" or # or can it? 1377 $type eq "VoidCallback"; 1377 1378 1378 1379 if ($type eq "unsigned long" or $type eq "long" or $type eq "Attr") { … … 1424 1425 if ($type eq "SVGPoint") { 1425 1426 $implIncludes{"FloatPoint.h"} = 1; 1427 } 1428 1429 if ($type eq "VoidCallback") { 1430 $implIncludes{"VoidCallback.h"} = 1; 1431 return "toVoidCallback($value)"; 1426 1432 } 1427 1433 -
trunk/WebCore/dom/Document.cpp
r27227 r27277 82 82 #include "PlatformKeyboardEvent.h" 83 83 #include "ProcessingInstruction.h" 84 #include "ProgressEvent.h" 84 85 #include "RegisteredEventListener.h" 85 86 #include "RegularExpression.h" … … 2425 2426 if (eventType == "HTMLEvents" || eventType == "Event" || eventType == "Events") 2426 2427 return new Event; 2428 if (eventType == "ProgressEvent") 2429 return new ProgressEvent; 2427 2430 if (eventType == "TextEvent") 2428 2431 return new TextEvent; … … 2839 2842 } 2840 2843 2841 void Document::registerForDidRestoreFromCacheCallback(Element* e) 2842 { 2843 m_didRestorePageCallbackSet.add(e); 2844 } 2845 2846 void Document::unregisterForDidRestoreFromCacheCallback(Element* e) 2847 { 2848 m_didRestorePageCallbackSet.remove(e); 2849 } 2850 2851 void Document::didRestoreFromCache() 2852 { 2853 HashSet<Element*>::iterator it = m_didRestorePageCallbackSet.begin(); 2854 for (; it != m_didRestorePageCallbackSet.end(); ++it) 2855 (*it)->didRestoreFromCache(); 2844 void Document::willSaveToCache() 2845 { 2846 HashSet<Element*>::iterator end = m_pageCacheCallbackElements.end(); 2847 for (HashSet<Element*>::iterator i = m_pageCacheCallbackElements.begin(); i != end; ++i) 2848 (*i)->willSaveToCache(); 2849 } 2850 2851 void Document::didRestoreFromCache() 2852 { 2853 HashSet<Element*>::iterator end = m_pageCacheCallbackElements.end(); 2854 for (HashSet<Element*>::iterator i = m_pageCacheCallbackElements.begin(); i != end; ++i) 2855 (*i)->didRestoreFromCache(); 2856 } 2857 2858 void Document::registerForCacheCallbacks(Element* e) 2859 { 2860 m_pageCacheCallbackElements.add(e); 2861 } 2862 2863 void Document::unregisterForCacheCallbacks(Element* e) 2864 { 2865 m_pageCacheCallbackElements.remove(e); 2856 2866 } 2857 2867 -
trunk/WebCore/dom/Document.h
r27174 r27277 748 748 ListHashSet<HTMLFormControlElementWithState*> m_formElementsWithState; 749 749 FormElementStateMap m_stateForNewFormElements; 750 751 HashSet<Element*> m_didRestorePageCallbackSet;752 750 753 751 Color m_linkColor; … … 819 817 bool inPageCache(); 820 818 void setInPageCache(bool flag); 821 822 // Elements can register themselves for the " didRestoreFromCache()" callback which will be823 // called if the document is restored from the Page Cache824 void registerFor DidRestoreFromCacheCallback(Element*);825 void unregisterFor DidRestoreFromCacheCallback(Element*);826 819 820 // Elements can register themselves for the "willSaveToCache()" and 821 // "didRestoreFromCache()" callbacks 822 void registerForCacheCallbacks(Element*); 823 void unregisterForCacheCallbacks(Element*); 824 void willSaveToCache(); 827 825 void didRestoreFromCache(); 828 826 … … 918 916 bool m_inPageCache; 919 917 String m_iconURL; 918 919 HashSet<Element*> m_pageCacheCallbackElements; 920 920 921 921 bool m_isAllowedToLoadLocalResources; 922 922 923 923 bool m_useSecureKeyboardEntryWhenActive; 924 924 -
trunk/WebCore/dom/Element.cpp
r27263 r27277 166 166 ExceptionCode ec = 0; 167 167 setAttribute(name, value.impl(), ec); 168 } 169 170 void Element::setBooleanAttribute(const QualifiedName& name, bool b) 171 { 172 if (b) 173 setAttribute(name, name.localName()); 174 else { 175 ExceptionCode ex; 176 removeAttribute(name, ex); 177 } 168 178 } 169 179 -
trunk/WebCore/dom/Element.h
r25754 r27277 124 124 // convenience methods which ignore exceptions 125 125 void setAttribute(const QualifiedName&, const String& value); 126 void setBooleanAttribute(const QualifiedName& name, bool); 126 127 127 128 virtual NamedAttrMap* attributes() const; … … 182 183 void setMinimumSizeForResizing(const IntSize&); 183 184 184 // The following method is called when a Document is restored from the page cache185 // and the element has registered itself with the Document via registerForDidRestorePageCallback()185 // Use Document::registerForPageCacheCallbacks() to subscribe these 186 virtual void willSaveToCache() { } 186 187 virtual void didRestoreFromCache() { } 187 188 -
trunk/WebCore/dom/Event.cpp
r25754 r27277 121 121 } 122 122 123 bool Event::isProgressEvent() const 124 { 125 return false; 126 } 127 123 128 #if ENABLE(SVG) 124 129 bool Event::isSVGZoomEvent() const -
trunk/WebCore/dom/Event.h
r25754 r27277 110 110 virtual bool isBeforeTextInsertedEvent() const; 111 111 virtual bool isOverflowEvent() const; 112 virtual bool isProgressEvent() const; 112 113 #if ENABLE(SVG) 113 114 virtual bool isSVGZoomEvent() const; -
trunk/WebCore/dom/EventNames.h
r26515 r27277 90 90 macro(webkitEditableContentChanged) \ 91 91 \ 92 macro(canshowcurrentframe) \ 93 macro(canplay) \ 94 macro(canplaythrough) \ 95 macro(dataunavailable) \ 96 macro(durationchange) \ 97 macro(emptied) \ 98 macro(ended) \ 99 macro(loadedfirstframe) \ 100 macro(loadedmetadata) \ 101 macro(pause) \ 102 macro(play) \ 103 macro(ratechange) \ 104 macro(timeupdate) \ 105 macro(volumechange) \ 106 macro(waiting) \ 107 \ 108 macro(begin) \ 109 macro(progress) \ 110 macro(stalled) \ 111 \ 92 112 // end of DOM_EVENT_NAMES_FOR_EACH 93 113 -
trunk/WebCore/dom/EventTargetNode.cpp
r25754 r27277 43 43 #include "PlatformMouseEvent.h" 44 44 #include "PlatformWheelEvent.h" 45 #include "ProgressEvent.h" 45 46 #include "RegisteredEventListener.h" 46 47 #include "TextEvent.h" … … 542 543 } 543 544 545 bool EventTargetNode::dispatchProgressEvent(const AtomicString &eventType, bool lengthComputableArg, unsigned loadedArg, unsigned totalArg) 546 { 547 ASSERT(!eventDispatchForbidden()); 548 ExceptionCode ec = 0; 549 return dispatchEvent(new ProgressEvent(eventType, lengthComputableArg, loadedArg, totalArg), ec, true); 550 } 551 544 552 void EventTargetNode::removeHTMLEventListener(const AtomicString &eventType) 545 553 { -
trunk/WebCore/dom/EventTargetNode.h
r25754 r27277 64 64 void dispatchSimulatedMouseEvent(const AtomicString& eventType, PassRefPtr<Event> underlyingEvent = 0); 65 65 void dispatchSimulatedClick(PassRefPtr<Event> underlyingEvent, bool sendMouseEvents = false, bool showPressedLook = true); 66 bool dispatchProgressEvent(const AtomicString &eventType, bool lengthComputableArg, unsigned loadedArg, unsigned totalArg); 66 67 67 68 virtual void handleLocalEvents(Event*, bool useCapture); -
trunk/WebCore/history/CachedPage.cpp
r27228 r27277 88 88 #endif 89 89 90 m_document->willSaveToCache(); 91 90 92 Frame* mainFrame = page->mainFrame(); 91 93 KJSProxy* proxy = mainFrame->scriptProxy(); -
trunk/WebCore/html/HTMLAttributeNames.in
r18940 r27277 9 9 archive 10 10 autocomplete 11 autoplay 11 12 autosave 12 13 axis … … 39 40 content 40 41 contenteditable 42 controls 41 43 coords 42 44 data … … 48 50 disabled 49 51 enctype 52 end 50 53 face 51 54 for … … 71 74 longdesc 72 75 loop 76 loopcount 77 loopend 78 loopstart 73 79 lowsrc 74 80 marginheight -
trunk/WebCore/html/HTMLElement.cpp
r25754 r27277 800 800 tagList.add(nobrTag.localName().impl()); 801 801 tagList.add(wbrTag.localName().impl()); 802 tagList.add(audioTag.localName().impl()); 803 tagList.add(videoTag.localName().impl()); 802 804 } 803 805 return &tagList; -
trunk/WebCore/html/HTMLElementFactory.cpp
r25754 r27277 27 27 #include "HTMLAppletElement.h" 28 28 #include "HTMLAreaElement.h" 29 #include "HTMLAudioElement.h" 29 30 #include "HTMLBaseFontElement.h" 30 31 #include "HTMLBaseElement.h" … … 71 72 #include "HTMLScriptElement.h" 72 73 #include "HTMLSelectElement.h" 74 #include "HTMLSourceElement.h" 73 75 #include "HTMLStyleElement.h" 74 76 #include "HTMLTextAreaElement.h" … … 80 82 #include "HTMLTableSectionElement.h" 81 83 #include "HTMLTitleElement.h" 84 #include "HTMLVideoElement.h" 82 85 #include "HTMLUListElement.h" 83 86 #include "HTMLQuoteElement.h" … … 381 384 return new HTMLMarqueeElement(doc); 382 385 } 386 387 #if ENABLE(VIDEO) 388 static PassRefPtr<HTMLElement> audioConstructor(const AtomicString&, Document* doc, HTMLFormElement*, bool) 389 { 390 return new HTMLAudioElement(doc); 391 } 392 393 static PassRefPtr<HTMLElement> videoConstructor(const AtomicString&, Document* doc, HTMLFormElement*, bool) 394 { 395 return new HTMLVideoElement(doc); 396 } 397 398 static PassRefPtr<HTMLElement> sourceConstructor(const AtomicString&, Document* doc, HTMLFormElement*, bool) 399 { 400 return new HTMLSourceElement(doc); 401 } 402 #endif 383 403 384 404 static void addTag(const QualifiedName& tag, ConstructorFunc func) … … 463 483 addTag(ulTag, ulConstructor); 464 484 addTag(xmpTag, preConstructor); 485 #if ENABLE(VIDEO) 486 addTag(audioTag, audioConstructor); 487 addTag(sourceTag, sourceConstructor); 488 addTag(videoTag, videoConstructor); 489 #endif 465 490 } 466 491 -
trunk/WebCore/html/HTMLInputElement.cpp
r26934 r27277 142 142 { 143 143 if (inputType() == PASSWORD) 144 document()->unregisterFor DidRestoreFromCacheCallback(this);144 document()->unregisterForCacheCallbacks(this); 145 145 146 146 document()->checkedRadioButtons().removeButton(this); … … 320 320 321 321 if (wasPasswordField && !isPasswordField) 322 document()->unregisterFor DidRestoreFromCacheCallback(this);322 document()->unregisterForCacheCallbacks(this); 323 323 else if (!wasPasswordField && isPasswordField) 324 document()->registerFor DidRestoreFromCacheCallback(this);324 document()->registerForCacheCallbacks(this); 325 325 326 326 if (didRespectHeightAndWidth != willRespectHeightAndWidth) { … … 1476 1476 { 1477 1477 if (inputType() == PASSWORD) 1478 document()->unregisterFor DidRestoreFromCacheCallback(this);1478 document()->unregisterForCacheCallbacks(this); 1479 1479 1480 1480 document()->checkedRadioButtons().removeButton(this); … … 1486 1486 { 1487 1487 if (inputType() == PASSWORD) 1488 document()->registerFor DidRestoreFromCacheCallback(this);1488 document()->registerForCacheCallbacks(this); 1489 1489 1490 1490 HTMLFormControlElementWithState::didMoveToNewOwnerDocument(); -
trunk/WebCore/html/HTMLTagNames.in
r14594 r27277 5 5 applet 6 6 area 7 audio 7 8 b 8 9 base … … 82 83 select 83 84 small 85 source 84 86 span 85 87 strike … … 101 103 ul 102 104 var 105 video 103 106 wbr 104 107 xmp -
trunk/WebCore/page/DOMWindow.idl
r27161 r27277 246 246 attribute XMLSerializerConstructor XMLSerializer; 247 247 248 #if defined(ENABLE_VIDEO) 249 attribute HTMLAudioElementConstructor HTMLAudioElement; 250 attribute HTMLMediaElementConstructor HTMLMediaElement; 251 attribute HTMLVideoElementConstructor HTMLVideoElement; 252 attribute MediaErrorConstructor MediaError; 253 #endif 254 248 255 #if defined(ENABLE_XPATH) 249 256 attribute XPathEvaluatorConstructor XPathEvaluator; -
trunk/WebCore/platform/MIMETypeRegistry.cpp
r27223 r27277 27 27 #include "MIMETypeRegistry.h" 28 28 29 #include "Movie.h" 29 30 #include "StringHash.h" 30 31 #include <wtf/HashMap.h> … … 45 46 static WTF::HashSet<String>* supportedImageMIMETypes; 46 47 static WTF::HashSet<String>* supportedNonImageMIMETypes; 47 48 static WTF::HashSet<String>* supportedMovieMIMETypes; 49 48 50 #if PLATFORM(CG) 49 51 extern String getMIMETypeForUTI(const String& uti); … … 145 147 supportedNonImageMIMETypes->add(types[i]); 146 148 } 149 150 static void initialiseSupportedMovieMIMETypes() 151 { 152 #if ENABLE(VIDEO) 153 Movie::getSupportedTypes(*supportedMovieMIMETypes); 154 #endif 155 } 147 156 148 157 static void initialiseMIMETypeRegistry() … … 151 160 supportedImageMIMETypes = new WTF::HashSet<String>(); 152 161 supportedNonImageMIMETypes = new WTF::HashSet<String>(); 162 supportedMovieMIMETypes = new WTF::HashSet<String>(); 153 163 154 164 initialiseSupportedNonImageMimeTypes(); 155 165 initialiseSupportedImageMIMETypes(); 166 initialiseSupportedMovieMIMETypes(); 156 167 } 157 168 … … 187 198 } 188 199 200 bool MIMETypeRegistry::isSupportedMovieMIMEType(const String& mimeType) 201 { 202 if (!supportedMovieMIMETypes) 203 initialiseMIMETypeRegistry(); 204 return !mimeType.isEmpty() && supportedMovieMIMETypes->contains(mimeType); 205 } 206 207 189 208 bool MIMETypeRegistry::isJavaAppletMIMEType(const String& mimeType) 190 209 { … … 219 238 } 220 239 221 } 240 HashSet<String> &MIMETypeRegistry::getSupportedMovieMIMETypes() 241 { 242 if (!supportedMovieMIMETypes) 243 initialiseMIMETypeRegistry(); 244 return *supportedMovieMIMETypes; 245 } 246 247 } -
trunk/WebCore/platform/MIMETypeRegistry.h
r24869 r27277 53 53 static bool isSupportedNonImageMIMEType(const String& mimeType); 54 54 55 // Check to see if a mime type is suitable for being loaded using <movie> 56 static bool isSupportedMovieMIMEType(const String& mimeType); 57 55 58 // Check to see if a mime type is a valid Java applet mime type 56 59 static bool isJavaAppletMIMEType(const String& mimeType); … … 59 62 static HashSet<String>& getSupportedImageResourceMIMETypes(); 60 63 static HashSet<String>& getSupportedNonImageMIMETypes(); 64 static HashSet<String>& getSupportedMovieMIMETypes(); 61 65 }; 62 66 -
trunk/WebCore/platform/mac/WebCoreSystemInterface.h
r27119 r27277 45 45 @class NSMutableURLRequest; 46 46 @class NSURLRequest; 47 @class QTMovie; 47 48 #else 48 49 typedef struct NSArray NSArray; … … 60 61 typedef struct NSView NSView; 61 62 typedef struct objc_object *id; 63 typedef struct QTMovie QTMovie; 62 64 #endif 63 65 … … 109 111 extern NSString* (*wkPathFromFont)(NSFont*); 110 112 extern void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*); 113 extern int (*wkQTMovieDataRate)(QTMovie*); 114 extern float (*wkQTMovieMaxTimeLoaded)(QTMovie*); 111 115 extern void (*wkReleaseStyleGroup)(void* group); 112 116 extern void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*); -
trunk/WebCore/platform/mac/WebCoreSystemInterface.mm
r27119 r27277 58 58 NSString* (*wkPathFromFont)(NSFont*); 59 59 void (*wkPopupMenu)(NSMenu*, NSPoint location, float width, NSView*, int selectedItem, NSFont*); 60 int (*wkQTMovieDataRate)(QTMovie*); 61 float (*wkQTMovieMaxTimeLoaded)(QTMovie*); 60 62 void (*wkReleaseStyleGroup)(void* group); 61 63 void (*wkSetCGFontRenderingMode)(CGContextRef, NSFont*); -
trunk/WebCore/rendering/RenderLayer.cpp
r27138 r27277 2173 2173 2174 2174 // Overflow layers are just painted by their enclosing layers, so they don't get put in zorder lists. 2175 if ( m_hasVisibleContent&& !isOverflowOnly()) {2175 if ((m_hasVisibleContent || (m_hasVisibleDescendant && isStackingContext())) && !isOverflowOnly()) { 2176 2176 // Determine which buffer the child should be in. 2177 2177 Vector<RenderLayer*>*& buffer = (zIndex() >= 0) ? posBuffer : negBuffer;
Note: See TracChangeset
for help on using the changeset viewer.