diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-10-21 07:00:00 -0700 |
commit | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (patch) | |
tree | d49911209b132da58d838efa852daf28d516df21 /WebKit/qt/WebCoreSupport | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebKit/qt/WebCoreSupport')
-rw-r--r-- | WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp | 7 | ||||
-rw-r--r-- | WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h | 3 |
2 files changed, 8 insertions, 2 deletions
diff --git a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp index ed91b86..bb6fb95 100644 --- a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp +++ b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.cpp @@ -599,13 +599,18 @@ void FrameLoaderClientQt::registerForIconNotification(bool) notImplemented(); } -void FrameLoaderClientQt::updateGlobalHistory(const WebCore::KURL& url) +void FrameLoaderClientQt::updateGlobalHistoryForStandardLoad(const WebCore::KURL& url) { QWebHistoryInterface *history = QWebHistoryInterface::defaultInterface(); if (history) history->addHistoryEntry(url.prettyURL()); } +void FrameLoaderClientQt::updateGlobalHistoryForReload(const WebCore::KURL&) +{ + notImplemented(); +} + bool FrameLoaderClientQt::shouldGoToHistoryItem(WebCore::HistoryItem *item) const { if (item) { diff --git a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h index 3dd5ac9..2eced5d 100644 --- a/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h +++ b/WebKit/qt/WebCoreSupport/FrameLoaderClientQt.h @@ -156,7 +156,8 @@ namespace WebCore { virtual void transitionToCommittedFromCachedPage(WebCore::CachedPage*); virtual void transitionToCommittedForNewPage(); - virtual void updateGlobalHistory(const WebCore::KURL&); + virtual void updateGlobalHistoryForStandardLoad(const WebCore::KURL&); + virtual void updateGlobalHistoryForReload(const WebCore::KURL&); virtual bool shouldGoToHistoryItem(WebCore::HistoryItem*) const; virtual void saveViewStateToItem(WebCore::HistoryItem*); virtual bool canCachePage() const; |