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

Unified Diff: content/browser/tab_contents/test_tab_contents.h

Issue 9600036: Move Render(View|Widget)Host and associated classes to content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. 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/tab_contents/test_tab_contents.h
diff --git a/content/browser/tab_contents/test_tab_contents.h b/content/browser/tab_contents/test_tab_contents.h
index 7f3a073ed1fdd6586fd46f3082afd0e0411ab211..9842038b89f3f383b2c8b3e97b68237ef6f50d29 100644
--- a/content/browser/tab_contents/test_tab_contents.h
+++ b/content/browser/tab_contents/test_tab_contents.h
@@ -11,7 +11,10 @@
#include "webkit/glue/webpreferences.h"
class SiteInstanceImpl;
+
+namespace content {
class TestRenderViewHost;
+}
// Subclass TabContents to ensure it creates TestRenderViewHosts and does
// not do anything involving views.
@@ -21,7 +24,7 @@ class TestTabContents : public TabContents {
content::SiteInstance* instance);
virtual ~TestTabContents();
- TestRenderViewHost* pending_rvh() const;
+ content::TestRenderViewHost* pending_rvh() const;
// State accessor.
bool cross_navigation_pending() {
@@ -32,11 +35,11 @@ class TestTabContents : public TabContents {
// alternatives without using command-line switches.
bool ShouldTransitionCrossSite() { return transition_cross_site; }
- void TestDidNavigate(RenderViewHost* render_view_host,
+ void TestDidNavigate(content::RenderViewHost* render_view_host,
int page_id,
const GURL& url,
content::PageTransition transition);
- void TestDidNavigateWithReferrer(RenderViewHost* render_view_host,
+ void TestDidNavigateWithReferrer(content::RenderViewHost* render_view_host,
int page_id,
const GURL& url,
const content::Referrer& referrer,
@@ -49,7 +52,7 @@ class TestTabContents : public TabContents {
// Prevent interaction with views.
virtual bool CreateRenderViewForRenderManager(
- RenderViewHost* render_view_host) OVERRIDE;
+ content::RenderViewHost* render_view_host) OVERRIDE;
virtual void UpdateRenderViewSizeForRenderManager() OVERRIDE {}
// Returns a clone of this TestTabContents. The returned object is also a
« no previous file with comments | « content/browser/tab_contents/tab_contents_view_win.cc ('k') | content/browser/tab_contents/test_tab_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698