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

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

Issue 1453803002: Separate RenderViewHost from RenderWidgetHost, part 10: shutdown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: nick's nits Created 5 years 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/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index d966e5eefe71b8ae66ea259b472044379185d103..84b4c6334e19dc799c424f6fe1924e739f5843d7 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -125,6 +125,9 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
bool has_initialized_audio_host);
~RenderViewHostImpl() override;
+ // Shuts down this RenderViewHost and deletes it.
+ void ShutdownAndDestroy();
+
// RenderViewHost implementation.
bool Send(IPC::Message* msg) override;
RenderWidgetHostImpl* GetWidget() const override;
@@ -278,7 +281,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
}
// RenderWidgetHost public overrides.
- void Shutdown() override;
bool OnMessageReceived(const IPC::Message& msg) override;
// Creates a new RenderView with the given route id.
« no previous file with comments | « content/browser/frame_host/render_frame_host_impl.cc ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698