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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 #include "content/browser/webui/web_ui_controller_factory_registry.h" | 107 #include "content/browser/webui/web_ui_controller_factory_registry.h" |
108 #include "content/browser/worker_host/worker_message_filter.h" | 108 #include "content/browser/worker_host/worker_message_filter.h" |
109 #include "content/browser/worker_host/worker_storage_partition.h" | 109 #include "content/browser/worker_host/worker_storage_partition.h" |
110 #include "content/common/child_process_host_impl.h" | 110 #include "content/common/child_process_host_impl.h" |
111 #include "content/common/child_process_messages.h" | 111 #include "content/common/child_process_messages.h" |
112 #include "content/common/content_switches_internal.h" | 112 #include "content/common/content_switches_internal.h" |
113 #include "content/common/gpu/gpu_messages.h" | 113 #include "content/common/gpu/gpu_messages.h" |
114 #include "content/common/mojo/mojo_messages.h" | 114 #include "content/common/mojo/mojo_messages.h" |
115 #include "content/common/resource_messages.h" | 115 #include "content/common/resource_messages.h" |
116 #include "content/common/view_messages.h" | 116 #include "content/common/view_messages.h" |
117 #include "content/port/browser/render_widget_host_view_frame_subscriber.h" | |
118 #include "content/public/browser/browser_context.h" | 117 #include "content/public/browser/browser_context.h" |
119 #include "content/public/browser/content_browser_client.h" | 118 #include "content/public/browser/content_browser_client.h" |
120 #include "content/public/browser/notification_service.h" | 119 #include "content/public/browser/notification_service.h" |
121 #include "content/public/browser/notification_types.h" | 120 #include "content/public/browser/notification_types.h" |
122 #include "content/public/browser/render_process_host_factory.h" | 121 #include "content/public/browser/render_process_host_factory.h" |
123 #include "content/public/browser/render_process_host_observer.h" | 122 #include "content/public/browser/render_process_host_observer.h" |
124 #include "content/public/browser/render_widget_host.h" | 123 #include "content/public/browser/render_widget_host.h" |
125 #include "content/public/browser/render_widget_host_iterator.h" | 124 #include "content/public/browser/render_widget_host_iterator.h" |
| 125 #include "content/public/browser/render_widget_host_view_frame_subscriber.h" |
126 #include "content/public/browser/resource_context.h" | 126 #include "content/public/browser/resource_context.h" |
127 #include "content/public/browser/user_metrics.h" | 127 #include "content/public/browser/user_metrics.h" |
128 #include "content/public/browser/worker_service.h" | 128 #include "content/public/browser/worker_service.h" |
129 #include "content/public/common/content_constants.h" | 129 #include "content/public/common/content_constants.h" |
130 #include "content/public/common/content_switches.h" | 130 #include "content/public/common/content_switches.h" |
131 #include "content/public/common/process_type.h" | 131 #include "content/public/common/process_type.h" |
132 #include "content/public/common/result_codes.h" | 132 #include "content/public/common/result_codes.h" |
133 #include "content/public/common/sandboxed_process_launcher_delegate.h" | 133 #include "content/public/common/sandboxed_process_launcher_delegate.h" |
134 #include "content/public/common/url_constants.h" | 134 #include "content/public/common/url_constants.h" |
135 #include "gpu/command_buffer/service/gpu_switches.h" | 135 #include "gpu/command_buffer/service/gpu_switches.h" |
(...skipping 1939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2075 mojo::ScopedMessagePipeHandle handle) { | 2075 mojo::ScopedMessagePipeHandle handle) { |
2076 mojo_activation_required_ = true; | 2076 mojo_activation_required_ = true; |
2077 MaybeActivateMojo(); | 2077 MaybeActivateMojo(); |
2078 | 2078 |
2079 mojo::AllocationScope scope; | 2079 mojo::AllocationScope scope; |
2080 mojo_application_host_->shell_client()->AcceptConnection(service_name, | 2080 mojo_application_host_->shell_client()->AcceptConnection(service_name, |
2081 handle.Pass()); | 2081 handle.Pass()); |
2082 } | 2082 } |
2083 | 2083 |
2084 } // namespace content | 2084 } // namespace content |
OLD | NEW |