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

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

Issue 10978016: Remove two functions on WebContentsDelegate which didn't belong in content. They were only called f… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: nits and fixed prerender browser tests Created 8 years, 3 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: chrome/browser/prerender/prerender_manager.h
===================================================================
--- chrome/browser/prerender/prerender_manager.h (revision 158566)
+++ chrome/browser/prerender/prerender_manager.h (working copy)
@@ -182,6 +182,11 @@
// is prerendering a page.
bool IsWebContentsPrerendering(content::WebContents* web_contents) const;
+ // Returns the PrerenderContents object for the given web_contents if it's
+ // used for an active prerender page, otherwise returns NULL.
+ PrerenderContents* GetPrerenderContents(
+ content::WebContents* web_contents) const;
+
// Maintaining and querying the set of WebContents belonging to this
// PrerenderManager that are currently showing prerendered pages.
void MarkWebContentsAsPrerendered(content::WebContents* web_contents);

Powered by Google App Engine
This is Rietveld 408576698