OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/browser/content_browser_client.h" | 5 #include "content/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/memory/singleton.h" | 7 #include "base/memory/singleton.h" |
8 #include "content/browser/webui/empty_web_ui_factory.h" | 8 #include "content/browser/webui/empty_web_ui_factory.h" |
9 #include "googleurl/src/gurl.h" | 9 #include "googleurl/src/gurl.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 void ContentBrowserClient::RenderViewHostCreated( | 13 void ContentBrowserClient::RenderViewHostCreated( |
14 RenderViewHost* render_view_host) { | 14 RenderViewHost* render_view_host) { |
15 } | 15 } |
16 | 16 |
17 void ContentBrowserClient::BrowserRenderProcessHostCreated( | 17 void ContentBrowserClient::BrowserRenderProcessHostCreated( |
18 BrowserRenderProcessHost* host) { | 18 BrowserRenderProcessHost* host) { |
19 } | 19 } |
20 | 20 |
| 21 void ContentBrowserClient::PluginProcessHostCreated(PluginProcessHost* host) { |
| 22 } |
| 23 |
21 void ContentBrowserClient::WorkerProcessHostCreated(WorkerProcessHost* host) { | 24 void ContentBrowserClient::WorkerProcessHostCreated(WorkerProcessHost* host) { |
22 } | 25 } |
23 | 26 |
24 WebUIFactory* ContentBrowserClient::GetWebUIFactory() { | 27 WebUIFactory* ContentBrowserClient::GetWebUIFactory() { |
25 // Return an empty factory so callsites don't have to check for NULL. | 28 // Return an empty factory so callsites don't have to check for NULL. |
26 return EmptyWebUIFactory::Get(); | 29 return EmptyWebUIFactory::Get(); |
27 } | 30 } |
28 | 31 |
29 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { | 32 GURL ContentBrowserClient::GetEffectiveURL(Profile* profile, const GURL& url) { |
30 return url; | 33 return url; |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 return true; | 76 return true; |
74 } | 77 } |
75 | 78 |
76 #if defined(OS_LINUX) | 79 #if defined(OS_LINUX) |
77 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { | 80 int ContentBrowserClient::GetCrashSignalFD(const std::string& process_type) { |
78 return -1; | 81 return -1; |
79 } | 82 } |
80 #endif | 83 #endif |
81 | 84 |
82 } // namespace content | 85 } // namespace content |
OLD | NEW |