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

Unified Diff: chrome/browser/prerender/prerender_contents.h

Issue 10107002: TabContents -> WebContentsImpl, part 18. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/prerender/prerender_contents.h
diff --git a/chrome/browser/prerender/prerender_contents.h b/chrome/browser/prerender/prerender_contents.h
index 2463ed91b7ce594a99f771c23b197a36065392da..feeb4f43963a6aa7540be0fadf9c17b8e5686e73 100644
--- a/chrome/browser/prerender/prerender_contents.h
+++ b/chrome/browser/prerender/prerender_contents.h
@@ -40,11 +40,6 @@ class PrerenderManager;
class PrerenderRenderViewHostObserver;
class PrerenderTracker;
-// This class is a peer of TabContents. It can host a renderer, but does not
-// have any visible display. Its navigation is not managed by a
-// NavigationController because is has no facility for navigating (other than
-// programatically view window.location.href) or RenderViewHostManager because
-// it is never allowed to navigate across a SiteInstance boundary.
class PrerenderContents : public content::NotificationObserver,
public content::WebContentsObserver {
public:
@@ -187,7 +182,7 @@ class PrerenderContents : public content::NotificationObserver,
// Adds all alias URLs from another prerender.
void AddAliasURLsFromOtherPrerenderContents(PrerenderContents* other_pc);
- // The preview TabContents (may be null).
+ // The preview TabContentsWrapper (may be null).
TabContentsWrapper* prerender_contents() const {
return prerender_contents_.get();
}
@@ -282,7 +277,7 @@ class PrerenderContents : public content::NotificationObserver,
// RenderViewHostDelegate has received from the RenderView.
// Used to apply to the new RenderViewHost delegate that might eventually
// own the contained RenderViewHost when the prerendered page is shown
- // in a TabContents.
+ // in a WebContents.
string16 title_;
int32 page_id_;
GURL url_;
@@ -323,7 +318,7 @@ class PrerenderContents : public content::NotificationObserver,
// RenderViewHost for this object.
scoped_ptr<base::ProcessMetrics> process_metrics_;
- // The prerendered TabContents; may be null.
+ // The prerendered TabContentsWrapper; may be null.
scoped_ptr<TabContentsWrapper> prerender_contents_;
scoped_ptr<PrerenderRenderViewHostObserver> render_view_host_observer_;
« no previous file with comments | « chrome/browser/prerender/prerender_browsertest.cc ('k') | chrome/browser/prerender/prerender_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698