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 #include <algorithm> | 10 #include <algorithm> |
(...skipping 18 matching lines...) Expand all Loading... |
29 #include "base/platform_file.h" | 29 #include "base/platform_file.h" |
30 #include "base/process_util.h" | 30 #include "base/process_util.h" |
31 #include "base/rand_util.h" | 31 #include "base/rand_util.h" |
32 #include "base/stl_util.h" | 32 #include "base/stl_util.h" |
33 #include "base/string_util.h" | 33 #include "base/string_util.h" |
34 #include "base/supports_user_data.h" | 34 #include "base/supports_user_data.h" |
35 #include "base/sys_info.h" | 35 #include "base/sys_info.h" |
36 #include "base/threading/thread.h" | 36 #include "base/threading/thread.h" |
37 #include "base/threading/thread_restrictions.h" | 37 #include "base/threading/thread_restrictions.h" |
38 #include "base/tracked_objects.h" | 38 #include "base/tracked_objects.h" |
39 #include "cc/switches.h" | 39 #include "cc/base/switches.h" |
40 #include "content/browser/appcache/appcache_dispatcher_host.h" | 40 #include "content/browser/appcache/appcache_dispatcher_host.h" |
41 #include "content/browser/appcache/chrome_appcache_service.h" | 41 #include "content/browser/appcache/chrome_appcache_service.h" |
42 #include "content/browser/browser_main.h" | 42 #include "content/browser/browser_main.h" |
43 #include "content/browser/browser_main_loop.h" | 43 #include "content/browser/browser_main_loop.h" |
44 #include "content/browser/browser_plugin/browser_plugin_geolocation_permission_c
ontext.h" | 44 #include "content/browser/browser_plugin/browser_plugin_geolocation_permission_c
ontext.h" |
45 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" | 45 #include "content/browser/browser_plugin/browser_plugin_message_filter.h" |
46 #include "content/browser/child_process_security_policy_impl.h" | 46 #include "content/browser/child_process_security_policy_impl.h" |
47 #include "content/browser/device_orientation/orientation_message_filter.h" | 47 #include "content/browser/device_orientation/orientation_message_filter.h" |
48 #include "content/browser/dom_storage/dom_storage_context_impl.h" | 48 #include "content/browser/dom_storage/dom_storage_context_impl.h" |
49 #include "content/browser/dom_storage/dom_storage_message_filter.h" | 49 #include "content/browser/dom_storage/dom_storage_message_filter.h" |
(...skipping 28 matching lines...) Expand all Loading... |
78 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" | 78 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
79 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" | 79 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
80 #include "content/browser/renderer_host/quota_dispatcher_host.h" | 80 #include "content/browser/renderer_host/quota_dispatcher_host.h" |
81 #include "content/browser/renderer_host/render_message_filter.h" | 81 #include "content/browser/renderer_host/render_message_filter.h" |
82 #include "content/browser/renderer_host/render_view_host_delegate.h" | 82 #include "content/browser/renderer_host/render_view_host_delegate.h" |
83 #include "content/browser/renderer_host/render_view_host_impl.h" | 83 #include "content/browser/renderer_host/render_view_host_impl.h" |
84 #include "content/browser/renderer_host/render_widget_helper.h" | 84 #include "content/browser/renderer_host/render_widget_helper.h" |
85 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" | 85 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
86 #include "content/browser/renderer_host/text_input_client_message_filter.h" | 86 #include "content/browser/renderer_host/text_input_client_message_filter.h" |
87 #include "content/browser/resolve_proxy_msg_helper.h" | 87 #include "content/browser/resolve_proxy_msg_helper.h" |
88 #include "content/browser/storage_partition_impl.h" | |
89 #include "content/browser/speech/input_tag_speech_dispatcher_host.h" | 88 #include "content/browser/speech/input_tag_speech_dispatcher_host.h" |
90 #include "content/browser/speech/speech_recognition_dispatcher_host.h" | 89 #include "content/browser/speech/speech_recognition_dispatcher_host.h" |
| 90 #include "content/browser/storage_partition_impl.h" |
91 #include "content/browser/tracing/trace_message_filter.h" | 91 #include "content/browser/tracing/trace_message_filter.h" |
92 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 92 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
| 93 #include "content/browser/worker_host/worker_message_filter.h" |
93 #include "content/browser/worker_host/worker_storage_partition.h" | 94 #include "content/browser/worker_host/worker_storage_partition.h" |
94 #include "content/browser/worker_host/worker_message_filter.h" | |
95 #include "content/common/child_process_host_impl.h" | 95 #include "content/common/child_process_host_impl.h" |
96 #include "content/common/child_process_messages.h" | 96 #include "content/common/child_process_messages.h" |
97 #include "content/common/gpu/gpu_messages.h" | 97 #include "content/common/gpu/gpu_messages.h" |
98 #include "content/common/resource_messages.h" | 98 #include "content/common/resource_messages.h" |
99 #include "content/common/view_messages.h" | 99 #include "content/common/view_messages.h" |
100 #include "content/public/browser/browser_context.h" | 100 #include "content/public/browser/browser_context.h" |
101 #include "content/public/browser/content_browser_client.h" | 101 #include "content/public/browser/content_browser_client.h" |
102 #include "content/public/browser/notification_service.h" | 102 #include "content/public/browser/notification_service.h" |
103 #include "content/public/browser/notification_types.h" | 103 #include "content/public/browser/notification_types.h" |
104 #include "content/public/browser/render_process_host_factory.h" | 104 #include "content/public/browser/render_process_host_factory.h" |
(...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1665 TRACE_EVENT0("renderer_host", | 1665 TRACE_EVENT0("renderer_host", |
1666 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1666 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1667 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; | 1667 AcceleratedSurfaceMsg_BufferPresented_Params ack_params; |
1668 ack_params.sync_point = 0; | 1668 ack_params.sync_point = 0; |
1669 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1669 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1670 gpu_process_host_id, | 1670 gpu_process_host_id, |
1671 ack_params); | 1671 ack_params); |
1672 } | 1672 } |
1673 | 1673 |
1674 } // namespace content | 1674 } // namespace content |
OLD | NEW |