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-04 22:18:29 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-05-04 22:18:29 +0000
commit81cf6f77e3bf3a413220d9b28ba83d85567d9048 (patch)
tree2511422f4c1d0b097f5552f1a5033946a37d765e /webkit/glue/webview_delegate.h
parentc0048b454d97599f3e4a02ed30d01345bb4216c1 (diff)
downloadchromium_src-81cf6f77e3bf3a413220d9b28ba83d85567d9048.zip
chromium_src-81cf6f77e3bf3a413220d9b28ba83d85567d9048.tar.gz
chromium_src-81cf6f77e3bf3a413220d9b28ba83d85567d9048.tar.bz2
Revert r15244. Failed tests :(
TBR=mpcomplete Review URL: http://codereview.chromium.org/99370 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@15246 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 483ef1c..27036db 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.