Index: content/browser/loader/resource_dispatcher_host_impl.h |
diff --git a/content/browser/loader/resource_dispatcher_host_impl.h b/content/browser/loader/resource_dispatcher_host_impl.h |
index 269af9215f943228470130f189116c1b93a1381d..7cb177180642333a5c6362141eabe965c1c13ef3 100644 |
--- a/content/browser/loader/resource_dispatcher_host_impl.h |
+++ b/content/browser/loader/resource_dispatcher_host_impl.h |
@@ -164,11 +164,17 @@ class CONTENT_EXPORT ResourceDispatcherHostImpl |
} |
// Called when a RenderViewHost is created. |
- void OnRenderViewHostCreated(int child_id, int route_id); |
+ void OnRenderViewHostCreated(int child_id, int route_id, bool is_visible); |
// Called when a RenderViewHost is deleted. |
void OnRenderViewHostDeleted(int child_id, int route_id); |
+ // Called when a RenderViewHost is hidden. |
+ void OnRenderViewHostWasHidden(int child_id, int route_id); |
+ |
+ // Called when a RenderViewHost is shown. |
+ void OnRenderViewHostWasShown(int child_id, int route_id); |
+ |
// Force cancels any pending requests for the given process. |
void CancelRequestsForProcess(int child_id); |