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 #include "content/renderer/render_thread_impl.h" | 5 #include "content/renderer/render_thread_impl.h" |
6 | 6 |
7 #include <algorithm> | 7 #include <algorithm> |
8 #include <limits> | 8 #include <limits> |
9 #include <map> | 9 #include <map> |
10 #include <utility> | 10 #include <utility> |
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
126 #include "gpu/GLES2/gl2extchromium.h" | 126 #include "gpu/GLES2/gl2extchromium.h" |
127 #include "gpu/command_buffer/client/shared_memory_limits.h" | 127 #include "gpu/command_buffer/client/shared_memory_limits.h" |
128 #include "gpu/ipc/client/command_buffer_proxy_impl.h" | 128 #include "gpu/ipc/client/command_buffer_proxy_impl.h" |
129 #include "gpu/ipc/client/gpu_channel_host.h" | 129 #include "gpu/ipc/client/gpu_channel_host.h" |
130 #include "ipc/ipc_channel_handle.h" | 130 #include "ipc/ipc_channel_handle.h" |
131 #include "ipc/ipc_channel_mojo.h" | 131 #include "ipc/ipc_channel_mojo.h" |
132 #include "ipc/ipc_platform_file.h" | 132 #include "ipc/ipc_platform_file.h" |
133 #include "media/base/media.h" | 133 #include "media/base/media.h" |
134 #include "media/media_features.h" | 134 #include "media/media_features.h" |
135 #include "media/renderers/gpu_video_accelerator_factories.h" | 135 #include "media/renderers/gpu_video_accelerator_factories.h" |
136 #include "mojo/common/common_type_converters.h" | |
137 #include "mojo/public/cpp/bindings/strong_binding.h" | 136 #include "mojo/public/cpp/bindings/strong_binding.h" |
138 #include "net/base/net_errors.h" | 137 #include "net/base/net_errors.h" |
139 #include "net/base/port_util.h" | 138 #include "net/base/port_util.h" |
140 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" | 139 #include "net/base/registry_controlled_domains/registry_controlled_domain.h" |
141 #include "net/base/url_util.h" | 140 #include "net/base/url_util.h" |
142 #include "ppapi/features/features.h" | 141 #include "ppapi/features/features.h" |
143 #include "services/service_manager/public/cpp/connector.h" | 142 #include "services/service_manager/public/cpp/connector.h" |
144 #include "services/service_manager/public/cpp/interface_provider.h" | 143 #include "services/service_manager/public/cpp/interface_provider.h" |
145 #include "services/service_manager/public/cpp/interface_registry.h" | 144 #include "services/service_manager/public/cpp/interface_registry.h" |
146 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" | 145 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" |
(...skipping 2355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2502 } | 2501 } |
2503 } | 2502 } |
2504 | 2503 |
2505 void RenderThreadImpl::OnRendererInterfaceRequest( | 2504 void RenderThreadImpl::OnRendererInterfaceRequest( |
2506 mojom::RendererAssociatedRequest request) { | 2505 mojom::RendererAssociatedRequest request) { |
2507 DCHECK(!renderer_binding_.is_bound()); | 2506 DCHECK(!renderer_binding_.is_bound()); |
2508 renderer_binding_.Bind(std::move(request)); | 2507 renderer_binding_.Bind(std::move(request)); |
2509 } | 2508 } |
2510 | 2509 |
2511 } // namespace content | 2510 } // namespace content |
OLD | NEW |