summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webview_delegate.h
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 06:33:29 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-05 06:33:29 +0000
commit26b9816a2f7b37b5ed30e415aefa333e3a4f6111 (patch)
tree949f5d2b8b56a09ce635bc86887e1780b9ed2bb1 /webkit/glue/webview_delegate.h
parent4d4a6356e8e1a6ac0b177cb6bd398148030cb320 (diff)
downloadchromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.zip
chromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.tar.gz
chromium_src-26b9816a2f7b37b5ed30e415aefa333e3a4f6111.tar.bz2
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
Diffstat (limited to 'webkit/glue/webview_delegate.h')
-rw-r--r--webkit/glue/webview_delegate.h8
1 files changed, 5 insertions, 3 deletions
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.