// Copyright (c) 2009 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "chrome/browser/tab_contents/test_web_contents.h" #include "chrome/browser/renderer_host/test_render_view_host.h" TestWebContents::TestWebContents(Profile* profile, SiteInstance* instance, RenderViewHostFactory* rvh_factory) : WebContents(profile, instance, rvh_factory, MSG_ROUTING_NONE, NULL), transition_cross_site(false) { } TestRenderViewHost* TestWebContents::pending_rvh() { return static_cast( render_manager_.pending_render_view_host_); }