summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/FrameLoaderClient.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/FrameLoaderClient.h')
-rw-r--r--WebCore/loader/FrameLoaderClient.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/WebCore/loader/FrameLoaderClient.h b/WebCore/loader/FrameLoaderClient.h
index 35f02fc..d2d31ee 100644
--- a/WebCore/loader/FrameLoaderClient.h
+++ b/WebCore/loader/FrameLoaderClient.h
@@ -66,6 +66,10 @@ namespace WebCore {
class ResourceRequest;
+#ifdef ANDROID_HISTORY_CLIENT
+ class BackForwardList;
+#endif
+
typedef void (FrameLoader::*FramePolicyFunction)(PolicyAction);
class FrameLoaderClient {
@@ -150,8 +154,14 @@ namespace WebCore {
virtual void finishedLoading(DocumentLoader*) = 0;
virtual void finalSetupForReplace(DocumentLoader*) = 0;
- virtual void updateGlobalHistory(const KURL&) = 0;
+ virtual void updateGlobalHistoryForStandardLoad(const KURL&) = 0;
+ virtual void updateGlobalHistoryForReload(const KURL&) = 0;
virtual bool shouldGoToHistoryItem(HistoryItem*) const = 0;
+#ifdef ANDROID_HISTORY_CLIENT
+ virtual void dispatchDidAddHistoryItem(HistoryItem*) const = 0;
+ virtual void dispatchDidRemoveHistoryItem(HistoryItem*, int) const = 0;
+ virtual void dispatchDidChangeHistoryIndex(BackForwardList*) const = 0;
+#endif
virtual ResourceError cancelledError(const ResourceRequest&) = 0;
virtual ResourceError blockedError(const ResourceRequest&) = 0;