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

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: Rebase. Created 7 years, 10 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 62101eb1ca3661ba08763d3c79dd39253d8c8b16..11234428196fa9017110132866927ea03898adec 100644
--- a/content/browser/web_contents/navigation_controller_impl.h
+++ b/content/browser/web_contents/navigation_controller_impl.h
@@ -55,6 +55,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,
@@ -111,17 +112,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 {
« no previous file with comments | « chrome/browser/instant/instant_overlay.h ('k') | content/browser/web_contents/navigation_controller_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698