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. |