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 /WebCore/loader/FrameLoaderClient.h | |
parent | 87eb0cb35bad8784770ebc807e6c982432e47107 (diff) | |
download | external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.zip external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.gz external_webkit-9364f22aed35e1a1e9d07c121510f80be3ab0502.tar.bz2 |
Initial Contribution
Diffstat (limited to 'WebCore/loader/FrameLoaderClient.h')
-rw-r--r-- | WebCore/loader/FrameLoaderClient.h | 12 |
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; |