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

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

Issue 23526028: Move source files from webkit/support to content/test (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix ios? Created 7 years, 3 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
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_process_observer.h" 15 #include "content/shell/renderer/shell_render_process_observer.h"
16 #include "content/shell/renderer/shell_render_view_observer.h" 16 #include "content/shell/renderer/shell_render_view_observer.h"
17 #include "content/shell/renderer/webkit_test_runner.h" 17 #include "content/shell/renderer/webkit_test_runner.h"
18 #include "content/test/mock_webclipboard_impl.h"
18 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" 19 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h"
19 #include "third_party/WebKit/public/testing/WebTestInterfaces.h" 20 #include "third_party/WebKit/public/testing/WebTestInterfaces.h"
20 #include "third_party/WebKit/public/testing/WebTestProxy.h" 21 #include "third_party/WebKit/public/testing/WebTestProxy.h"
21 #include "third_party/WebKit/public/testing/WebTestRunner.h" 22 #include "third_party/WebKit/public/testing/WebTestRunner.h"
22 #include "third_party/WebKit/public/web/WebPluginParams.h" 23 #include "third_party/WebKit/public/web/WebPluginParams.h"
23 #include "third_party/WebKit/public/web/WebView.h" 24 #include "third_party/WebKit/public/web/WebView.h"
24 #include "v8/include/v8.h" 25 #include "v8/include/v8.h"
25 #include "webkit/support/mock_webclipboard_impl.h"
26 26
27 using WebKit::WebAudioDevice; 27 using WebKit::WebAudioDevice;
28 using WebKit::WebClipboard; 28 using WebKit::WebClipboard;
29 using WebKit::WebFrame; 29 using WebKit::WebFrame;
30 using WebKit::WebMIDIAccessor; 30 using WebKit::WebMIDIAccessor;
31 using WebKit::WebMIDIAccessorClient; 31 using WebKit::WebMIDIAccessorClient;
32 using WebKit::WebMediaStreamCenter; 32 using WebKit::WebMediaStreamCenter;
33 using WebKit::WebMediaStreamCenterClient; 33 using WebKit::WebMediaStreamCenterClient;
34 using WebKit::WebPlugin; 34 using WebKit::WebPlugin;
35 using WebKit::WebPluginParams; 35 using WebKit::WebPluginParams;
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 if (CommandLine::ForCurrentProcess()->HasSwitch( 192 if (CommandLine::ForCurrentProcess()->HasSwitch(
193 switches::kEnableBrowserPluginForAllViewTypes)) { 193 switches::kEnableBrowserPluginForAllViewTypes)) {
194 // Allow BrowserPlugin if forced by command line flag. This is generally 194 // Allow BrowserPlugin if forced by command line flag. This is generally
195 // true for tests. 195 // true for tests.
196 return true; 196 return true;
197 } 197 }
198 return ContentRendererClient::AllowBrowserPlugin(container); 198 return ContentRendererClient::AllowBrowserPlugin(container);
199 } 199 }
200 200
201 } // namespace content 201 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698