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

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: Created 5 years, 1 month 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..73fef03fca0bd737dff04060b55259cfcf633e5c 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -105,6 +105,8 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
// Convenience function, just like RenderViewHost::From.
static RenderViewHostImpl* From(RenderWidgetHost* rwh);
+ void ShutdownAndDestroy();
+
// |routing_id| must be a valid route id. |swapped_out| indicates
// whether the view should initially be swapped out (e.g., for an opener
// frame being rendered by another process). |hidden| indicates whether the
@@ -278,7 +280,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.

Powered by Google App Engine
This is Rietveld 408576698