Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(6959)

Unified Diff: chrome/browser/tab_contents/navigation_controller.h

Issue 67150: Make the Go Back navigation work even when redirection is involved.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/tab_contents/navigation_controller.h
===================================================================
--- chrome/browser/tab_contents/navigation_controller.h (revision 14058)
+++ chrome/browser/tab_contents/navigation_controller.h (working copy)
@@ -428,6 +428,15 @@
// The new entry will become the active one.
void InsertEntry(NavigationEntry* entry);
+ // Replaces the current entry with a new one, removing all entries after it.
+ // The new entry will become the active one.
+ void ReplaceCurrentEntry(NavigationEntry* entry);
+
+ // Inserts a new entry or replaces the current entry with a new one, removing
+ // all entries after it. The new entry will become the active one.
+ void InsertOrReplaceEntry(NavigationEntry* entry,
+ bool replace);
+
// Discards the pending and transient entries.
void DiscardNonCommittedEntriesInternal();

Powered by Google App Engine
This is Rietveld 408576698