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

Unified Diff: content/browser/renderer_host/mock_render_process_host.h

Issue 6927014: Avoid exiting the renderer process if it has a pending render view. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix pre-render issue. Created 9 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
Index: content/browser/renderer_host/mock_render_process_host.h
diff --git a/content/browser/renderer_host/mock_render_process_host.h b/content/browser/renderer_host/mock_render_process_host.h
index 0e7656cd6e3b35aa82f6e1c72be6215c7b4beca4..b724c677713e57c623c4b02e08f47e9d3f5ecf60 100644
--- a/content/browser/renderer_host/mock_render_process_host.h
+++ b/content/browser/renderer_host/mock_render_process_host.h
@@ -47,6 +47,9 @@ class MockRenderProcessHost : public RenderProcessHost {
virtual void WidgetRestored();
virtual void WidgetHidden();
virtual int VisibleWidgetCount() const;
+ virtual void AddPendingView();
+ virtual void RemovePendingView();
+ virtual int PendingViewCount() const;
virtual void AddWord(const string16& word);
virtual bool FastShutdownIfPossible();
virtual bool SendWithTimeout(IPC::Message* msg, int timeout_ms);

Powered by Google App Engine
This is Rietveld 408576698