diff options
Diffstat (limited to 'chrome/renderer/render_view.h')
-rw-r--r-- | chrome/renderer/render_view.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/chrome/renderer/render_view.h b/chrome/renderer/render_view.h index fa28f0c..fa88cb1 100644 --- a/chrome/renderer/render_view.h +++ b/chrome/renderer/render_view.h @@ -274,7 +274,7 @@ class RenderView : public RenderWidget, virtual void TakeFocus(WebView* webview, bool reverse); virtual void JSOutOfMemory(); - virtual void NavigateBackForwardSoon(int offset); + virtual WebHistoryItem* GetHistoryEntryAtOffset(int offset); virtual int GetHistoryBackListCount(); virtual int GetHistoryForwardListCount(); virtual void OnNavStateChanged(WebView* webview); @@ -453,6 +453,10 @@ class RenderView : public RenderWidget, // Update the feed list. void UpdateFeedList(scoped_refptr<FeedList> feedlist); + // Tells the browser process to navigate to a back/forward entry at the given + // offset from current. + void GoToEntryAtOffset(int offset); + // RenderView IPC message handlers void SendThumbnail(); void OnPrintPages(); @@ -759,6 +763,11 @@ class RenderView : public RenderWidget, // out of date responses. int form_field_autofill_request_id_; + // A cached WebHistoryItem used for back/forward navigations initiated by + // WebCore (via the window.history.go API). We only have one such navigation + // pending at a time. + scoped_refptr<WebHistoryItem> history_navigation_item_; + // We need to prevent windows from closing themselves with a window.close() // call while a blocked popup notification is being displayed. We cannot // synchronously querry the Browser process. We cannot wait for the Browser |