- 28 Apr, 2009 38 commits
-
-
sfalken@apple.com authored
of ImageDiff and DumpRenderTree. Rubber stamped by Adam Roben. * DumpRenderTree/win/DumpRenderTree.vcproj: * DumpRenderTree/win/ImageDiff.vcproj: git-svn-id: svn://svn.chromium.org/blink/trunk@42953 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Darin Adler. <rdar://problem/6834876> Don't use BlockExceptions macros until QTKit supports QTMoviePreferredTransformAttribute * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::cacheMovieScale): use @try and @catch instead of BEGIN_BLOCK_OBJC_EXCEPTIONS and END_BLOCK_OBJC_EXCEPTIONS for builds of QTKit that throw an exception on QTMovieCurrentSizeAttribute but don't support QTMoviePreferredTransformAttribute git-svn-id: svn://svn.chromium.org/blink/trunk@42952 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
darin@apple.com authored
Reviewed by Sam Weinig. * rendering/RenderText.cpp: (WebCore::RenderText::RenderText): Streamline code path to avoid a bit of reference count churn and remove a strange unneeeded PassRefPtr typecast. Also added a comment. (WebCore::RenderText::setTextInternal): Ditto. git-svn-id: svn://svn.chromium.org/blink/trunk@42951 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric@webkit.org authored
Simplify how SVG containers paint https://bugs.webkit.org/show_bug.cgi?id=25431 Moved filterBoundingBox() from RenderSVGModelObject to SVGRenderSupport to share with other classes. Gave RenderSVGText a modern clippedOverflowRectForRepaint and computeRectForRepaint. RenderSVGText now applies transforms at paint() time instead of during chunk draw time this should be much more efficient. Fixed the order in which RenderSVGViewportContainer applied transforms and clips. We now clip to the viewport first and apply all transforms at once. Also since the viewport logic is now only inside RenderSVGViewportContainer (instead of inside RenderSVGContainer) we always know we have a viewport. We now use only viewportSize instead of viewport() since RenderSVGViewportContainers can't have x/y offsets. We now correctly transform the PaintInfo::rect (damage rect) when applying transforms. This allowed us to apply the transform during text paint() instead of at chunk paint time. Previously we had to apply the transform during chunk paint time because RenderBlock (superclass of RenderSVGBlock) would check intersection with the damageRect before telling any of the inlines to draw. Now that we adjust the damage rect correctly we pass the intersection check correctly! (This probably fixed some <text> redraw bugs but since I still have a bunch of those to fix, I've not tried to write additional tests to cover these potential fixes yet.) SVGRootInlineBox no longer needs to deal with transforms at chunk paint time, yay! * rendering/RenderPath.cpp: (WebCore::RenderPath::repaintRectInLocalCoordinates): (WebCore::RenderPath::paint): * rendering/RenderSVGContainer.cpp: (WebCore::RenderSVGContainer::paint): (WebCore::RenderSVGContainer::repaintRectInLocalCoordinates): * rendering/RenderSVGContainer.h: (WebCore::RenderSVGContainer::applyViewportClip): * rendering/RenderSVGImage.cpp: (WebCore::RenderSVGImage::layout): (WebCore::RenderSVGImage::repaintRectInLocalCoordinates): (WebCore::RenderSVGImage::clippedOverflowRectForRepaint): (WebCore::RenderSVGImage::computeRectForRepaint): * rendering/RenderSVGImage.h: * rendering/RenderSVGModelObject.cpp: * rendering/RenderSVGModelObject.h: * rendering/RenderSVGRoot.cpp: (WebCore::RenderSVGRoot::layout): (WebCore::RenderSVGRoot::selfWillPaint): (WebCore::RenderSVGRoot::paint): (WebCore::RenderSVGRoot::viewportSize): (WebCore::RenderSVGRoot::calcViewport): (WebCore::RenderSVGRoot::localToBorderBoxTransform): (WebCore::RenderSVGRoot::parentOriginToBorderBox): (WebCore::RenderSVGRoot::borderOriginToContentBox): (WebCore::RenderSVGRoot::localToRepaintContainerTransform): (WebCore::RenderSVGRoot::localToParentTransform): (WebCore::RenderSVGRoot::computeRectForRepaint): (WebCore::RenderSVGRoot::nodeAtPoint): * rendering/RenderSVGRoot.h: * rendering/RenderSVGText.cpp: (WebCore::RenderSVGText::clippedOverflowRectForRepaint): (WebCore::RenderSVGText::computeRectForRepaint): (WebCore::RenderSVGText::paint): (WebCore::RenderSVGText::repaintRectInLocalCoordinates): * rendering/RenderSVGText.h: (WebCore::RenderSVGText::localToParentTransform): (WebCore::RenderSVGText::localTransform): * rendering/RenderSVGViewportContainer.cpp: (WebCore::RenderSVGViewportContainer::applyViewportClip): * rendering/RenderSVGViewportContainer.h: * rendering/SVGRenderSupport.cpp: (WebCore::filterBoundingBoxForRenderer): (WebCore::applyTransformToPaintInfo): * rendering/SVGRenderSupport.h: * rendering/SVGRootInlineBox.cpp: (WebCore::SVGRootInlineBoxPaintWalker::chunkStartCallback): (WebCore::SVGRootInlineBox::paint): git-svn-id: svn://svn.chromium.org/blink/trunk@42950 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25453 git-svn-id: svn://svn.chromium.org/blink/trunk@42949 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25452 git-svn-id: svn://svn.chromium.org/blink/trunk@42946 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
rdar://problem/6833240mrowe@apple.com authored
This removes the need for us to explicitly initialize all of the members, which have a tendency to change in meaning and number between versions of libxml2. Reviewed by Sam Weinig. * dom/XMLTokenizerLibxml2.cpp: (WebCore::): (WebCore::sharedXHTMLEntity): (WebCore::getXHTMLEntity): git-svn-id: svn://svn.chromium.org/blink/trunk@42945 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Indirected definition through a UserMacro. Reviewed by Mark Rowe. * win/tools/vsprops/common.vsprops: git-svn-id: svn://svn.chromium.org/blink/trunk@42944 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Reviewed by Mark Rowe. * WebCore.vcproj/QTMovieWin.vcproj: git-svn-id: svn://svn.chromium.org/blink/trunk@42943 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
cfleizach@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=25449 git-svn-id: svn://svn.chromium.org/blink/trunk@42942 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sfalken@apple.com authored
Indirected definition for __PRODUCTION__ through a UserMacro. Reviewed by Mark Rowe. * win/tools/vsprops/common.vsprops: git-svn-id: svn://svn.chromium.org/blink/trunk@42941 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
- formatting cleanup * rendering/RenderBox.cpp: (WebCore::RenderBox::calcHeight): Corrected indentation and added braces around a multi-line "else" clause. git-svn-id: svn://svn.chromium.org/blink/trunk@42940 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Adam Roben <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows https://bugs.webkit.org/show_bug.cgi?id=25094 Display movies saved with a non-identity matrix at the correct size. * platform/graphics/win/QTMovieWin.cpp: (QTMovieWinPrivate::QTMovieWinPrivate): Initialize m_widthScaleFactor and m_heightScaleFactor. (QTMovieWinPrivate::cacheMovieScale): New, calculate difference between initial size and natural size so naturalSize() accounts for non-identity movie matrix. (QTMovieWinPrivate::task):Call cacheMovieScale when load state reaches kMovieLoadStateLoaded for the first time. kMovieLoadState -> QTMovieLoadState. (QTMovieWinPrivate::drawingComplete): kMovieLoadState -> QTMovieLoadState. (QTMovieWinPrivate::createGWorld): Don't bother creating gworld until load state reaches kMovieLoadStateLoaded because we do not try to draw it before that point. (QTMovieWinPrivate::setSize): Do not change movie box before reaching kMovieLoadStateLoaded because we need to get the movie's initial size in cacheMovieScale. (QTMovieWin::getNaturalSize): Multiply width and height by initial scale. 2009-04-28 Eric Carlson <eric.carlson@apple.com> Reviewed by Adam Roben <rdar://problem/6769968> media/video-size-intrinsic-scale.html fails on Windows https://bugs.webkit.org/show_bug.cgi?id=25094 * platform/win/Skipped: Re-enable video-size-intrinsic-scale.html. git-svn-id: svn://svn.chromium.org/blink/trunk@42939 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Dan Bernstein. Move timer code from JSDOMWindow to DOMWindow. clearTimeout and clearInterval can now be autogenerated. * bindings/js/JSDOMWindowBase.cpp: * bindings/js/JSDOMWindowBase.h: * bindings/js/JSDOMWindowCustom.cpp: (WebCore::createScheduledAction): (WebCore::JSDOMWindow::setTimeout): (WebCore::JSDOMWindow::setInterval): * page/DOMWindow.cpp: (WebCore::DOMWindow::setTimeout): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::setInterval): (WebCore::DOMWindow::clearInterval): * page/DOMWindow.h: * page/DOMWindow.idl: git-svn-id: svn://svn.chromium.org/blink/trunk@42938 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
Small optimization, don't get the widget's handle twice in one method. https://bugs.webkit.org/show_bug.cgi?id=25446 git-svn-id: svn://svn.chromium.org/blink/trunk@42937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mitz@apple.com authored
- fix <rdar://problem/6786360> Make PDF an insertable pasteboard type * WebCoreSupport/WebPasteboardHelper.mm: (WebPasteboardHelper::insertablePasteboardTypes): * WebView/WebHTMLView.mm: (-[WebHTMLView _documentFragmentFromPasteboard:inContext:allowPlainText:]): (+[WebHTMLView _insertablePasteboardTypes]): (-[WebHTMLView _documentFragmentFromPasteboard:forType:inContext:subresources:]): git-svn-id: svn://svn.chromium.org/blink/trunk@42936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
ScrollView copy and paste typo fix. https://bugs.webkit.org/show_bug.cgi?id=25445 git-svn-id: svn://svn.chromium.org/blink/trunk@42935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Reviewed by Tor Arne Vestbø. QWebElement API changes after another round of API review: * Fix argument names of findAll/findFirst * Split up toXml into innerXml and outerXml * Removed confusing toggleClass overload * Fixed casing of namespaceUri to follow QXmlStreamReader * Removed tagName from firstChild/nextSibling/etc. * Renamed append/prepend/insertAfter/insertBefore to [append|prepend][Inside|Outside] * Renamed wrapWith() back to wrap() * Made clone() const * Renamed remove() to takeFromDocument(), added removeFromDocument() * Renamed clear() to removeChildren() * Renamed scriptsFunctions/callScriptFunction to functions()/callFunction() * Renamed scriptProperty to scriptableProperty git-svn-id: svn://svn.chromium.org/blink/trunk@42934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: bump versions in preparation for 1.1.6 release. * configure.ac: git-svn-id: svn://svn.chromium.org/blink/trunk@42933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. Leave a bit of space from the previous page when advacing a whole page. This matches the behavior of our scrollbar scrolling code and is just nicer in general. * webkit/webkitwebview.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@42932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
kevino@webkit.org authored
Add a function for resetting the zoom factor to 1.0. https://bugs.webkit.org/show_bug.cgi?id=25447 git-svn-id: svn://svn.chromium.org/blink/trunk@42931 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
sullivan@apple.com authored
<rdar://problem/6820221> REGRESSION: 2-byte character names of images are displayed as %-encoded ASCII Reviewed by Adam Roben * loader/ImageDocument.cpp: (WebCore::ImageTokenizer::finish): decode the filename before processing it as part of the image name that's passed to the client git-svn-id: svn://svn.chromium.org/blink/trunk@42930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
hausmann@webkit.org authored
Reviewed by Tor Arne Vestbø. Fix some qdoc warnings. git-svn-id: svn://svn.chromium.org/blink/trunk@42929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
mjs@apple.com authored
Not reviewed, build fix. - fix initialization order to match declaration order to fix release build * page/Settings.cpp: (WebCore::Settings::Settings): git-svn-id: svn://svn.chromium.org/blink/trunk@42928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Unreviewed: committed a few bits by mistake, remove them. * WebCoreSupport/EditorClientGtk.cpp: (WebKit::handleEditingKeyboardEvent): git-svn-id: svn://svn.chromium.org/blink/trunk@42927 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Refactor keyboard event handling to work properly under caret browsing mode. Most of the code comes from the Windows port. * WebCoreSupport/EditorClientGtk.cpp: (WebKit::): (WebKit::interpretKeyEvent): (WebKit::handleEditingKeyboardEvent): (WebKit::EditorClient::handleKeyboardEvent): git-svn-id: svn://svn.chromium.org/blink/trunk@42926 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Gustavo Noronha. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Based on a patch by Alp Toker. Add enable-caret-browsing setting to WebKitWebView. * webkit/webkitwebsettings.cpp: (_WebKitWebSettingsPrivate::): (_WebKitWebSettingsPrivate::webkit_web_settings_class_init): (_WebKitWebSettingsPrivate::webkit_web_settings_set_property): (_WebKitWebSettingsPrivate::webkit_web_settings_get_property): (_WebKitWebSettingsPrivate::webkit_web_settings_copy): * webkit/webkitwebview.cpp: git-svn-id: svn://svn.chromium.org/blink/trunk@42925 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
xan@webkit.org authored
Reviewed by Justin Garcia. https://bugs.webkit.org/show_bug.cgi?id=16135 [GTK] Support caret browsing Based on a patch by Alp Toker. Implement basic support for caret browsing, active only when the corresponding setting is enabled. * page/EventHandler.cpp: (WebCore::EventHandler::handleMouseReleaseEvent): * page/FocusController.cpp: (WebCore::FocusController::advanceFocus): (WebCore::clearSelectionIfNeeded): (WebCore::FocusController::setFocusedNode): * page/Frame.cpp: (WebCore::Frame::setFocusedNodeIfNeeded): (WebCore::Frame::setSelectionFromNone): (WebCore::Frame::respondToChangedSelection): * page/Settings.cpp: (WebCore::Settings::Settings): * page/Settings.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paintCaret): git-svn-id: svn://svn.chromium.org/blink/trunk@42924 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
Rubber stamped by Maciej "Henry Morgan" Stachowiak. Enable YARR. (Again.) * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42923 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
barraclough@apple.com authored
Reviewed by Maciej Stachowiak. Tweak a loop condition to keep GCC happy, some GCCs seem to be having issues with this. :-/ * bytecompiler/BytecodeGenerator.cpp: (JSC::BytecodeGenerator::breakTarget): * wtf/Platform.h: git-svn-id: svn://svn.chromium.org/blink/trunk@42922 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Mark Rowe. Disable test intermittent failing test. * svg/custom/filter-source-alpha.svg: Removed. * svg/custom/filter-source-alpha.svg-disabled: Copied from svg/custom/filter-source-alpha.svg. git-svn-id: svn://svn.chromium.org/blink/trunk@42921 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
Reviewed by Simon Fraser Fix video-played.html layout test. https://bugs.webkit.org/show_bug.cgi?id=25424 We implement playForMillisecs() which makes sure the video will have been playing for a minimum time. Note, this does not ensure a strict synchronization between the time asked and the media playback. But given that media playback is the slow part we just need to compensate for the delay involved by playback. (And not the other way around.) Moreover, we split the test in 3 in order to be more gentle which slower machines that may tend to timeout more easily on those tests. * media/video-played-collapse-expected.txt: Added. * media/video-played-collapse.html: Added. * media/video-played-expected.txt: * media/video-played-reset-expected.txt: Added. * media/video-played-reset.html: Added. * media/video-played.html: - Split tests in multiple files. - Makes sure we always play as much as requested by using playForMillisecs(); * media/video-played.js: Added. (testRanges): (nextTest): (pause): (canplay): (willCreateNewRange): (startPlayingInNewRange): (startPlaying): (secToMilli): (milliToSecs): (playForMillisecs.callPauseIfTimeIsReached): (playForMillisecs): (videoPlayedMain): git-svn-id: svn://svn.chromium.org/blink/trunk@42920 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
dglazkov@chromium.org authored
Reviewed by Darin Fisher. Fix a compile breakage. <https://bugs.webkit.org/show_bug.cgi?id=25384> * bindings/v8/custom/V8DOMWindowCustom.cpp: (WebCore::CALLBACK_FUNC_DECL): git-svn-id: svn://svn.chromium.org/blink/trunk@42919 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
eric.carlson@apple.com authored
Reviewed by Darin Adler. <rdar://problem/6822344> Use of QTMovieCurrentSizeAttribute generates exception and will crash QTMovieCurrentSizeAttribute generates an exception with some versions of QTKit, so calculate a multiplier to scale from natural size to current size when a movie is opened and use that to return the correct value from the naturalSize() method. * platform/graphics/mac/MediaPlayerPrivateQTKit.h: * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::MediaPlayerPrivate): Initialize m_scaleFactor. (WebCore::MediaPlayerPrivate::naturalSize): Return naturalSize transformed by initial scale. (WebCore::MediaPlayerPrivate::cacheMovieScale): New, calculate difference between initial size and natural size so naturalSize() accounts for non-identity movie matrix. (WebCore::MediaPlayerPrivate::updateStates): Call cacheMovieScale when load state reaches QTMovieLoadStateLoaded for the first time. git-svn-id: svn://svn.chromium.org/blink/trunk@42918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
bdakin@apple.com authored
2009-04-27 Beth Dakin <bdakin@apple.com> Reviewed by Dave Hyatt. Fix for <rdar://problem/6709057> REGRESSION (4PB-TOT): http://www.winway.com/main3/support/faq.aspx selector doesn't look right or work The problem here is that we had a self-painting layer nested inside a non-self-painting layer. We ended up ignoring the self-painting layer both during painting and hit-testing. This patch corrects that. * rendering/RenderLayer.cpp: (WebCore::RenderLayer::paintLayer): (WebCore::RenderLayer::hitTestLayer): LayoutTests: 2009-04-27 Beth Dakin <bdakin@apple.com> Reviewed by Dave Hyatt. Test for <rdar://problem/6709057> REGRESSION (4PB-TOT): http://www.winway.com/main3/support/faq.aspx selector doesn't look right or work * fast/css/nested-layers-with-hover.html: Added. * platform/mac/fast/css/nested-layers-with-hover-expected.checksum: Added. * platform/mac/fast/css/nested-layers-with-hover-expected.png: Added. * platform/mac/fast/css/nested-layers-with-hover-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
adachan@apple.com authored
kCFStreamSSLAllowsExpiredCertificates to true to allow expired certificate, and set kCFStreamSSLValidatesCertificateChain false to skip certificate chain validation. (<rdar://problem/6382059>) Reviewed by John Sullivan. * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::makeFinalRequest): git-svn-id: svn://svn.chromium.org/blink/trunk@42916 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
https://bugs.webkit.org/show_bug.cgi?id=22242 Add pixel test for zoomed video with controls, with and without a transform. * media/video-zoom-controls.html: Added. * platform/mac/media/video-zoom-controls-expected.checksum: Added. * platform/mac/media/video-zoom-controls-expected.png: Added. * platform/mac/media/video-zoom-controls-expected.txt: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@42915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
simon.fraser@apple.com authored
Reviewed by Adele Peterson <rdar://problem/6822225> Full page zooming of <video> element in the browser window doesn't work well Fix a 'size changed' notification thrash that caused standalone video elements to continually resize after full page zooming, by using the movie's natual size (which is independent of zooming), rather than its current size (which is not). Note that this regresses <https://bugs.webkit.org/show_bug.cgi?id=25029>, so we have to disable the media/video-size-intrinsic-scale.html test. However, we have to stop using QTMovieCurrentSizeAttribute anyway; this will be addressed, and the test re-enabled via <rdar://problem/6822344>. * platform/graphics/mac/MediaPlayerPrivateQTKit.mm: (WebCore::MediaPlayerPrivate::naturalSize): git-svn-id: svn://svn.chromium.org/blink/trunk@42914 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
- 27 Apr, 2009 2 commits
-
-
simon.fraser@apple.com authored
Reviewed by Darin Adler <rdar://problem/6642221> REGRESSION: With the Movie widget, movie trailer fails to load if movie had been previously viewed Fix the Dashboard quirk for display:none plug-ins by moving the code from HTMLObjectElement to HTMLEmebedElement. It has to be in HTMLEmbedElement because the content we care about uses <embed>. * html/HTMLEmbedElement.cpp: (WebCore::HTMLEmbedElement::rendererIsNeeded): * html/HTMLObjectElement.cpp: (WebCore::HTMLObjectElement::rendererIsNeeded): git-svn-id: svn://svn.chromium.org/blink/trunk@42913 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-
weinig@apple.com authored
Reviewed by Geoffrey Garen. Move more window event related code into DOMWindow. * dom/Document.cpp: (WebCore::Document::implicitClose): (WebCore::Document::setWindowAttributeEventListener): (WebCore::Document::dispatchWindowEvent): (WebCore::Document::dispatchLoadEvent): * dom/Document.h: * dom/Element.cpp: * dom/Element.h: * dom/Node.cpp: * dom/Node.h: * html/HTMLBodyElement.cpp: (WebCore::HTMLBodyElement::parseMappedAttribute): * html/HTMLFrameSetElement.cpp: (WebCore::HTMLFrameSetElement::parseMappedAttribute): * loader/FrameLoader.cpp: (WebCore::FrameLoader::stopLoading): * page/DOMWindow.cpp: (WebCore::DOMWindow::dispatchAllPendingUnloadEvents): (WebCore::DOMWindow::postMessageTimerFired): (WebCore::DOMWindow::dispatchEvent): (WebCore::DOMWindow::dispatchEventWithDocumentAsTarget): (WebCore::DOMWindow::dispatchLoadEvent): (WebCore::DOMWindow::dispatchUnloadEvent): (WebCore::DOMWindow::dispatchBeforeUnloadEvent): * page/DOMWindow.h: * page/Frame.cpp: (WebCore::Frame::shouldClose): * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::parseMappedAttribute): git-svn-id: svn://svn.chromium.org/blink/trunk@42912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
-