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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 #include "content/browser/download/mhtml_generation_manager.h" | 49 #include "content/browser/download/mhtml_generation_manager.h" |
50 #include "content/browser/fileapi/chrome_blob_storage_context.h" | 50 #include "content/browser/fileapi/chrome_blob_storage_context.h" |
51 #include "content/browser/fileapi/fileapi_message_filter.h" | 51 #include "content/browser/fileapi/fileapi_message_filter.h" |
52 #include "content/browser/geolocation/geolocation_dispatcher_host.h" | 52 #include "content/browser/geolocation/geolocation_dispatcher_host.h" |
53 #include "content/browser/gpu/gpu_data_manager_impl.h" | 53 #include "content/browser/gpu/gpu_data_manager_impl.h" |
54 #include "content/browser/gpu/gpu_process_host.h" | 54 #include "content/browser/gpu/gpu_process_host.h" |
55 #include "content/browser/histogram_message_filter.h" | 55 #include "content/browser/histogram_message_filter.h" |
56 #include "content/browser/hyphenator/hyphenator_message_filter.h" | 56 #include "content/browser/hyphenator/hyphenator_message_filter.h" |
57 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" | 57 #include "content/browser/in_process_webkit/indexed_db_context_impl.h" |
58 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" | 58 #include "content/browser/in_process_webkit/indexed_db_dispatcher_host.h" |
| 59 #include "content/browser/loader/resource_message_filter.h" |
59 #include "content/browser/mime_registry_message_filter.h" | 60 #include "content/browser/mime_registry_message_filter.h" |
60 #include "content/browser/plugin_service_impl.h" | 61 #include "content/browser/plugin_service_impl.h" |
61 #include "content/browser/profiler_message_filter.h" | 62 #include "content/browser/profiler_message_filter.h" |
62 #include "content/browser/renderer_host/clipboard_message_filter.h" | 63 #include "content/browser/renderer_host/clipboard_message_filter.h" |
63 #include "content/browser/renderer_host/database_message_filter.h" | 64 #include "content/browser/renderer_host/database_message_filter.h" |
64 #include "content/browser/renderer_host/file_utilities_message_filter.h" | 65 #include "content/browser/renderer_host/file_utilities_message_filter.h" |
65 #include "content/browser/renderer_host/gamepad_browser_message_filter.h" | 66 #include "content/browser/renderer_host/gamepad_browser_message_filter.h" |
66 #include "content/browser/renderer_host/gpu_message_filter.h" | 67 #include "content/browser/renderer_host/gpu_message_filter.h" |
67 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" | 68 #include "content/browser/renderer_host/media/audio_input_renderer_host.h" |
68 #include "content/browser/renderer_host/media/audio_renderer_host.h" | 69 #include "content/browser/renderer_host/media/audio_renderer_host.h" |
69 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" | 70 #include "content/browser/renderer_host/media/media_stream_dispatcher_host.h" |
70 #include "content/browser/renderer_host/media/video_capture_host.h" | 71 #include "content/browser/renderer_host/media/video_capture_host.h" |
71 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" | 72 #include "content/browser/renderer_host/p2p/socket_dispatcher_host.h" |
72 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" | 73 #include "content/browser/renderer_host/pepper/pepper_message_filter.h" |
73 #include "content/browser/renderer_host/quota_dispatcher_host.h" | 74 #include "content/browser/renderer_host/quota_dispatcher_host.h" |
74 #include "content/browser/renderer_host/render_message_filter.h" | 75 #include "content/browser/renderer_host/render_message_filter.h" |
75 #include "content/browser/renderer_host/render_view_host_delegate.h" | 76 #include "content/browser/renderer_host/render_view_host_delegate.h" |
76 #include "content/browser/renderer_host/render_view_host_impl.h" | 77 #include "content/browser/renderer_host/render_view_host_impl.h" |
77 #include "content/browser/renderer_host/render_widget_helper.h" | 78 #include "content/browser/renderer_host/render_widget_helper.h" |
78 #include "content/browser/renderer_host/resource_message_filter.h" | |
79 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" | 79 #include "content/browser/renderer_host/socket_stream_dispatcher_host.h" |
80 #include "content/browser/renderer_host/text_input_client_message_filter.h" | 80 #include "content/browser/renderer_host/text_input_client_message_filter.h" |
81 #include "content/browser/resolve_proxy_msg_helper.h" | 81 #include "content/browser/resolve_proxy_msg_helper.h" |
82 #include "content/browser/storage_partition_impl.h" | 82 #include "content/browser/storage_partition_impl.h" |
83 #include "content/browser/speech/input_tag_speech_dispatcher_host.h" | 83 #include "content/browser/speech/input_tag_speech_dispatcher_host.h" |
84 #include "content/browser/speech/speech_recognition_dispatcher_host.h" | 84 #include "content/browser/speech/speech_recognition_dispatcher_host.h" |
85 #include "content/browser/trace_message_filter.h" | 85 #include "content/browser/trace_message_filter.h" |
86 #include "content/browser/worker_host/worker_storage_partition.h" | 86 #include "content/browser/worker_host/worker_storage_partition.h" |
87 #include "content/browser/worker_host/worker_message_filter.h" | 87 #include "content/browser/worker_host/worker_message_filter.h" |
88 #include "content/common/child_process_host_impl.h" | 88 #include "content/common/child_process_host_impl.h" |
89 #include "content/common/child_process_messages.h" | 89 #include "content/common/child_process_messages.h" |
90 #include "content/common/gpu/gpu_messages.h" | 90 #include "content/common/gpu/gpu_messages.h" |
91 #include "content/common/resource_messages.h" | 91 #include "content/common/resource_messages.h" |
92 #include "content/common/view_messages.h" | 92 #include "content/common/view_messages.h" |
93 #include "content/public/browser/browser_context.h" | 93 #include "content/public/browser/browser_context.h" |
94 #include "content/public/browser/content_browser_client.h" | 94 #include "content/public/browser/content_browser_client.h" |
95 #include "content/public/browser/notification_service.h" | 95 #include "content/public/browser/notification_service.h" |
| 96 #include "content/public/browser/notification_types.h" |
96 #include "content/public/browser/render_process_host_factory.h" | 97 #include "content/public/browser/render_process_host_factory.h" |
97 #include "content/public/browser/resource_context.h" | 98 #include "content/public/browser/resource_context.h" |
98 #include "content/public/browser/user_metrics.h" | 99 #include "content/public/browser/user_metrics.h" |
99 #include "content/public/browser/web_ui_controller_factory.h" | 100 #include "content/public/browser/web_ui_controller_factory.h" |
100 #include "content/public/common/content_constants.h" | 101 #include "content/public/common/content_constants.h" |
101 #include "content/public/common/content_switches.h" | 102 #include "content/public/common/content_switches.h" |
102 #include "content/public/common/process_type.h" | 103 #include "content/public/common/process_type.h" |
103 #include "content/public/common/result_codes.h" | 104 #include "content/public/common/result_codes.h" |
104 #include "content/public/common/url_constants.h" | 105 #include "content/public/common/url_constants.h" |
105 #include "content/renderer/render_process_impl.h" | 106 #include "content/renderer/render_process_impl.h" |
(...skipping 1478 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1584 int32 gpu_process_host_id) { | 1585 int32 gpu_process_host_id) { |
1585 TRACE_EVENT0("renderer_host", | 1586 TRACE_EVENT0("renderer_host", |
1586 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); | 1587 "RenderWidgetHostImpl::OnCompositorSurfaceBuffersSwappedNoHost"); |
1587 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, | 1588 RenderWidgetHostImpl::AcknowledgeBufferPresent(route_id, |
1588 gpu_process_host_id, | 1589 gpu_process_host_id, |
1589 false, | 1590 false, |
1590 0); | 1591 0); |
1591 } | 1592 } |
1592 | 1593 |
1593 } // namespace content | 1594 } // namespace content |
OLD | NEW |