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

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

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/common/sandbox_win.h" 10 #include "content/common/sandbox_win.h"
(...skipping 27 matching lines...) Expand all
38 using blink::WebLocalFrame; 38 using blink::WebLocalFrame;
39 using blink::WebMIDIAccessor; 39 using blink::WebMIDIAccessor;
40 using blink::WebMIDIAccessorClient; 40 using blink::WebMIDIAccessorClient;
41 using blink::WebMediaStreamCenter; 41 using blink::WebMediaStreamCenter;
42 using blink::WebMediaStreamCenterClient; 42 using blink::WebMediaStreamCenterClient;
43 using blink::WebPlugin; 43 using blink::WebPlugin;
44 using blink::WebPluginParams; 44 using blink::WebPluginParams;
45 using blink::WebRTCPeerConnectionHandler; 45 using blink::WebRTCPeerConnectionHandler;
46 using blink::WebRTCPeerConnectionHandlerClient; 46 using blink::WebRTCPeerConnectionHandlerClient;
47 using blink::WebThemeEngine; 47 using blink::WebThemeEngine;
48 using WebTestRunner::WebTestDelegate;
49 using WebTestRunner::WebTestInterfaces;
50 48
51 namespace content { 49 namespace content {
52 50
53 #if defined(OS_WIN) 51 #if defined(OS_WIN)
54 namespace { 52 namespace {
55 53
56 // DirectWrite only has access to %WINDIR%\Fonts by default. For developer 54 // DirectWrite only has access to %WINDIR%\Fonts by default. For developer
57 // side-loading, support kRegisterFontFiles to allow access to additional fonts. 55 // side-loading, support kRegisterFontFiles to allow access to additional fonts.
58 void RegisterSideloadedTypefaces(SkFontMgr* fontmgr) { 56 void RegisterSideloadedTypefaces(SkFontMgr* fontmgr) {
59 std::vector<std::string> files = GetSideloadFontFiles(); 57 std::vector<std::string> files = GetSideloadFontFiles();
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 test_runner->proxy()->setDelegate( 191 test_runner->proxy()->setDelegate(
194 ShellRenderProcessObserver::GetInstance()->test_delegate()); 192 ShellRenderProcessObserver::GetInstance()->test_delegate());
195 } 193 }
196 194
197 bool ShellContentRendererClient::AllowBrowserPlugin( 195 bool ShellContentRendererClient::AllowBrowserPlugin(
198 blink::WebPluginContainer* container) { 196 blink::WebPluginContainer* container) {
199 return true; 197 return true;
200 } 198 }
201 199
202 } // namespace content 200 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/common/webkit_test_helpers.h ('k') | content/shell/renderer/shell_render_process_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698