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 // Represents the browser side of the browser <--> renderer communication | 5 // Represents the browser side of the browser <--> renderer communication |
6 // channel. There will be one RenderProcessHost per renderer process. | 6 // channel. There will be one RenderProcessHost per renderer process. |
7 | 7 |
8 #include "content/browser/renderer_host/render_process_host_impl.h" | 8 #include "content/browser/renderer_host/render_process_host_impl.h" |
9 | 9 |
10 #if defined(OS_WIN) | 10 #if defined(OS_WIN) |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 #include "content/browser/renderer_host/gpu_message_filter.h" | 65 #include "content/browser/renderer_host/gpu_message_filter.h" |
66 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" | 66 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
67 #include "content/browser/renderer_host/media/audio_renderer_host.h" | 67 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
68 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" | 68 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" |
69 #include "content/browser/renderer_host/media/video_capture_host.h" | 69 #include "content/browser/renderer_host/media/video_capture_host.h" |
70 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" | 70 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
71 #include "content/browser/renderer_host/pepper_file_message_filter.h" | 71 #include "content/browser/renderer_host/pepper_file_message_filter.h" |
72 #include "content/browser/renderer_host/pepper_message_filter.h" | 72 #include "content/browser/renderer_host/pepper_message_filter.h" |
73 #include "content/browser/renderer_host/quota_dispatcher_host.h" | 73 #include "content/browser/renderer_host/quota_dispatcher_host.h" |
74 #include "content/browser/renderer_host/render_message_filter.h" | 74 #include "content/browser/renderer_host/render_message_filter.h" |
| 75 #include "content/browser/renderer_host/render_view_host_delegate.h" |
75 #include "content/browser/renderer_host/render_view_host_impl.h" | 76 #include "content/browser/renderer_host/render_view_host_impl.h" |
76 #include "content/browser/renderer_host/render_widget_helper.h" | 77 #include "content/browser/renderer_host/render_widget_helper.h" |
77 #include "content/browser/renderer_host/resource_message_filter.h" | 78 #include "content/browser/renderer_host/resource_message_filter.h" |
78 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" | 79 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
79 #include "content/browser/renderer_host/text_input_client_message_filter.h" | 80 #include "content/browser/renderer_host/text_input_client_message_filter.h" |
80 #include "content/browser/resolve_proxy_msg_helper.h" | 81 #include "content/browser/resolve_proxy_msg_helper.h" |
81 #include "content/browser/trace_message_filter.h" | 82 #include "content/browser/trace_message_filter.h" |
82 #include "content/browser/worker_host/worker_message_filter.h" | 83 #include "content/browser/worker_host/worker_message_filter.h" |
83 #include "content/common/child_process_host_impl.h" | 84 #include "content/common/child_process_host_impl.h" |
84 #include "content/common/child_process_messages.h" | 85 #include "content/common/child_process_messages.h" |
85 #include "content/common/gpu/gpu_messages.h" | 86 #include "content/common/gpu/gpu_messages.h" |
86 #include "content/common/resource_messages.h" | 87 #include "content/common/resource_messages.h" |
87 #include "content/common/view_messages.h" | 88 #include "content/common/view_messages.h" |
88 #include "content/public/browser/browser_context.h" | 89 #include "content/public/browser/browser_context.h" |
89 #include "content/public/browser/content_browser_client.h" | 90 #include "content/public/browser/content_browser_client.h" |
90 #include "content/public/browser/notification_service.h" | 91 #include "content/public/browser/notification_service.h" |
91 #include "content/public/browser/render_view_host_delegate.h" | |
92 #include "content/public/browser/resource_context.h" | 92 #include "content/public/browser/resource_context.h" |
93 #include "content/public/browser/user_metrics.h" | 93 #include "content/public/browser/user_metrics.h" |
94 #include "content/public/browser/web_ui_controller_factory.h" | 94 #include "content/public/browser/web_ui_controller_factory.h" |
95 #include "content/public/common/content_constants.h" | 95 #include "content/public/common/content_constants.h" |
96 #include "content/public/common/content_switches.h" | 96 #include "content/public/common/content_switches.h" |
97 #include "content/public/common/process_type.h" | 97 #include "content/public/common/process_type.h" |
98 #include "content/public/common/result_codes.h" | 98 #include "content/public/common/result_codes.h" |
99 #include "content/renderer/render_process_impl.h" | 99 #include "content/renderer/render_process_impl.h" |
100 #include "content/renderer/render_thread_impl.h" | 100 #include "content/renderer/render_thread_impl.h" |
101 #include "ipc/ipc_channel.h" | 101 #include "ipc/ipc_channel.h" |
(...skipping 1270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1372 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( | 1372 void RenderProcessHostImpl::OnCompositorSurfaceBuffersSwappedNoHost( |
1373 int32 surface_id, | 1373 int32 surface_id, |
1374 uint64 surface_handle, | 1374 uint64 surface_handle, |
1375 int32 route_id, | 1375 int32 route_id, |
1376 int32 gpu_process_host_id) { | 1376 int32 gpu_process_host_id) { |
1377 TRACE_EVENT0("renderer_host", | 1377 TRACE_EVENT0("renderer_host", |
1378 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1378 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1379 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, | 1379 RenderWidgetHostImpl::AcknowledgeSwapBuffers(route_id, |
1380 gpu_process_host_id); | 1380 gpu_process_host_id); |
1381 } | 1381 } |
OLD | NEW |