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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 #include "third_party/WebKit/public/web/WebDocument.h" | 162 #include "third_party/WebKit/public/web/WebDocument.h" |
163 #include "third_party/WebKit/public/web/WebFrame.h" | 163 #include "third_party/WebKit/public/web/WebFrame.h" |
164 #include "third_party/WebKit/public/web/WebKit.h" | 164 #include "third_party/WebKit/public/web/WebKit.h" |
165 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | 165 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" |
166 #include "third_party/WebKit/public/web/WebScriptController.h" | 166 #include "third_party/WebKit/public/web/WebScriptController.h" |
167 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" | 167 #include "third_party/WebKit/public/web/WebSecurityPolicy.h" |
168 #include "third_party/WebKit/public/web/WebView.h" | 168 #include "third_party/WebKit/public/web/WebView.h" |
169 #include "third_party/skia/include/core/SkGraphics.h" | 169 #include "third_party/skia/include/core/SkGraphics.h" |
170 #include "ui/base/layout.h" | 170 #include "ui/base/layout.h" |
171 #include "ui/base/ui_base_switches.h" | 171 #include "ui/base/ui_base_switches.h" |
| 172 #include "ui/display/display_switches.h" |
172 #include "ui/gl/gl_switches.h" | 173 #include "ui/gl/gl_switches.h" |
173 | 174 |
174 #if defined(OS_ANDROID) | 175 #if defined(OS_ANDROID) |
175 #include <cpu-features.h> | 176 #include <cpu-features.h> |
176 #include "content/renderer/android/synchronous_compositor_filter.h" | 177 #include "content/renderer/android/synchronous_compositor_filter.h" |
177 #include "content/renderer/android/synchronous_compositor_frame_sink.h" | 178 #include "content/renderer/android/synchronous_compositor_frame_sink.h" |
178 #include "content/renderer/media/android/stream_texture_factory.h" | 179 #include "content/renderer/media/android/stream_texture_factory.h" |
179 #include "media/base/android/media_codec_util.h" | 180 #include "media/base/android/media_codec_util.h" |
180 #endif | 181 #endif |
181 | 182 |
(...skipping 2246 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2428 } | 2429 } |
2429 } | 2430 } |
2430 | 2431 |
2431 void RenderThreadImpl::OnRendererInterfaceRequest( | 2432 void RenderThreadImpl::OnRendererInterfaceRequest( |
2432 mojom::RendererAssociatedRequest request) { | 2433 mojom::RendererAssociatedRequest request) { |
2433 DCHECK(!renderer_binding_.is_bound()); | 2434 DCHECK(!renderer_binding_.is_bound()); |
2434 renderer_binding_.Bind(std::move(request)); | 2435 renderer_binding_.Bind(std::move(request)); |
2435 } | 2436 } |
2436 | 2437 |
2437 } // namespace content | 2438 } // namespace content |
OLD | NEW |