TabContents -> WebContentsImpl, part 12.
"Detab" content/browser/web_contents.
BUG=105875
TEST=no change
Review URL: http://codereview.chromium.org/10038026
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@132257 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/web_contents/test_web_contents.h b/content/browser/web_contents/test_web_contents.h
index fb0ef7a8..7267cab1 100644
--- a/content/browser/web_contents/test_web_contents.h
+++ b/content/browser/web_contents/test_web_contents.h
@@ -19,9 +19,9 @@
class TestRenderViewHost;
class WebContentsTester;
-// Subclass TabContents to ensure it creates TestRenderViewHosts
+// Subclass WebContentsImpl to ensure it creates TestRenderViewHosts
// and does not do anything involving views.
-class TestWebContents : public TabContents, public WebContentsTester {
+class TestWebContents : public WebContentsImpl, public WebContentsTester {
public:
TestWebContents(BrowserContext* browser_context, SiteInstance* instance);
virtual ~TestWebContents();
@@ -50,8 +50,8 @@
return render_manager_.cross_navigation_pending_;
}
- // Overrides TabContents::ShouldTransitionCrossSite so that we can test both
- // alternatives without using command-line switches.
+ // Overrides WebContentsImpl::ShouldTransitionCrossSite so that we can test
+ // both alternatives without using command-line switches.
bool ShouldTransitionCrossSite() { return transition_cross_site; }
// Prevent interaction with views.