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

Unified Diff: content/browser/web_contents/render_view_host_manager.h

Issue 10038026: TabContents -> WebContentsImpl, part 12. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: *web*contents Created 8 years, 8 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/web_contents/render_view_host_manager.h
diff --git a/content/browser/web_contents/render_view_host_manager.h b/content/browser/web_contents/render_view_host_manager.h
index d0c9232d7f64d89c22bc40559c3fc1e10db4f75e..04825c5250076f499624aa33135e349ea6e49fc7 100644
--- a/content/browser/web_contents/render_view_host_manager.h
+++ b/content/browser/web_contents/render_view_host_manager.h
@@ -29,7 +29,7 @@ class RenderWidgetHostView;
class TestWebContents;
}
-// Manages RenderViewHosts for a TabContents. Normally there is only one and
+// Manages RenderViewHosts for a WebContentsImpl. Normally there is only one and
// it is easy to do. But we can also have transitions of processes (and hence
// RenderViewHosts) that can get complex.
class CONTENT_EXPORT RenderViewHostManager
@@ -38,18 +38,18 @@ class CONTENT_EXPORT RenderViewHostManager
public:
// Functions implemented by our owner that we need.
//
- // TODO(brettw) Clean this up! These are all the functions in TabContents that
- // are required to run this class. The design should probably be better such
- // that these are more clear.
+ // TODO(brettw) Clean this up! These are all the functions in WebContentsImpl
+ // that are required to run this class. The design should probably be better
+ // such that these are more clear.
//
// There is additional complexity that some of the functions we need in
- // TabContents are inherited and non-virtual. These are named with
+ // WebContentsImpl are inherited and non-virtual. These are named with
// "RenderManager" so that the duplicate implementation of them will be clear.
class CONTENT_EXPORT Delegate {
public:
// Initializes the given renderer if necessary and creates the view ID
// corresponding to this view host. If this method is not called and the
- // process is not shared, then the TabContents will act as though the
+ // process is not shared, then the WebContentsImpl will act as though the
// renderer is not running (i.e., it will render "sad tab"). This method is
// automatically called from LoadURL.
//
@@ -101,7 +101,7 @@ class CONTENT_EXPORT RenderViewHostManager
Delegate* delegate);
virtual ~RenderViewHostManager();
- // For arguments, see TabContents constructor.
+ // For arguments, see WebContentsImpl constructor.
void Init(content::BrowserContext* browser_context,
content::SiteInstance* site_instance,
int routing_id);

Powered by Google App Engine
This is Rietveld 408576698