summaryrefslogtreecommitdiff
path: root/chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h')
-rw-r--r--chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h b/chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h
index 6550a4075ef..c76680948f3 100644
--- a/chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h
+++ b/chromium/third_party/WebKit/Source/web/BackForwardClientImpl.h
@@ -37,6 +37,8 @@
namespace WebKit {
class WebViewImpl;
+extern const char backForwardNavigationScheme[];
+
class BackForwardClientImpl : public WebCore::BackForwardClient {
public:
explicit BackForwardClientImpl(WebViewImpl*);
@@ -44,11 +46,21 @@ public:
private:
// WebCore::BackForwardList methods:
- virtual void didAddItem();
+ virtual void addItem(PassRefPtr<WebCore::HistoryItem>);
+ virtual void goToItem(WebCore::HistoryItem*);
+ virtual WebCore::HistoryItem* itemAtIndex(int index);
virtual int backListCount();
virtual int forwardListCount();
+ virtual bool isActive();
+ virtual void close();
WebViewImpl* m_webView;
+
+ RefPtr<WebCore::HistoryItem> m_currentItem;
+
+ // The last history item that was accessed via itemAtIndex(). We keep track
+ // of this until goToItem() is called, so we can track the navigation.
+ RefPtr<WebCore::HistoryItem> m_pendingHistoryItem;
};
} // namespace WebKit