• darin@apple.com's avatar
    2011-01-04 Darin Adler <darin@apple.com> · c9bf05d8
    darin@apple.com authored
            Reviewed by Brady Eidson.
    
            Add back/forward encoding and decoding to WebKit2
            https://bugs.webkit.org/show_bug.cgi?id=51901
    
            * WebCore.exp.in: Export functions used in WebKit2.
    
            * history/HistoryItem.cpp:
            (WebCore::HistoryItem::encodeBackForwardTree): Use references instead of pointers.
            (WebCore::HistoryItem::encodeBackForwardTreeNode): Ditto.
            (WebCore::HistoryItem::decodeBackForwardTree): Ditto.
            * history/HistoryItem.h: Ditto.
            * platform/network/FormData.cpp:
            (WebCore::encode): Ditto.
            (WebCore::decode): Ditto.
            (WebCore::FormData::encodeForBackForward): Ditto.
            (WebCore::FormData::decodeForBackForward): Ditto.
            * platform/network/FormData.h: Ditto.
    2011-01-04  Darin Adler  <darin@apple.com>
    
            Reviewed by Brady Eidson.
    
            Add back/forward encoding and decoding to WebKit2
            https://bugs.webkit.org/show_bug.cgi?id=51901
    
            * GNUmakefile.am: Added new source files.
            * WebKit2.pro: Ditto.
            * WebKit2.xcodeproj/project.pbxproj: Ditto.
            * win/WebKit2.vcproj: Ditto.
    
            * WebProcess/WebPage/DecoderAdapter.cpp: Added.
            * WebProcess/WebPage/DecoderAdapter.h: Added.
            * WebProcess/WebPage/EncoderAdapter.cpp: Added.
            * WebProcess/WebPage/EncoderAdapter.h: Added.
    
            * WebProcess/WebPage/WebBackForwardListProxy.cpp:
            (WebKit::updateBackForwardItem): Added code to encode the back/forward
            tree and send it along. The code to decode needs to wait on Brady's
            current project.
    
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75020 268f45cc-cd09-0410-ab3c-d52691b4dbfc
    c9bf05d8
ChangeLog 651 KB