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 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <queue> | 9 #include <queue> |
10 #include <string> | 10 #include <string> |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
267 void SetBackgrounded(bool backgrounded); | 267 void SetBackgrounded(bool backgrounded); |
268 | 268 |
269 // Handle termination of our process. | 269 // Handle termination of our process. |
270 void ProcessDied(bool already_dead); | 270 void ProcessDied(bool already_dead); |
271 | 271 |
272 virtual void OnGpuSwitching() OVERRIDE; | 272 virtual void OnGpuSwitching() OVERRIDE; |
273 | 273 |
274 #if defined(ENABLE_WEBRTC) | 274 #if defined(ENABLE_WEBRTC) |
275 // Sends |file_for_transit| to the render process. | 275 // Sends |file_for_transit| to the render process. |
276 void SendAecDumpFileToRenderer(IPC::PlatformFileForTransit file_for_transit); | 276 void SendAecDumpFileToRenderer(IPC::PlatformFileForTransit file_for_transit); |
| 277 void SendDisableAecDumpToRenderer(); |
277 #endif | 278 #endif |
278 | 279 |
279 // The registered IPC listener objects. When this list is empty, we should | 280 // The registered IPC listener objects. When this list is empty, we should |
280 // delete ourselves. | 281 // delete ourselves. |
281 IDMap<IPC::Listener> listeners_; | 282 IDMap<IPC::Listener> listeners_; |
282 | 283 |
283 // The count of currently visible widgets. Since the host can be a container | 284 // The count of currently visible widgets. Since the host can be a container |
284 // for multiple widgets, it uses this count to determine when it should be | 285 // for multiple widgets, it uses this count to determine when it should be |
285 // backgrounded. | 286 // backgrounded. |
286 int32 visible_widgets_; | 287 int32 visible_widgets_; |
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
387 | 388 |
388 // Lives on the browser's ChildThread. | 389 // Lives on the browser's ChildThread. |
389 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; | 390 base::WeakPtrFactory<RenderProcessHostImpl> weak_factory_; |
390 | 391 |
391 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 392 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
392 }; | 393 }; |
393 | 394 |
394 } // namespace content | 395 } // namespace content |
395 | 396 |
396 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 397 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
OLD | NEW |