summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/EmptyClients.h
diff options
context:
space:
mode:
authorBen Murdoch <benm@google.com>2009-11-26 14:49:53 +0000
committerBen Murdoch <benm@google.com>2009-12-03 11:37:33 +0000
commited3dcbaa89ede50bb054f63aa1847ae6240fa70d (patch)
treedde225bcccabaa57308928d29ecda06ca0c73d64 /WebCore/loader/EmptyClients.h
parent5c7b027ae1636ed27f6917385c2b3ec37af33237 (diff)
downloadexternal_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/EmptyClients.h')
-rw-r--r--WebCore/loader/EmptyClients.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/WebCore/loader/EmptyClients.h b/WebCore/loader/EmptyClients.h
index b4952b1..5fcd4cd 100644
--- a/WebCore/loader/EmptyClients.h
+++ b/WebCore/loader/EmptyClients.h
@@ -283,11 +283,9 @@ public:
virtual void updateGlobalHistory() { }
virtual void updateGlobalHistoryRedirectLinks() { }
virtual bool shouldGoToHistoryItem(HistoryItem*) const { return false; }
-#ifdef ANDROID_HISTORY_CLIENT
- virtual void dispatchDidAddHistoryItem(HistoryItem*) const {}
- virtual void dispatchDidRemoveHistoryItem(HistoryItem*, int) const {}
- virtual void dispatchDidChangeHistoryIndex(BackForwardList*) const {}
-#endif
+ virtual void dispatchDidAddBackForwardItem(HistoryItem*) const { }
+ virtual void dispatchDidRemoveBackForwardItem(HistoryItem*) const { }
+ virtual void dispatchDidChangeBackForwardIndex() const { }
virtual void saveViewStateToItem(HistoryItem*) { }
virtual bool canCachePage() const { return false; }
virtual void didDisplayInsecureContent() { }