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

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 and one more round of CR work. Created 6 years 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..5a586319794a487bc5a8437458507571e5e3934f 100644
--- a/content/public/test/web_contents_tester.h
+++ b/content/public/test/web_contents_tester.h
@@ -64,6 +64,9 @@ class WebContentsTester {
// current RenderFrameHost of the main frame, use WebContents::GetMainFrame().
virtual RenderFrameHost* GetPendingMainFrame() const = 0;
+ // Gets the speculative RenderFrameHost, if any, for the main frame.
clamy 2014/12/19 13:35:57 Please preface this with a PlzNavigate comment. Al
nasko 2014/12/20 00:09:09 This definitely should not be exposed through publ
carlosk 2014/12/29 16:40:16 I added it to the public API because there is alre
+ virtual RenderFrameHost* GetSpeculativeMainFrame() const = 0;
+
// Creates a pending navigation to the given URL with the default parameters
// and then commits the load with a page ID one larger than any seen. This
// emulates what happens on a new navigation.

Powered by Google App Engine
This is Rietveld 408576698