From 26b9816a2f7b37b5ed30e415aefa333e3a4f6111 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Tue, 5 May 2009 06:33:29 +0000 Subject: Revert r15278. More unexpected test failures :( TBR=mpcomplete Review URL: http://codereview.chromium.org/108005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15279 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/glue/webview_delegate.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'webkit/glue/webview_delegate.h') diff --git a/webkit/glue/webview_delegate.h b/webkit/glue/webview_delegate.h index d6a36a6..29c31be 100644 --- a/webkit/glue/webview_delegate.h +++ b/webkit/glue/webview_delegate.h @@ -53,6 +53,7 @@ class SkBitmap; class WebDevToolsAgentDelegate; class WebError; class WebFrame; +class WebHistoryItem; class WebMediaPlayerDelegate; class WebPluginDelegate; class WebRequest; @@ -694,9 +695,10 @@ class WebViewDelegate : virtual public WebWidgetDelegate { // History Related --------------------------------------------------------- - // Tells the embedder to navigate back or forward in session history by the - // given offset (relative to the current position in session history). - virtual void NavigateBackForwardSoon(int offset) { + // Returns the session history entry at a distance |offset| relative to the + // current entry. Returns NULL on failure. + virtual WebHistoryItem* GetHistoryEntryAtOffset(int offset) { + return NULL; } // Returns how many entries are in the back and forward lists, respectively. -- cgit v1.1