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 bool FastShutdownForPageCount(size_t count) OVERRIDE; | 88 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; |
89 virtual bool FastShutdownStarted() const OVERRIDE; | 89 virtual bool FastShutdownStarted() const OVERRIDE; |
90 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; | 90 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; |
91 | 91 |
92 // IPC::Channel::Sender via RenderProcessHost. | 92 // IPC::Channel::Sender via RenderProcessHost. |
93 virtual bool Send(IPC::Message* msg) OVERRIDE; | 93 virtual bool Send(IPC::Message* msg) OVERRIDE; |
94 | 94 |
95 // IPC::Channel::Listener via RenderProcessHost. | 95 // IPC::Channel::Listener via RenderProcessHost. |
96 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; | 96 virtual bool OnMessageReceived(const IPC::Message& msg) OVERRIDE; |
97 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; | 97 virtual void OnChannelConnected(int32 peer_pid) OVERRIDE; |
98 virtual enum foo OnChannelError() OVERRIDE; | 98 virtual void OnChannelError() OVERRIDE; |
99 | 99 |
100 // ChildProcessLauncher::Client implementation. | 100 // ChildProcessLauncher::Client implementation. |
101 virtual void OnProcessLaunched() OVERRIDE; | 101 virtual void OnProcessLaunched() OVERRIDE; |
102 | 102 |
103 // base::WaitableEventWatcher::Delegate implementation. | 103 // base::WaitableEventWatcher::Delegate implementation. |
104 virtual void OnWaitableEventSignaled( | 104 virtual void OnWaitableEventSignaled( |
105 base::WaitableEvent* waitable_event) OVERRIDE; | 105 base::WaitableEvent* waitable_event) OVERRIDE; |
106 | 106 |
107 // Call this function when it is evident that the child process is actively | 107 // Call this function when it is evident that the child process is actively |
108 // performing some operation, for example if we just received an IPC message. | 108 // performing some operation, for example if we just received an IPC message. |
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
246 // filtering for this at the render widget level. | 246 // filtering for this at the render widget level. |
247 bool ignore_input_events_; | 247 bool ignore_input_events_; |
248 | 248 |
249 // Records the last time we regarded the child process active. | 249 // Records the last time we regarded the child process active. |
250 base::TimeTicks child_process_activity_time_; | 250 base::TimeTicks child_process_activity_time_; |
251 | 251 |
252 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 252 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
253 }; | 253 }; |
254 | 254 |
255 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 255 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |