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

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

Issue 1411203010: Separate RenderViewHost from RenderWidgetHost, part 4: delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: oops Created 5 years, 2 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/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 5889857b36b40ff33bd62790fb931cfecb8eaa37..89594c803866cad62f8f3ad4fef0973ac7baae95 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -16,6 +16,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/process/kill.h"
#include "content/browser/renderer_host/render_widget_host_impl.h"
+#include "content/browser/renderer_host/render_widget_host_owner_delegate.h"
#include "content/browser/site_instance_impl.h"
#include "content/common/drag_event_source_info.h"
#include "content/public/browser/notification_observer.h"
@@ -49,8 +50,8 @@ class AXTree;
namespace content {
-class MediaWebContentsObserver;
class ChildProcessSecurityPolicyImpl;
+class MediaWebContentsObserver;
class PageState;
class RenderWidgetHostDelegate;
class SessionStorageNamespace;
@@ -95,6 +96,7 @@ struct FrameReplicationState;
// http://www.chromium.org/developers/design-documents/site-isolation.
class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
RenderWidgetHostImpl,
+ public RenderWidgetHostOwnerDelegate,
public RenderProcessHostObserver {
public:
// Convenience function, just like RenderViewHost::FromID.
@@ -280,7 +282,6 @@ class CONTENT_EXPORT RenderViewHostImpl : public RenderViewHost,
void Shutdown() override;
void WasHidden() override;
void WasShown(const ui::LatencyInfo& latency_info) override;
- bool IsRenderView() const override;
bool OnMessageReceived(const IPC::Message& msg) override;
void GotFocus() override;
void LostCapture() override;

Powered by Google App Engine
This is Rietveld 408576698