| 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> |
| 11 | 11 |
| 12 #include "base/memory/scoped_ptr.h" | 12 #include "base/memory/scoped_ptr.h" |
| 13 #include "base/process/process.h" | 13 #include "base/process/process.h" |
| 14 #include "base/timer/timer.h" | 14 #include "base/timer/timer.h" |
| 15 #include "content/browser/child_process_launcher.h" | 15 #include "content/browser/child_process_launcher.h" |
| 16 #include "content/browser/power_monitor_message_broadcaster.h" |
| 16 #include "content/common/content_export.h" | 17 #include "content/common/content_export.h" |
| 17 #include "content/public/browser/global_request_id.h" | 18 #include "content/public/browser/global_request_id.h" |
| 18 #include "content/public/browser/gpu_data_manager_observer.h" | 19 #include "content/public/browser/gpu_data_manager_observer.h" |
| 19 #include "content/public/browser/render_process_host.h" | 20 #include "content/public/browser/render_process_host.h" |
| 20 #include "ipc/ipc_channel_proxy.h" | 21 #include "ipc/ipc_channel_proxy.h" |
| 21 #include "ui/surface/transport_dib.h" | 22 #include "ui/surface/transport_dib.h" |
| 22 | 23 |
| 23 class CommandLine; | 24 class CommandLine; |
| 24 struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params; | 25 struct ViewHostMsg_CompositorSurfaceBuffersSwapped_Params; |
| 25 | 26 |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 313 bool is_guest_; | 314 bool is_guest_; |
| 314 | 315 |
| 315 // Forwards messages between WebRTCInternals in the browser process | 316 // Forwards messages between WebRTCInternals in the browser process |
| 316 // and PeerConnectionTracker in the renderer process. | 317 // and PeerConnectionTracker in the renderer process. |
| 317 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; | 318 scoped_refptr<PeerConnectionTrackerHost> peer_connection_tracker_host_; |
| 318 | 319 |
| 319 // Prevents the class from being added as a GpuDataManagerImpl observer more | 320 // Prevents the class from being added as a GpuDataManagerImpl observer more |
| 320 // than once. | 321 // than once. |
| 321 bool gpu_observer_registered_; | 322 bool gpu_observer_registered_; |
| 322 | 323 |
| 324 // Forwards power state messages to the renderer process. |
| 325 PowerMonitorMessageBroadcaster power_monitor_broadcaster_; |
| 326 |
| 323 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); | 327 DISALLOW_COPY_AND_ASSIGN(RenderProcessHostImpl); |
| 324 }; | 328 }; |
| 325 | 329 |
| 326 } // namespace content | 330 } // namespace content |
| 327 | 331 |
| 328 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ | 332 #endif // CONTENT_BROWSER_RENDERER_HOST_BROWSER_RENDER_PROCESS_HOST_IMPL_H_ |
| OLD | NEW |