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

Side by Side Diff: content/shell/renderer/shell_content_renderer_client.cc

Issue 297273003: test_runner: Migrate WebTestRunner to our Chromium C++ style. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/renderer/shell_render_frame_observer.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) 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/shell/renderer/shell_content_renderer_client.h" 5 #include "content/shell/renderer/shell_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 "content/common/sandbox_win.h" 10 #include "content/common/sandbox_win.h"
11 #include "content/public/common/content_constants.h" 11 #include "content/public/common/content_constants.h"
12 #include "content/public/common/content_switches.h" 12 #include "content/public/common/content_switches.h"
13 #include "content/public/renderer/render_view.h" 13 #include "content/public/renderer/render_view.h"
14 #include "content/public/test/layouttest_support.h" 14 #include "content/public/test/layouttest_support.h"
15 #include "content/shell/common/shell_switches.h" 15 #include "content/shell/common/shell_switches.h"
16 #include "content/shell/common/webkit_test_helpers.h" 16 #include "content/shell/common/webkit_test_helpers.h"
17 #include "content/shell/renderer/shell_render_frame_observer.h" 17 #include "content/shell/renderer/shell_render_frame_observer.h"
18 #include "content/shell/renderer/shell_render_process_observer.h" 18 #include "content/shell/renderer/shell_render_process_observer.h"
19 #include "content/shell/renderer/shell_render_view_observer.h" 19 #include "content/shell/renderer/shell_render_view_observer.h"
20 #include "content/shell/renderer/test_runner/WebTestInterfaces.h" 20 #include "content/shell/renderer/test_runner/WebTestInterfaces.h"
21 #include "content/shell/renderer/test_runner/WebTestRunner.h"
22 #include "content/shell/renderer/test_runner/web_test_proxy.h" 21 #include "content/shell/renderer/test_runner/web_test_proxy.h"
23 #include "content/shell/renderer/webkit_test_runner.h" 22 #include "content/shell/renderer/webkit_test_runner.h"
24 #include "content/test/mock_webclipboard_impl.h" 23 #include "content/test/mock_webclipboard_impl.h"
25 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 24 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
26 #include "third_party/WebKit/public/web/WebPluginParams.h" 25 #include "third_party/WebKit/public/web/WebPluginParams.h"
27 #include "third_party/WebKit/public/web/WebView.h" 26 #include "third_party/WebKit/public/web/WebView.h"
28 #include "v8/include/v8.h" 27 #include "v8/include/v8.h"
29 28
30 #if defined(OS_WIN) 29 #if defined(OS_WIN)
31 #include "content/public/renderer/render_font_warmup_win.h" 30 #include "content/public/renderer/render_font_warmup_win.h"
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 test_runner->proxy()->SetDelegate( 190 test_runner->proxy()->SetDelegate(
192 ShellRenderProcessObserver::GetInstance()->test_delegate()); 191 ShellRenderProcessObserver::GetInstance()->test_delegate());
193 } 192 }
194 193
195 bool ShellContentRendererClient::AllowBrowserPlugin( 194 bool ShellContentRendererClient::AllowBrowserPlugin(
196 blink::WebPluginContainer* container) { 195 blink::WebPluginContainer* container) {
197 return true; 196 return true;
198 } 197 }
199 198
200 } // namespace content 199 } // namespace content
OLDNEW
« no previous file with comments | « content/content_shell.gypi ('k') | content/shell/renderer/shell_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698