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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
152 #include "services/service_manager/public/cpp/interface_provider.h" | 152 #include "services/service_manager/public/cpp/interface_provider.h" |
153 #include "services/ui/public/cpp/bitmap/child_shared_bitmap_manager.h" | 153 #include "services/ui/public/cpp/bitmap/child_shared_bitmap_manager.h" |
154 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" | 154 #include "services/ui/public/cpp/gpu/context_provider_command_buffer.h" |
155 #include "services/ui/public/interfaces/constants.mojom.h" | 155 #include "services/ui/public/interfaces/constants.mojom.h" |
156 #include "skia/ext/event_tracer_impl.h" | 156 #include "skia/ext/event_tracer_impl.h" |
157 #include "skia/ext/skia_memory_dump_provider.h" | 157 #include "skia/ext/skia_memory_dump_provider.h" |
158 #include "third_party/WebKit/public/platform/WebCache.h" | 158 #include "third_party/WebKit/public/platform/WebCache.h" |
159 #include "third_party/WebKit/public/platform/WebImageGenerator.h" | 159 #include "third_party/WebKit/public/platform/WebImageGenerator.h" |
160 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h" | 160 #include "third_party/WebKit/public/platform/WebMemoryCoordinator.h" |
161 #include "third_party/WebKit/public/platform/WebNetworkStateNotifier.h" | 161 #include "third_party/WebKit/public/platform/WebNetworkStateNotifier.h" |
| 162 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
162 #include "third_party/WebKit/public/platform/WebString.h" | 163 #include "third_party/WebKit/public/platform/WebString.h" |
163 #include "third_party/WebKit/public/platform/WebThread.h" | 164 #include "third_party/WebKit/public/platform/WebThread.h" |
164 #include "third_party/WebKit/public/platform/scheduler/child/webthread_base.h" | 165 #include "third_party/WebKit/public/platform/scheduler/child/webthread_base.h" |
165 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" | 166 #include "third_party/WebKit/public/platform/scheduler/renderer/renderer_schedul
er.h" |
166 #include "third_party/WebKit/public/web/WebDatabase.h" | 167 #include "third_party/WebKit/public/web/WebDatabase.h" |
167 #include "third_party/WebKit/public/web/WebDocument.h" | 168 #include "third_party/WebKit/public/web/WebDocument.h" |
168 #include "third_party/WebKit/public/web/WebFrame.h" | 169 #include "third_party/WebKit/public/web/WebFrame.h" |
169 #include "third_party/WebKit/public/web/WebKit.h" | 170 #include "third_party/WebKit/public/web/WebKit.h" |
170 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
171 #include "third_party/WebKit/public/web/WebScriptController.h" | 171 #include "third_party/WebKit/public/web/WebScriptController.h" |
172 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 172 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
173 #include "third_party/WebKit/public/web/WebView.h" | 173 #include "third_party/WebKit/public/web/WebView.h" |
174 #include "third_party/skia/include/core/SkGraphics.h" | 174 #include "third_party/skia/include/core/SkGraphics.h" |
175 #include "ui/base/layout.h" | 175 #include "ui/base/layout.h" |
176 #include "ui/base/ui_base_switches.h" | 176 #include "ui/base/ui_base_switches.h" |
177 #include "ui/display/display_switches.h" | 177 #include "ui/display/display_switches.h" |
178 #include "ui/gl/gl_switches.h" | 178 #include "ui/gl/gl_switches.h" |
179 | 179 |
180 #if defined(OS_ANDROID) | 180 #if defined(OS_ANDROID) |
(...skipping 2277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2458 } | 2458 } |
2459 } | 2459 } |
2460 | 2460 |
2461 void RenderThreadImpl::OnRendererInterfaceRequest( | 2461 void RenderThreadImpl::OnRendererInterfaceRequest( |
2462 mojom::RendererAssociatedRequest request) { | 2462 mojom::RendererAssociatedRequest request) { |
2463 DCHECK(!renderer_binding_.is_bound()); | 2463 DCHECK(!renderer_binding_.is_bound()); |
2464 renderer_binding_.Bind(std::move(request)); | 2464 renderer_binding_.Bind(std::move(request)); |
2465 } | 2465 } |
2466 | 2466 |
2467 } // namespace content | 2467 } // namespace content |
OLD | NEW |