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

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

Issue 10171018: Create swapped-out opener RVHs after a process swap. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove parameter comments. Created 8 years, 8 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/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.
« no previous file with comments | « content/browser/web_contents/render_view_host_manager_unittest.cc ('k') | content/browser/web_contents/test_web_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698