2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
authorkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 10:26:17 +0000 (10:26 +0000)
committerkov@webkit.org <kov@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 10 Dec 2010 10:26:17 +0000 (10:26 +0000)
commitf9b3da5063608ba0b674232cf1bd459c2e0d2dcc
treeb18690a38b0fe37fa21b729a2fb146adc46e57c8
parent07a546caf67cfdaac1531b1500c138a6c8b2f1af
2010-12-09 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>

        Reviewed by Martin Robinson.

        [GTK] Split webkitprivate.{cpp,h} in more manageable chunks
        https://bugs.webkit.org/show_bug.cgi?id=50698

        Split private bits of WebKitNetworkRequest to its own private
        header, and to its implementation file. Also take the opportunity
        to use PlatformRefPtr for NetworkRequest where it makes sense, and
        make the creation less verbose by adding kitNew.

        * WebCoreSupport/FrameLoaderClientGtk.cpp:
        (WebKit::FrameLoaderClient::dispatchWillSendRequest):
        (WebKit::FrameLoaderClient::dispatchDecidePolicyForMIMEType):
        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNewWindowAction):
        (WebKit::FrameLoaderClient::dispatchDecidePolicyForNavigationAction):
        (WebKit::FrameLoaderClient::download):
        (WebKit::FrameLoaderClient::startDownload):
        * webkit/webkitdownload.cpp:
        * webkit/webkitnetworkrequest.cpp:
        (WebKit::kitNew):
        (WebKit::core):
        * webkit/webkitnetworkrequestprivate.h: Added.
        * webkit/webkitprivate.cpp:
        * webkit/webkitprivate.h:
        * webkit/webkitwebdatasource.cpp:
        (webkit_web_data_source_get_initial_request):
        (webkit_web_data_source_get_request):
        * webkit/webkitwebframe.cpp:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@73701 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/gtk/ChangeLog
WebKit/gtk/WebCoreSupport/FrameLoaderClientGtk.cpp
WebKit/gtk/webkit/webkitdownload.cpp
WebKit/gtk/webkit/webkitnetworkrequest.cpp
WebKit/gtk/webkit/webkitnetworkrequestprivate.h [new file with mode: 0644]
WebKit/gtk/webkit/webkitprivate.cpp
WebKit/gtk/webkit/webkitprivate.h
WebKit/gtk/webkit/webkitwebdatasource.cpp
WebKit/gtk/webkit/webkitwebframe.cpp