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

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

Issue 14283005: Allow showing pending URL for new tab navigations, but only if safe. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 7 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 92ee8aff42b931ea10449514535b4031fd6761e1..f55f28c652d2698a61218c6534065699deba0fb5 100644
--- a/content/browser/web_contents/navigation_controller_impl.h
+++ b/content/browser/web_contents/navigation_controller_impl.h
@@ -121,6 +121,10 @@ class CONTENT_EXPORT NavigationControllerImpl
// For use by WebContentsImpl ------------------------------------------------
+ // Allow renderer-initiated navigations to create a pending entry when the
+ // provisional load starts.
+ void SetPendingEntry(content::NavigationEntryImpl* entry);
+
// Handles updating the navigation state after the renderer has navigated.
// This is used by the WebContentsImpl.
//

Powered by Google App Engine
This is Rietveld 408576698