Patch for https://bugs.webkit.org/show_bug.cgi?id=41826
authorweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jul 2010 16:35:32 +0000 (16:35 +0000)
committerweinig@apple.com <weinig@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Jul 2010 16:35:32 +0000 (16:35 +0000)
commit1b1db40318d4e21d9616cd1b92d4bfe315e819ec
tree9d0e78ff4280139f89c79a5316af8bf8a709a690
parent2b383a0268c64f9b5913c3aad5d21ee0d5f85125
Patch for https://bugs.webkit.org/show_bug.cgi?id=41826
Convert BackForwardList to an abstract base class and add BackForwardListImpl
as the concrete implementation of it.

Reviewed by Anders Carlsson.

WebCore:

* CMakeLists.txt:
* GNUmakefile.am:
* WebCore.exp.in:
* WebCore.gypi:
* WebCore.pro:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.xcodeproj/project.pbxproj:
* history/BackForwardController.cpp:
(WebCore::BackForwardController::BackForwardController):
* history/BackForwardController.h:
* history/BackForwardList.cpp: Removed.
* history/BackForwardList.h:
(WebCore::BackForwardList::~BackForwardList):
(WebCore::BackForwardList::isBackForwardListImpl):
(WebCore::BackForwardList::BackForwardList):
* history/BackForwardListChromium.cpp:
* history/BackForwardListImpl.cpp: Copied from WebCore/history/BackForwardList.cpp.
* history/BackForwardListImpl.h: Copied from WebCore/history/BackForwardList.h.
(WebCore::BackForwardListImpl::isBackForwardListImpl):

WebKit/mac:

* History/WebBackForwardList.mm:
(-[WebBackForwardList init]):
(-[WebBackForwardList setPageCacheSize:]):
(-[WebBackForwardList pageCacheSize]):

WebKit/qt:

* Api/qwebhistory.cpp:
(QWebHistory::clear):
(QWebHistory::back):
(QWebHistory::forward):
(QWebHistory::goToItem):
(operator>>):
(QWebHistoryPrivate::page):

WebKit2:

* WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp:
(WebKit::WebBackForwardControllerClient::createBackForwardList):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@62792 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20 files changed:
WebCore/CMakeLists.txt
WebCore/ChangeLog
WebCore/GNUmakefile.am
WebCore/WebCore.exp.in
WebCore/WebCore.gypi
WebCore/WebCore.pro
WebCore/WebCore.vcproj/WebCore.vcproj
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/history/BackForwardController.cpp
WebCore/history/BackForwardController.h
WebCore/history/BackForwardList.h
WebCore/history/BackForwardListChromium.cpp
WebCore/history/BackForwardListImpl.cpp [moved from WebCore/history/BackForwardList.cpp with 85% similarity]
WebCore/history/BackForwardListImpl.h [new file with mode: 0644]
WebKit/mac/ChangeLog
WebKit/mac/History/WebBackForwardList.mm
WebKit/qt/Api/qwebhistory.cpp
WebKit/qt/ChangeLog
WebKit2/ChangeLog
WebKit2/WebProcess/WebCoreSupport/WebBackForwardControllerClient.cpp