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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; | 75 virtual void SetIgnoreInputEvents(bool ignore_input_events) OVERRIDE; |
76 virtual bool IgnoreInputEvents() const OVERRIDE; | 76 virtual bool IgnoreInputEvents() const OVERRIDE; |
77 virtual void Attach(IPC::Channel::Listener* listener, int routing_id) | 77 virtual void Attach(IPC::Channel::Listener* listener, int routing_id) |
78 OVERRIDE; | 78 OVERRIDE; |
79 virtual void Release(int listener_id) OVERRIDE; | 79 virtual void Release(int listener_id) OVERRIDE; |
80 virtual void Cleanup() OVERRIDE; | 80 virtual void Cleanup() OVERRIDE; |
81 virtual void AddPendingView() OVERRIDE; | 81 virtual void AddPendingView() OVERRIDE; |
82 virtual void RemovePendingView() OVERRIDE; | 82 virtual void RemovePendingView() OVERRIDE; |
83 virtual void SetSuddenTerminationAllowed(bool enabled) OVERRIDE; | 83 virtual void SetSuddenTerminationAllowed(bool enabled) OVERRIDE; |
84 virtual bool SuddenTerminationAllowed() const OVERRIDE; | 84 virtual bool SuddenTerminationAllowed() const OVERRIDE; |
| 85 virtual bool TerminateOnUnresponsiveAllowed() const OVERRIDE; |
85 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; | 86 virtual IPC::ChannelProxy* GetChannel() OVERRIDE; |
86 virtual listeners_iterator ListenersIterator() OVERRIDE; | 87 virtual listeners_iterator ListenersIterator() OVERRIDE; |
87 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; | 88 virtual bool FastShutdownForPageCount(size_t count) OVERRIDE; |
88 virtual bool FastShutdownStarted() const OVERRIDE; | 89 virtual bool FastShutdownStarted() const OVERRIDE; |
89 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; | 90 virtual base::TimeDelta GetChildProcessIdleTime() const OVERRIDE; |
90 | 91 |
91 // IPC::Channel::Sender via RenderProcessHost. | 92 // IPC::Channel::Sender via RenderProcessHost. |
92 virtual bool Send(IPC::Message* msg) OVERRIDE; | 93 virtual bool Send(IPC::Message* msg) OVERRIDE; |
93 | 94 |
94 // IPC::Channel::Listener via RenderProcessHost. | 95 // IPC::Channel::Listener via RenderProcessHost. |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
242 // filtering for this at the render widget level. | 243 // filtering for this at the render widget level. |
243 bool ignore_input_events_; | 244 bool ignore_input_events_; |
244 | 245 |
245 // Records the last time we regarded the child process active. | 246 // Records the last time we regarded the child process active. |
246 base::TimeTicks child_process_activity_time_; | 247 base::TimeTicks child_process_activity_time_; |
247 | 248 |
248 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 249 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
249 }; | 250 }; |
250 | 251 |
251 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 252 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |