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

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

Issue 1167703002: Move test runner to a component (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: updates Created 5 years, 6 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
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 "components/test_runner/app_banner_client.h"
11 #include "components/test_runner/mock_credential_manager_client.h"
12 #include "components/test_runner/web_test_interfaces.h"
13 #include "components/test_runner/web_test_proxy.h"
10 #include "components/web_cache/renderer/web_cache_render_process_observer.h" 14 #include "components/web_cache/renderer/web_cache_render_process_observer.h"
11 #include "content/public/common/content_constants.h" 15 #include "content/public/common/content_constants.h"
12 #include "content/public/common/content_switches.h" 16 #include "content/public/common/content_switches.h"
13 #include "content/public/renderer/render_view.h" 17 #include "content/public/renderer/render_view.h"
14 #include "content/public/test/layouttest_support.h" 18 #include "content/public/test/layouttest_support.h"
15 #include "content/shell/common/shell_switches.h" 19 #include "content/shell/common/shell_switches.h"
16 #include "content/shell/renderer/layout_test/blink_test_helpers.h" 20 #include "content/shell/renderer/layout_test/blink_test_helpers.h"
17 #include "content/shell/renderer/layout_test/blink_test_runner.h" 21 #include "content/shell/renderer/layout_test/blink_test_runner.h"
18 #include "content/shell/renderer/layout_test/layout_test_render_frame_observer.h " 22 #include "content/shell/renderer/layout_test/layout_test_render_frame_observer.h "
19 #include "content/shell/renderer/layout_test/layout_test_render_process_observer .h" 23 #include "content/shell/renderer/layout_test/layout_test_render_process_observer .h"
20 #include "content/shell/renderer/layout_test/test_media_stream_renderer_factory. h" 24 #include "content/shell/renderer/layout_test/test_media_stream_renderer_factory. h"
21 #include "content/shell/renderer/shell_render_view_observer.h" 25 #include "content/shell/renderer/shell_render_view_observer.h"
22 #include "content/shell/renderer/test_runner/app_banner_client.h"
23 #include "content/shell/renderer/test_runner/mock_credential_manager_client.h"
24 #include "content/shell/renderer/test_runner/web_test_interfaces.h"
25 #include "content/shell/renderer/test_runner/web_test_proxy.h"
26 #include "content/test/mock_webclipboard_impl.h" 26 #include "content/test/mock_webclipboard_impl.h"
27 #include "ppapi/shared_impl/ppapi_switches.h" 27 #include "ppapi/shared_impl/ppapi_switches.h"
28 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 28 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
29 #include "third_party/WebKit/public/web/WebPluginParams.h" 29 #include "third_party/WebKit/public/web/WebPluginParams.h"
30 #include "third_party/WebKit/public/web/WebView.h" 30 #include "third_party/WebKit/public/web/WebView.h"
31 #include "v8/include/v8.h" 31 #include "v8/include/v8.h"
32 32
33 #if defined(OS_WIN) 33 #if defined(OS_WIN)
34 #include "content/public/renderer/render_font_warmup_win.h" 34 #include "content/public/renderer/render_font_warmup_win.h"
35 #include "third_party/WebKit/public/web/win/WebFontRendering.h" 35 #include "third_party/WebKit/public/web/win/WebFontRendering.h"
(...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 LayoutTestRenderProcessObserver::GetInstance()->SetTestDelegate( 191 LayoutTestRenderProcessObserver::GetInstance()->SetTestDelegate(
192 test_runner); 192 test_runner);
193 } 193 }
194 proxy->SetInterfaces( 194 proxy->SetInterfaces(
195 LayoutTestRenderProcessObserver::GetInstance()->test_interfaces()); 195 LayoutTestRenderProcessObserver::GetInstance()->test_interfaces());
196 test_runner->proxy()->SetDelegate( 196 test_runner->proxy()->SetDelegate(
197 LayoutTestRenderProcessObserver::GetInstance()->test_delegate()); 197 LayoutTestRenderProcessObserver::GetInstance()->test_delegate());
198 } 198 }
199 199
200 } // namespace content 200 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698