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

Unified Diff: content/browser/web_contents/navigation_controller_impl.h

Issue 12001002: InstantExtended: Transient naventry for preview. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Save old transient entry; update URL. Created 7 years, 11 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: content/browser/web_contents/navigation_controller_impl.h
diff --git a/content/browser/web_contents/navigation_controller_impl.h b/content/browser/web_contents/navigation_controller_impl.h
index 24b46eb33a18e507950516f6f06674195d6c7ed5..70d512821f354e9bc5f58c246bcce4e47dc57038 100644
--- a/content/browser/web_contents/navigation_controller_impl.h
+++ b/content/browser/web_contents/navigation_controller_impl.h
@@ -58,6 +58,7 @@ class CONTENT_EXPORT NavigationControllerImpl
virtual NavigationEntry* GetPendingEntry() const OVERRIDE;
virtual int GetPendingEntryIndex() const OVERRIDE;
virtual NavigationEntry* GetTransientEntry() const OVERRIDE;
+ virtual void AddTransientEntry(NavigationEntry* entry) OVERRIDE;
virtual void LoadURL(const GURL& url,
const Referrer& referrer,
PageTransition type,
@@ -113,17 +114,6 @@ class CONTENT_EXPORT NavigationControllerImpl
SiteInstance* instance,
int32 page_id) const;
- // Transient entry -----------------------------------------------------------
-
- // Adds an entry that is returned by GetActiveEntry(). The entry is
- // transient: any navigation causes it to be removed and discarded.
- // The NavigationController becomes the owner of |entry| and deletes it when
- // it discards it. This is useful with interstitial page that need to be
- // represented as an entry, but should go away when the user navigates away
- // from them.
- // Note that adding a transient entry does not change the active contents.
- void AddTransientEntry(NavigationEntryImpl* entry);
-
// WebContentsImpl -----------------------------------------------------------
WebContentsImpl* web_contents() const {

Powered by Google App Engine
This is Rietveld 408576698