WebCore:
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Dec 2008 21:18:11 +0000 (21:18 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 8 Dec 2008 21:18:11 +0000 (21:18 +0000)
commitcbcf1d520c2f86981de83fd5d1395481f46a1bb7
treea5a35447ad5fc61137f92bda5bb522fd04c9fd81
parent0d62ad66220f6d2b7307822379e0ceb378db3e65
WebCore:

        Reviewed by John Sullivan.

        - WebCore part of tracking the global history item for a WebView

        * loader/FrameLoader.cpp:
        (WebCore::FrameLoader::checkLoadCompleteForThisFrame): Set the page's
        global history item to the current back/forward list item, respecting
        private browsing mode.
        (WebCore::FrameLoader::continueLoadAfterNavigationPolicy): Ditto in this
        case.
        (WebCore::FrameLoader::goToItem): Ditto in this case.
        (WebCore::FrameLoader::updateHistoryForStandardLoad): If this load
        creates a new global history item, set the page's global history item
        to it.
        (WebCore::FrameLoader::updateHistoryForRedirectWithLockedHistory):
        Ditto.
        * page/Page.cpp:
        (WebCore::Page::setGlobalHistoryItem): Added this setter.
        * page/Page.h: Added a m_globalHistoryItem data member.
        (WebCore::Page::globalHistoryItem): Added this getter.

WebKit/mac:

        Reviewed by John Sullivan.

        - WebKit/mac part of tracking the global history item for a WebView

        * WebView/WebView.mm:
        (-[WebView _globalHistoryItem]): Added. Returns the page's global
        history item.
        * WebView/WebViewPrivate.h:

WebKit/win:

        Reviewed by John Sullivan.

        - WebKit/win part of tracking the global history item for a WebView

        * Interfaces/IWebViewPrivate.idl: Declared globalHistoryItem()
        * WebView.cpp:
        (WebView::globalHistoryItem): Added. Gets the page's global history
        item.
        * WebView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@39100 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/loader/FrameLoader.cpp
WebCore/page/Page.cpp
WebCore/page/Page.h
WebKit/mac/ChangeLog
WebKit/mac/WebView/WebView.mm
WebKit/mac/WebView/WebViewPrivate.h
WebKit/win/ChangeLog
WebKit/win/Interfaces/IWebViewPrivate.idl
WebKit/win/WebView.cpp
WebKit/win/WebView.h