Index: content/browser/web_contents/test_web_contents.h |
diff --git a/content/browser/web_contents/test_web_contents.h b/content/browser/web_contents/test_web_contents.h |
index 7267cab110354b1421c86c812138d4eaa5ea0ffe..c862d62c7e39482ce96a439575733c01b802bd7a 100644 |
--- a/content/browser/web_contents/test_web_contents.h |
+++ b/content/browser/web_contents/test_web_contents.h |
@@ -56,7 +56,7 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
// Prevent interaction with views. |
virtual bool CreateRenderViewForRenderManager( |
- RenderViewHost* render_view_host) OVERRIDE; |
+ RenderViewHost* render_view_host, int opener_route_id) OVERRIDE; |
virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE {} |
// Returns a clone of this TestWebContents. The returned object is also a |
@@ -72,6 +72,9 @@ class TestWebContents : public WebContentsImpl, public WebContentsTester { |
delegate_view_override_ = view; |
} |
+ // Allows us to simulate this tab having an opener. |
+ void SetOpener(TestWebContents* opener); |
+ |
// Establish expected arguments for |SetHistoryLengthAndPrune()|. When |
// |SetHistoryLengthAndPrune()| is called, the arguments are compared |
// with the expected arguments specified here. |