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

Unified Diff: content/browser/renderer_host/test_render_view_host.h

Issue 9706012: Add abstractions that let embedders drive tests of WebContents. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove CONTENT_EXPORT on statically linked functions. Merge to head for commit. Created 8 years, 9 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/renderer_host/test_render_view_host.h
diff --git a/content/browser/renderer_host/test_render_view_host.h b/content/browser/renderer_host/test_render_view_host.h
index 298761e323d553ddf7b532871793e68da418a867..2803e538cf2e1f271d580512bb421be0c3da55d7 100644
--- a/content/browser/renderer_host/test_render_view_host.h
+++ b/content/browser/renderer_host/test_render_view_host.h
@@ -19,20 +19,19 @@
// NavigationController, and other layers above that without running an actual
// renderer process.
//
-// To use, derive your test base class from RenderViewHostTestHarness.
+// To use, derive your test base class from RenderViewHostImplTestHarness.
-namespace content {
-class SiteInstance;
-}
+class TestTabContents;
+struct ViewHostMsg_FrameNavigate_Params;
namespace gfx {
class Rect;
}
-struct ViewHostMsg_FrameNavigate_Params;
-
namespace content {
+class SiteInstance;
+
// Utility function to initialize ViewHostMsg_NavigateParams_Params
// with given |page_id|, |url| and |transition_type|.
void InitNavigateParams(ViewHostMsg_FrameNavigate_Params* params,
@@ -310,6 +309,7 @@ class RenderViewHostImplTestHarness : public RenderViewHostTestHarness {
TestRenderViewHost* test_rvh();
TestRenderViewHost* pending_test_rvh();
TestRenderViewHost* active_test_rvh();
+ TestTabContents* contents();
private:
DISALLOW_COPY_AND_ASSIGN(RenderViewHostImplTestHarness);

Powered by Google App Engine
This is Rietveld 408576698