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

Unified Diff: chrome/browser/renderer_host/render_view_host_delegate.h

Issue 150069: Move RenderViewHostManager back to tab_contents. Moving it to renderer_host... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 6 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 | « no previous file | chrome/browser/renderer_host/render_view_host_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_view_host_delegate.h
===================================================================
--- chrome/browser/renderer_host/render_view_host_delegate.h (revision 19906)
+++ chrome/browser/renderer_host/render_view_host_delegate.h (working copy)
@@ -24,6 +24,7 @@
class Profile;
class RenderProcessHost;
class RenderViewHost;
+class ResourceRequestDetails;
class SkBitmap;
class TabContents;
class WebKeyboardEvent;
@@ -221,11 +222,30 @@
bool is_main_frame,
const GURL& url) { }
+ // Notification by the resource loading system (not the renderer) that it has
+ // started receiving a resource response. This is different than
+ // DidStartProvisionalLoadForFrame above because this is called for every
+ // resource (images, automatically loaded subframes, etc.) and provisional
+ // loads are only for user-initiated navigations.
+ //
+ // The pointer ownership is NOT transferred.
+ virtual void DidStartReceivingResourceResponse(
+ ResourceRequestDetails* details) {}
+
// Sent when a provisional load is redirected.
virtual void DidRedirectProvisionalLoad(int32 page_id,
const GURL& source_url,
const GURL& target_url) { }
+ // Notification by the resource loading system (not the renderer) that a
+ // resource was redirected. This is different than DidRedirectProvisionalLoad
+ // above because this is called for every resource (images, automatically
+ // loaded subframes, etc.) and provisional loads are only for user-initiated
+ // navigations.
+ //
+ // The pointer ownership is NOT transferred.
+ virtual void DidRedirectResource(ResourceRequestDetails* details) {}
+
// The RenderView loaded a resource from an in-memory cache.
// |security_info| contains the security info if this resource was originally
// loaded over a secure connection.
« no previous file with comments | « no previous file | chrome/browser/renderer_host/render_view_host_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698