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

Unified Diff: chrome/browser/tab_contents/background_contents.h

Issue 6226002: Blow away BackgroundContents when RenderView goes away. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/chrome
Patch Set: Removed queueing code in unit test Created 9 years, 11 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/background_contents_service.h ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/background_contents.h
diff --git a/chrome/browser/tab_contents/background_contents.h b/chrome/browser/tab_contents/background_contents.h
index ad57800164973e38d27c4e82c7baa8da172febf8..3ced642020ec04055033ff3716649df8e95bc849 100644
--- a/chrome/browser/tab_contents/background_contents.h
+++ b/chrome/browser/tab_contents/background_contents.h
@@ -75,6 +75,9 @@ class BackgroundContents : public RenderViewHostDelegate,
bool* did_suppress_message);
virtual void Close(RenderViewHost* render_view_host);
virtual RendererPreferences GetRendererPrefs(Profile* profile) const;
+ virtual void RenderViewGone(RenderViewHost* rvh,
+ base::TerminationStatus status,
+ int error_code);
// RenderViewHostDelegate::View
virtual void CreateNewWindow(
« no previous file with comments | « chrome/browser/background_contents_service.h ('k') | chrome/browser/tab_contents/background_contents.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698