diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 21:36:20 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-16 21:36:20 +0000 |
commit | ca11e335df5305cdb46cfa8f27091cf9d70fb5b6 (patch) | |
tree | fad3b3bb9fc3dda3290818f0c7029db09d45eee1 /chrome/browser/tab_contents/test_tab_contents.cc | |
parent | 4a879f60ee8a75b1e6a2d9456d6fe762e87bb70d (diff) | |
download | chromium_src-ca11e335df5305cdb46cfa8f27091cf9d70fb5b6.zip chromium_src-ca11e335df5305cdb46cfa8f27091cf9d70fb5b6.tar.gz chromium_src-ca11e335df5305cdb46cfa8f27091cf9d70fb5b6.tar.bz2 |
Rename test_web_contents.* to test_tab_contents.*
Just a small cleanup.
Review URL: http://codereview.chromium.org/206037
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26396 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/tab_contents/test_tab_contents.cc')
-rw-r--r-- | chrome/browser/tab_contents/test_tab_contents.cc | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chrome/browser/tab_contents/test_tab_contents.cc b/chrome/browser/tab_contents/test_tab_contents.cc new file mode 100644 index 0000000..97643f3 --- /dev/null +++ b/chrome/browser/tab_contents/test_tab_contents.cc @@ -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/tab_contents/test_tab_contents.h" + +#include "chrome/browser/renderer_host/test/test_render_view_host.h" + +TestTabContents::TestTabContents(Profile* profile, SiteInstance* instance) + : TabContents(profile, instance, MSG_ROUTING_NONE, NULL), + transition_cross_site(false) { +} + +TestRenderViewHost* TestTabContents::pending_rvh() { + return static_cast<TestRenderViewHost*>( + render_manager_.pending_render_view_host_); +} |