WebCore:
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2006 17:09:20 +0000 (17:09 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 31 Jan 2006 17:09:20 +0000 (17:09 +0000)
commitf33b1c271a34123b5d124e14352e0fdf2b487846
tree107e7073ab4b3cabf44f20b2d691fd4117f095e7
parentf5b700af442deef21155f4a1b223c94ee6f3184d
WebCore:

        Reviewed by Hyatt.

        - added a Timer class
        - used the Timer class for the redirection timer
        - moved Frame, FrameView, MacFrame, and FrameNodeTree into WebCore namespace
        - removed more KWQ

        * ForwardingHeaders/khtml_factory.h: Removed.
        * kwq/KWQKHTMLFactory.cpp: Removed.
        * kwq/KWQKHTMLFactory.h: Removed.

        * platform/Timer.h: Added.
        * platform/mac/Timer.cpp: Added.

        * WebCore.vcproj/WebCore/WebCore.vcproj: Updated for added and removed files.
        * WebCore.xcodeproj/project.pbxproj: Ditto.

        * page/Frame.h:
        * page/Frame.cpp:
        (WebCore::Frame::init): Remove code to set up slotRedirect.
        (WebCore::Frame::checkCompleted): Call start/stopRedirectionTimer instead of using
        the redirection timer directly.
        (WebCore::Frame::scheduleRedirection): Ditto.
        (WebCore::Frame::scheduleLocationChange): Ditto.
        (WebCore::Frame::scheduleHistoryNavigation): Ditto.
        (WebCore::Frame::cancelRedirection): Ditto.
        (WebCore::Frame::redirectionTimerFired): Renamed from slotRedirect.
        (WebCore::Frame::slotParentCompleted): More startRedirectionTimer.
        (WebCore::Frame::startRedirectionTimer): Added. Virtual bottleneck to start the
        redirection timer.
        (WebCore::Frame::stopRedirectionTimer): Added. Virtual bottleneck to stop the
        redirection timer.

        * page/FramePrivate.h: Changed m_redirectionTimer from a QTimer to a Timer.

        * bridge/mac/MacFrame.mm:
        (WebCore::MacFrame::startRedirectionTimer): Added. Avoids the need for the QTimer
        "monitor" feature that I had added a while back to implement the client-redirected
        callback.
        (WebCore::MacFrame::stopRedirectionTimer): Ditto.

        * kwq/KWQSlot.cpp: Removed slotRedirected.

        * ForwardingHeaders/ksvg2/KSVGPart.h: Removed using to put Frame into various
        namespaces (all of which are WebCore now anyway).

        * bindings/objc/DOMInternal.mm:
        * bridge/mac/BrowserExtensionMac.h:
        * bridge/mac/KWQKHTMLView.cpp:
        * bridge/mac/MacFrame.h:
        * bridge/mac/WebCoreFrameBridge.h:
        * bridge/mac/WebCoreFrameBridge.mm:
        * bridge/mac/WebCorePageBridge.h:
        * bridge/mac/WebCorePageBridge.mm:
        * css/cssstyleselector.cpp:
        * css/cssstyleselector.h:
        * khtml/ecma/kjs_binding.cpp:
        * khtml/ecma/kjs_binding.h:
        * khtml/ecma/kjs_navigator.cpp:
        * khtml/ecma/kjs_navigator.h:
        * khtml/ecma/kjs_proxy.h:
        * khtml/ecma/kjs_window.h:
        * khtml/editing/SelectionController.h:
        * khtml/editing/jsediting.h:
        * khtml/html/html_baseimpl.h:
        * khtml/html/html_documentimpl.cpp:
        * khtml/html/html_documentimpl.h:
        * khtml/html/html_headimpl.h:
        * khtml/html/htmlparser.h:
        * khtml/html/htmltokenizer.h:
        * khtml/xml/DOMImplementationImpl.h:
        * khtml/xml/DocumentImpl.h:
        * khtml/xml/dom2_eventsimpl.h:
        * khtml/xml/xml_tokenizer.h:
        * khtml/xsl/xslt_processorimpl.h:
        * ksvg2/svg/SVGDocumentImpl.cpp:
        * kwq/KWQClipboard.h:
        * kwq/KWQComboBox.mm:
        * kwq/KWQFileButton.h:
        * kwq/KWQFrame.mm:
        * kwq/KWQKJavaAppletWidget.h:
        * kwq/KWQListBox.mm:
        * kwq/KWQSignalStubs.cpp:
        * kwq/KWQSlider.mm:
        * kwq/KWQTextField.mm:
        * kwq/KWQWidget.mm:
        * kwq/WebCoreSettings.mm:
        * kwq/WebCoreTextRendererFactory.mm:
        * loader/DocLoader.h:
        * page/FrameTreeNode.cpp:
        * page/FrameTreeNode.h:
        * page/FrameView.cpp:
        * page/FrameView.h:
        * page/Page.cpp:
        * page/Page.h:
        * rendering/InlineTextBox.h:
        * rendering/font.cpp:
        * rendering/render_canvas.h:
        * rendering/render_frames.h:
        * rendering/render_object.h:
        * rendering/render_replaced.h:
        Updated for namespace and header changes.

WebKit:

        Reviewed by Hyatt.

        * WebCoreSupport.subproj/WebFrameBridge.m:
        (-[WebFrameBridge createChildFrameNamed:withURL:referrer:renderPart:allowsScrolling:marginWidth:marginHeight:]):
        Updated for name change.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@12492 268f45cc-cd09-0410-ab3c-d52691b4dbfc
71 files changed:
WebCore/ChangeLog
WebCore/ForwardingHeaders/khtml_factory.h [deleted file]
WebCore/ForwardingHeaders/ksvg2/KSVGPart.h
WebCore/WebCore.vcproj/WebCore/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/bindings/objc/DOMInternal.mm
WebCore/bridge/mac/BrowserExtensionMac.h
WebCore/bridge/mac/KWQKHTMLView.cpp
WebCore/bridge/mac/MacFrame.h
WebCore/bridge/mac/MacFrame.mm
WebCore/bridge/mac/WebCoreFrameBridge.h
WebCore/bridge/mac/WebCoreFrameBridge.mm
WebCore/bridge/mac/WebCorePageBridge.h
WebCore/bridge/mac/WebCorePageBridge.mm
WebCore/css/cssstyleselector.cpp
WebCore/css/cssstyleselector.h
WebCore/khtml/ecma/kjs_binding.cpp
WebCore/khtml/ecma/kjs_binding.h
WebCore/khtml/ecma/kjs_navigator.cpp
WebCore/khtml/ecma/kjs_navigator.h
WebCore/khtml/ecma/kjs_proxy.h
WebCore/khtml/ecma/kjs_window.h
WebCore/khtml/editing/SelectionController.h
WebCore/khtml/editing/jsediting.h
WebCore/khtml/html/html_baseimpl.h
WebCore/khtml/html/html_documentimpl.cpp
WebCore/khtml/html/html_documentimpl.h
WebCore/khtml/html/html_headimpl.h
WebCore/khtml/html/htmlparser.h
WebCore/khtml/html/htmltokenizer.h
WebCore/khtml/xml/DOMImplementationImpl.h
WebCore/khtml/xml/DocumentImpl.h
WebCore/khtml/xml/dom2_eventsimpl.h
WebCore/khtml/xml/xml_tokenizer.h
WebCore/khtml/xsl/xslt_processorimpl.h
WebCore/ksvg2/svg/SVGDocumentImpl.cpp
WebCore/kwq/KWQClipboard.h
WebCore/kwq/KWQComboBox.mm
WebCore/kwq/KWQFileButton.h
WebCore/kwq/KWQFrame.mm
WebCore/kwq/KWQKHTMLFactory.cpp [deleted file]
WebCore/kwq/KWQKHTMLFactory.h [deleted file]
WebCore/kwq/KWQKJavaAppletWidget.h
WebCore/kwq/KWQListBox.mm
WebCore/kwq/KWQSignalStubs.cpp
WebCore/kwq/KWQSlider.mm
WebCore/kwq/KWQSlot.cpp
WebCore/kwq/KWQTextField.mm
WebCore/kwq/KWQWidget.mm
WebCore/kwq/WebCoreSettings.mm
WebCore/kwq/WebCoreTextRendererFactory.mm
WebCore/loader/DocLoader.h
WebCore/page/Frame.cpp
WebCore/page/Frame.h
WebCore/page/FramePrivate.h
WebCore/page/FrameTreeNode.cpp
WebCore/page/FrameTreeNode.h
WebCore/page/FrameView.cpp
WebCore/page/FrameView.h
WebCore/page/Page.cpp
WebCore/page/Page.h
WebCore/platform/Timer.h [new file with mode: 0644]
WebCore/platform/mac/Timer.cpp [new file with mode: 0644]
WebCore/rendering/InlineTextBox.h
WebCore/rendering/font.cpp
WebCore/rendering/render_canvas.h
WebCore/rendering/render_frames.h
WebCore/rendering/render_object.h
WebCore/rendering/render_replaced.h
WebKit/ChangeLog
WebKit/WebCoreSupport.subproj/WebFrameBridge.m