OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 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/shell/renderer/layout_test/layout_test_content_renderer_client
.h" | 5 #include "content/shell/renderer/layout_test/layout_test_content_renderer_client
.h" |
6 | 6 |
7 #include "base/callback.h" | 7 #include "base/callback.h" |
8 #include "base/command_line.h" | 8 #include "base/command_line.h" |
9 #include "base/debug/debugger.h" | 9 #include "base/debug/debugger.h" |
10 #include "base/memory/ptr_util.h" | 10 #include "base/memory/ptr_util.h" |
(...skipping 17 matching lines...) Expand all Loading... |
28 #include "content/shell/test_runner/web_test_interfaces.h" | 28 #include "content/shell/test_runner/web_test_interfaces.h" |
29 #include "content/shell/test_runner/web_test_runner.h" | 29 #include "content/shell/test_runner/web_test_runner.h" |
30 #include "content/shell/test_runner/web_view_test_proxy.h" | 30 #include "content/shell/test_runner/web_view_test_proxy.h" |
31 #include "content/test/mock_webclipboard_impl.h" | 31 #include "content/test/mock_webclipboard_impl.h" |
32 #include "gin/modules/module_registry.h" | 32 #include "gin/modules/module_registry.h" |
33 #include "media/base/audio_latency.h" | 33 #include "media/base/audio_latency.h" |
34 #include "media/media_features.h" | 34 #include "media/media_features.h" |
35 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h" | 35 #include "third_party/WebKit/public/platform/WebAudioLatencyHint.h" |
36 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 36 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
37 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" | 37 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" |
| 38 #include "third_party/WebKit/public/platform/WebRuntimeFeatures.h" |
38 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" | 39 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" |
39 #include "third_party/WebKit/public/web/WebFrameWidget.h" | 40 #include "third_party/WebKit/public/web/WebFrameWidget.h" |
40 #include "third_party/WebKit/public/web/WebKit.h" | 41 #include "third_party/WebKit/public/web/WebKit.h" |
41 #include "third_party/WebKit/public/web/WebPluginParams.h" | 42 #include "third_party/WebKit/public/web/WebPluginParams.h" |
42 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" | |
43 #include "third_party/WebKit/public/web/WebTestingSupport.h" | 43 #include "third_party/WebKit/public/web/WebTestingSupport.h" |
44 #include "third_party/WebKit/public/web/WebView.h" | 44 #include "third_party/WebKit/public/web/WebView.h" |
45 #include "ui/gfx/icc_profile.h" | 45 #include "ui/gfx/icc_profile.h" |
46 #include "v8/include/v8.h" | 46 #include "v8/include/v8.h" |
47 | 47 |
48 using blink::WebAudioDevice; | 48 using blink::WebAudioDevice; |
49 using blink::WebClipboard; | 49 using blink::WebClipboard; |
50 using blink::WebFrame; | 50 using blink::WebFrame; |
51 using blink::WebLocalFrame; | 51 using blink::WebLocalFrame; |
52 using blink::WebMIDIAccessor; | 52 using blink::WebMIDIAccessor; |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 switches::kStableReleaseMode)) { | 268 switches::kStableReleaseMode)) { |
269 blink::WebRuntimeFeatures::EnableTestOnlyFeatures(true); | 269 blink::WebRuntimeFeatures::EnableTestOnlyFeatures(true); |
270 } | 270 } |
271 if (base::CommandLine::ForCurrentProcess()->HasSwitch( | 271 if (base::CommandLine::ForCurrentProcess()->HasSwitch( |
272 switches::kEnableFontAntialiasing)) { | 272 switches::kEnableFontAntialiasing)) { |
273 blink::SetFontAntialiasingEnabledForTest(true); | 273 blink::SetFontAntialiasingEnabledForTest(true); |
274 } | 274 } |
275 } | 275 } |
276 | 276 |
277 } // namespace content | 277 } // namespace content |
OLD | NEW |