| Index: content/renderer/render_view_impl.h
|
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
|
| index c6eb3642eb2bb41115370f764a7597f682998213..dee9acf86028a708df286778e82ef4b9632b8b8f 100644
|
| --- a/content/renderer/render_view_impl.h
|
| +++ b/content/renderer/render_view_impl.h
|
| @@ -184,8 +184,6 @@ class CONTENT_EXPORT RenderViewImpl
|
| // May return NULL when the view is closing.
|
| blink::WebView* webview() const;
|
|
|
| - int history_list_offset() const { return history_list_offset_; }
|
| -
|
| const WebPreferences& webkit_preferences() const {
|
| return webkit_preferences_;
|
| }
|
| @@ -551,8 +549,6 @@ class CONTENT_EXPORT RenderViewImpl
|
| DidFailProvisionalLoadWithErrorForError);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
|
| DidFailProvisionalLoadWithErrorForCancellation);
|
| - FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
|
| - DontIgnoreBackAfterNavEntryLimit);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ImeComposition);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, InsertCharacters);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, JSBlockSentAfterPageLoad);
|
| @@ -565,6 +561,8 @@ class CONTENT_EXPORT RenderViewImpl
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
|
| SetEditableSelectionAndComposition);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, StaleNavigationsIgnored);
|
| + FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
|
| + DontIgnoreBackAfterNavEntryLimit);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, UpdateTargetURLWithInvalidURL);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest,
|
| GetCompositionCharacterBoundsTest);
|
| @@ -574,7 +572,7 @@ class CONTENT_EXPORT RenderViewImpl
|
| #if defined(OS_MACOSX)
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewTest, MacTestCmdUp);
|
| #endif
|
| - FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndPrune);
|
| + FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, SetHistoryLengthAndOffset);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, ZoomLimit);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, NavigateFrame);
|
| FRIEND_TEST_ALL_PREFIXES(RenderViewImplTest, BasicRenderFrame);
|
| @@ -685,7 +683,7 @@ class CONTENT_EXPORT RenderViewImpl
|
| void OnSetActive(bool active);
|
| void OnSetBackgroundOpaque(bool opaque);
|
| void OnExitFullscreen();
|
| - void OnSetHistoryLengthAndPrune(int history_length, int32 minimum_page_id);
|
| + void OnSetHistoryOffsetAndLength(int history_offset, int history_length);
|
| void OnSetInitialFocus(bool reverse);
|
| void OnSetPageEncoding(const std::string& encoding_name);
|
| void OnSetRendererPrefs(const RendererPreferences& renderer_prefs);
|
| @@ -732,12 +730,6 @@ class CONTENT_EXPORT RenderViewImpl
|
| // Returns NULL if there is no such WebPlugin.
|
| blink::WebPlugin* GetWebPluginForFind();
|
|
|
| - // Returns true if the |params| navigation is to an entry that has been
|
| - // cropped due to a recent navigation the browser did not know about.
|
| - bool IsBackForwardToStaleEntry(const PageState& state,
|
| - int pending_history_list_offset,
|
| - int32 page_id,
|
| - bool is_reload);
|
|
|
| // If we initiated a navigation, this function will populate |document_state|
|
| // with the navigation information saved in OnNavigate().
|
| @@ -904,12 +896,6 @@ class CONTENT_EXPORT RenderViewImpl
|
| // are gone.
|
| int frames_in_progress_;
|
|
|
| - // The list of page IDs for each history item this RenderView knows about.
|
| - // Some entries may be -1 if they were rendered by other processes or were
|
| - // restored from a previous session. This lets us detect attempts to
|
| - // navigate to stale entries that have been cropped from our history.
|
| - std::vector<int32> history_page_ids_;
|
| -
|
| // UI state ------------------------------------------------------------------
|
|
|
| // The state of our target_url transmissions. When we receive a request to
|
|
|