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

Unified Diff: content/public/test/web_contents_tester.h

Issue 701953006: PlzNavigate: Speculatively spawns a renderer process for navigations. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 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/public/test/web_contents_tester.h
diff --git a/content/public/test/web_contents_tester.h b/content/public/test/web_contents_tester.h
index 24953ed9c258111a4428ac22d0fee1d09a4b2981..ee3d883d726abd71172757782f5d112c1437e1d1 100644
--- a/content/public/test/web_contents_tester.h
+++ b/content/public/test/web_contents_tester.h
@@ -62,6 +62,8 @@ class WebContentsTester {
// Gets the pending RenderFrameHost, if any, for the main frame. For the
// current RenderFrameHost of the main frame, use WebContents::GetMainFrame().
+ // PlzNavigate: When browser side navigation is enabled it returns the
+ // speculative RenderFrameHost for the main frame if one exists.
virtual RenderFrameHost* GetPendingMainFrame() const = 0;
// Creates a pending navigation to the given URL with the default parameters

Powered by Google App Engine
This is Rietveld 408576698