From ed3dcbaa89ede50bb054f63aa1847ae6240fa70d Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Thu, 26 Nov 2009 14:49:53 +0000 Subject: 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 --- WebCore/loader/FrameLoaderClient.h | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'WebCore/loader/FrameLoaderClient.h') 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. -- cgit v1.1