| Index: content/browser/renderer_host/render_process_host_impl.h
|
| diff --git a/content/browser/renderer_host/render_process_host_impl.h b/content/browser/renderer_host/render_process_host_impl.h
|
| index 5f528b1c491377884b78673a405e88c1fea24d69..e495bd61d94d3ecda2bd29cfc21f58995ee30dfc 100644
|
| --- a/content/browser/renderer_host/render_process_host_impl.h
|
| +++ b/content/browser/renderer_host/render_process_host_impl.h
|
| @@ -76,6 +76,8 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| virtual void EnableSendQueue() OVERRIDE;
|
| virtual bool Init() OVERRIDE;
|
| virtual int GetNextRoutingID() OVERRIDE;
|
| + virtual void AddRoute(int32 routing_id, IPC::Listener* listener) OVERRIDE;
|
| + virtual void RemoveRoute(int32 routing_id) OVERRIDE;
|
| virtual void SimulateSwapOutACK(const ViewMsg_SwapOut_Params& params)
|
| OVERRIDE;
|
| virtual bool WaitForBackingStoreMsg(int render_widget_id,
|
| @@ -97,20 +99,17 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| StoragePartition* partition) const OVERRIDE;
|
| virtual int GetID() const OVERRIDE;
|
| virtual bool HasConnection() const OVERRIDE;
|
| - virtual RenderWidgetHost* GetRenderWidgetHostByID(int routing_id)
|
| - OVERRIDE;
|
| virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE;
|
| virtual bool IgnoreInputEvents() const OVERRIDE;
|
| - virtual void Attach(RenderWidgetHost* host, int routing_id)
|
| - OVERRIDE;
|
| - virtual void Release(int routing_id) OVERRIDE;
|
| + //virtual void Attach(RenderWidgetHost* host, int routing_id)
|
| + // OVERRIDE;
|
| + //virtual void Release(int routing_id) OVERRIDE;
|
| virtual void Cleanup() OVERRIDE;
|
| virtual void AddPendingView() OVERRIDE;
|
| virtual void RemovePendingView() OVERRIDE;
|
| virtual void SetSuddenTerminationAllowed(bool enabled) OVERRIDE;
|
| virtual bool SuddenTerminationAllowed() const OVERRIDE;
|
| virtual IPC::ChannelProxy* GetChannel() OVERRIDE;
|
| - virtual RenderWidgetHostsIterator GetRenderWidgetHostsIterator() OVERRIDE;
|
| virtual bool FastShutdownForPageCount(size_t count) OVERRIDE;
|
| virtual bool FastShutdownStarted() const OVERRIDE;
|
| virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE;
|
| @@ -189,10 +188,6 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
| // browser_process.h)
|
| scoped_ptr<IPC::ChannelProxy> channel_;
|
|
|
| - // The registered render widget hosts. When this list is empty or all NULL,
|
| - // we should delete ourselves
|
| - IDMap<RenderWidgetHost> render_widget_hosts_;
|
| -
|
| // True if fast shutdown has been performed on this RPH.
|
| bool fast_shutdown_started_;
|
|
|
| @@ -239,6 +234,9 @@ class CONTENT_EXPORT RenderProcessHostImpl
|
|
|
| virtual void OnGpuSwitching() OVERRIDE;
|
|
|
| +
|
| + IDMap<IPC::Listener> listeners_;
|
| +
|
| // The count of currently visible widgets. Since the host can be a container
|
| // for multiple widgets, it uses this count to determine when it should be
|
| // backgrounded.
|
|
|