diff options
author | Ben Murdoch <benm@google.com> | 2009-11-26 14:49:53 +0000 |
---|---|---|
committer | Ben Murdoch <benm@google.com> | 2009-12-03 11:37:33 +0000 |
commit | ed3dcbaa89ede50bb054f63aa1847ae6240fa70d (patch) | |
tree | dde225bcccabaa57308928d29ecda06ca0c73d64 /WebCore/loader/FrameLoaderClient.h | |
parent | 5c7b027ae1636ed27f6917385c2b3ec37af33237 (diff) | |
download | external_webkit-ed3dcbaa89ede50bb054f63aa1847ae6240fa70d.zip external_webkit-ed3dcbaa89ede50bb054f63aa1847ae6240fa70d.tar.gz external_webkit-ed3dcbaa89ede50bb054f63aa1847ae6240fa70d.tar.bz2 |
Android History unforking pt2: BackForwardList changes. Fire a notification to the FrameLoaderClient that the BackForwardList has been modified.
This needs to be upstreamed to webkit.org.
Change-Id: I14633c51276bd92ed56139b4c473cc8ac9bacb72
Diffstat (limited to 'WebCore/loader/FrameLoaderClient.h')
-rw-r--r-- | WebCore/loader/FrameLoaderClient.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/WebCore/loader/FrameLoaderClient.h b/WebCore/loader/FrameLoaderClient.h index a20bd43..7d988f1 100644 --- a/WebCore/loader/FrameLoaderClient.h +++ b/WebCore/loader/FrameLoaderClient.h @@ -73,10 +73,6 @@ namespace WebCore { class String; class Widget; -#ifdef ANDROID_HISTORY_CLIENT - class BackForwardList; -#endif - typedef void (PolicyChecker::*FramePolicyFunction)(PolicyAction); class FrameLoaderClient { @@ -169,11 +165,9 @@ namespace WebCore { virtual void updateGlobalHistoryRedirectLinks() = 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 void dispatchDidAddBackForwardItem(HistoryItem*) const = 0; + virtual void dispatchDidRemoveBackForwardItem(HistoryItem*) const = 0; + virtual void dispatchDidChangeBackForwardIndex() const = 0; // This frame has displayed inactive content (such as an image) from an // insecure source. Inactive content cannot spread to other frames. |