| Index: chrome/browser/tab_contents/test_web_contents.cc
|
| ===================================================================
|
| --- chrome/browser/tab_contents/test_web_contents.cc (revision 0)
|
| +++ chrome/browser/tab_contents/test_web_contents.cc (revision 0)
|
| @@ -0,0 +1,17 @@
|
| +// 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/renderer_host/test_render_view_host.h"
|
| +#include "chrome/browser/tab_contents/test_web_contents.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<TestRenderViewHost*>(
|
| + render_manager_.pending_render_view_host_);
|
| +}
|
|
|