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

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

Issue 110533009: Import TestRunner library into chromium. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 7 years 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
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/public/common/content_constants.h" 10 #include "content/public/common/content_constants.h"
11 #include "content/public/common/content_switches.h" 11 #include "content/public/common/content_switches.h"
12 #include "content/public/renderer/render_view.h" 12 #include "content/public/renderer/render_view.h"
13 #include "content/public/test/layouttest_support.h" 13 #include "content/public/test/layouttest_support.h"
14 #include "content/shell/common/shell_switches.h" 14 #include "content/shell/common/shell_switches.h"
15 #include "content/shell/renderer/shell_render_frame_observer.h" 15 #include "content/shell/renderer/shell_render_frame_observer.h"
16 #include "content/shell/renderer/shell_render_process_observer.h" 16 #include "content/shell/renderer/shell_render_process_observer.h"
17 #include "content/shell/renderer/shell_render_view_observer.h" 17 #include "content/shell/renderer/shell_render_view_observer.h"
18 #include "content/shell/renderer/test_runner/WebTestInterfaces.h"
19 #include "content/shell/renderer/test_runner/WebTestProxy.h"
20 #include "content/shell/renderer/test_runner/WebTestRunner.h"
18 #include "content/shell/renderer/webkit_test_runner.h" 21 #include "content/shell/renderer/webkit_test_runner.h"
19 #include "content/test/mock_webclipboard_impl.h" 22 #include "content/test/mock_webclipboard_impl.h"
20 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 23 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
21 #include "third_party/WebKit/public/testing/WebTestInterfaces.h"
22 #include "third_party/WebKit/public/testing/WebTestProxy.h"
23 #include "third_party/WebKit/public/testing/WebTestRunner.h"
24 #include "third_party/WebKit/public/web/WebPluginParams.h" 24 #include "third_party/WebKit/public/web/WebPluginParams.h"
25 #include "third_party/WebKit/public/web/WebView.h" 25 #include "third_party/WebKit/public/web/WebView.h"
26 #include "v8/include/v8.h" 26 #include "v8/include/v8.h"
27 27
28 using blink::WebAudioDevice; 28 using blink::WebAudioDevice;
29 using blink::WebClipboard; 29 using blink::WebClipboard;
30 using blink::WebFrame; 30 using blink::WebFrame;
31 using blink::WebMIDIAccessor; 31 using blink::WebMIDIAccessor;
32 using blink::WebMIDIAccessorClient; 32 using blink::WebMIDIAccessorClient;
33 using blink::WebMediaStreamCenter; 33 using blink::WebMediaStreamCenter;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 if (CommandLine::ForCurrentProcess()->HasSwitch( 184 if (CommandLine::ForCurrentProcess()->HasSwitch(
185 switches::kEnableBrowserPluginForAllViewTypes)) { 185 switches::kEnableBrowserPluginForAllViewTypes)) {
186 // Allow BrowserPlugin if forced by command line flag. This is generally 186 // Allow BrowserPlugin if forced by command line flag. This is generally
187 // true for tests. 187 // true for tests.
188 return true; 188 return true;
189 } 189 }
190 return ContentRendererClient::AllowBrowserPlugin(container); 190 return ContentRendererClient::AllowBrowserPlugin(container);
191 } 191 }
192 192
193 } // namespace content 193 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/common/webkit_test_helpers.cc ('k') | content/shell/renderer/shell_render_frame_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698