Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(129)

Side by Side Diff: content/shell/renderer/layout_test/layout_test_content_renderer_client.cc

Issue 2655653004: Fixes gn-check errors with enable_plugins=false. (Closed)
Patch Set: Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/all_messages.h ('k') | content/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 14 matching lines...) Expand all
25 #include "content/shell/renderer/layout_test/blink_test_helpers.h" 25 #include "content/shell/renderer/layout_test/blink_test_helpers.h"
26 #include "content/shell/renderer/layout_test/blink_test_runner.h" 26 #include "content/shell/renderer/layout_test/blink_test_runner.h"
27 #include "content/shell/renderer/layout_test/interface_registry_js_wrapper.h" 27 #include "content/shell/renderer/layout_test/interface_registry_js_wrapper.h"
28 #include "content/shell/renderer/layout_test/layout_test_render_frame_observer.h " 28 #include "content/shell/renderer/layout_test/layout_test_render_frame_observer.h "
29 #include "content/shell/renderer/layout_test/layout_test_render_thread_observer. h" 29 #include "content/shell/renderer/layout_test/layout_test_render_thread_observer. h"
30 #include "content/shell/renderer/layout_test/test_media_stream_renderer_factory. h" 30 #include "content/shell/renderer/layout_test/test_media_stream_renderer_factory. h"
31 #include "content/shell/renderer/shell_render_view_observer.h" 31 #include "content/shell/renderer/shell_render_view_observer.h"
32 #include "content/test/mock_webclipboard_impl.h" 32 #include "content/test/mock_webclipboard_impl.h"
33 #include "gin/modules/module_registry.h" 33 #include "gin/modules/module_registry.h"
34 #include "media/media_features.h" 34 #include "media/media_features.h"
35 #include "ppapi/shared_impl/ppapi_switches.h"
36 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 35 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
37 #include "third_party/WebKit/public/web/WebFrameWidget.h" 36 #include "third_party/WebKit/public/web/WebFrameWidget.h"
38 #include "third_party/WebKit/public/web/WebKit.h" 37 #include "third_party/WebKit/public/web/WebKit.h"
39 #include "third_party/WebKit/public/web/WebPluginParams.h" 38 #include "third_party/WebKit/public/web/WebPluginParams.h"
40 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h" 39 #include "third_party/WebKit/public/web/WebRuntimeFeatures.h"
41 #include "third_party/WebKit/public/web/WebTestingSupport.h" 40 #include "third_party/WebKit/public/web/WebTestingSupport.h"
42 #include "third_party/WebKit/public/web/WebView.h" 41 #include "third_party/WebKit/public/web/WebView.h"
43 #include "ui/gfx/icc_profile.h" 42 #include "ui/gfx/icc_profile.h"
44 #include "v8/include/v8.h" 43 #include "v8/include/v8.h"
45 44
(...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 switches::kStableReleaseMode)) { 280 switches::kStableReleaseMode)) {
282 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true); 281 blink::WebRuntimeFeatures::enableTestOnlyFeatures(true);
283 } 282 }
284 if (base::CommandLine::ForCurrentProcess()->HasSwitch( 283 if (base::CommandLine::ForCurrentProcess()->HasSwitch(
285 switches::kEnableFontAntialiasing)) { 284 switches::kEnableFontAntialiasing)) {
286 blink::setFontAntialiasingEnabledForTest(true); 285 blink::setFontAntialiasingEnabledForTest(true);
287 } 286 }
288 } 287 }
289 288
290 } // namespace content 289 } // namespace content
OLDNEW
« no previous file with comments | « content/common/all_messages.h ('k') | content/shell/renderer/shell_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698