| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 6 #define CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <map> | 9 #include <map> |
| 10 #include <queue> | 10 #include <queue> |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 virtual void RemovePendingView() OVERRIDE; | 88 virtual void RemovePendingView() OVERRIDE; |
| 89 virtual void SetSuddenTerminationAllowed(bool enabled) OVERRIDE; | 89 virtual void SetSuddenTerminationAllowed(bool enabled) OVERRIDE; |
| 90 virtual bool SuddenTerminationAllowed() const OVERRIDE; | 90 virtual bool SuddenTerminationAllowed() const OVERRIDE; |
| 91 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; | 91 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; |
| 92 virtual RenderWidgetHostsIterator GetRenderWidgetHostsIterator() OVERRIDE; | 92 virtual RenderWidgetHostsIterator GetRenderWidgetHostsIterator() OVERRIDE; |
| 93 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; | 93 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; |
| 94 virtual bool FastShutdownStarted() const OVERRIDE; | 94 virtual bool FastShutdownStarted() const OVERRIDE; |
| 95 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; | 95 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; |
| 96 virtual void SurfaceUpdated(int32 surface_id) OVERRIDE; | 96 virtual void SurfaceUpdated(int32 surface_id) OVERRIDE; |
| 97 | 97 |
| 98 // IPC::Channel::Sender via RenderProcessHost. | 98 // IPC::Sender via RenderProcessHost. |
| 99 virtual bool Send(IPC::Message* msg) OVERRIDE; | 99 virtual bool Send(IPC::Message* msg) OVERRIDE; |
| 100 | 100 |
| 101 // IPC::Channel::Listener via RenderProcessHost. | 101 // IPC::Listener via RenderProcessHost. |
| 102 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 102 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
| 103 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 103 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
| 104 virtual void OnChannelError() OVERRIDE; | 104 virtual void OnChannelError() OVERRIDE; |
| 105 | 105 |
| 106 // ChildProcessLauncher::Client implementation. | 106 // ChildProcessLauncher::Client implementation. |
| 107 virtual void OnProcessLaunched() OVERRIDE; | 107 virtual void OnProcessLaunched() OVERRIDE; |
| 108 | 108 |
| 109 // base::WaitableEventWatcher::Delegate implementation. | 109 // base::WaitableEventWatcher::Delegate implementation. |
| 110 virtual void OnWaitableEventSignaled( | 110 virtual void OnWaitableEventSignaled( |
| 111 base::WaitableEvent* waitable_event) OVERRIDE; | 111 base::WaitableEvent* waitable_event) OVERRIDE; |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 | 261 |
| 262 // Records the last time we regarded the child process active. | 262 // Records the last time we regarded the child process active. |
| 263 base::TimeTicks child_process_activity_time_; | 263 base::TimeTicks child_process_activity_time_; |
| 264 | 264 |
| 265 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 265 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 266 }; | 266 }; |
| 267 | 267 |
| 268 } // namespace content | 268 } // namespace content |
| 269 | 269 |
| 270 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 270 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |