OLD | NEW |
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/public/browser/content_browser_client.h" | 5 #include "content/public/browser/content_browser_client.h" |
6 | 6 |
7 #include "base/files/file_path.h" | 7 #include "base/files/file_path.h" |
8 #include "ui/gfx/image/image_skia.h" | 8 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 9 #include "url/gurl.h" |
10 | 10 |
11 namespace content { | 11 namespace content { |
12 | 12 |
13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
14 const MainFunctionParams& parameters) { | 14 const MainFunctionParams& parameters) { |
15 return NULL; | 15 return NULL; |
16 } | 16 } |
17 | 17 |
18 WebContentsViewPort* ContentBrowserClient::OverrideCreateWebContentsView( | 18 WebContentsViewPort* ContentBrowserClient::OverrideCreateWebContentsView( |
19 WebContents* web_contents, | 19 WebContents* web_contents, |
20 RenderViewHostDelegateView** render_view_host_delegate_view) { | 20 RenderViewHostDelegateView** render_view_host_delegate_view) { |
21 return NULL; | 21 return NULL; |
22 } | 22 } |
23 | 23 |
24 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 24 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
25 WebContents* web_contents) { | 25 WebContents* web_contents) { |
26 return NULL; | 26 return NULL; |
27 } | 27 } |
28 | 28 |
| 29 BrowserPluginGuestManagerDelegate* |
| 30 ContentBrowserClient::GetGuestManagerDelegate(BrowserContext* context) { |
| 31 return NULL; |
| 32 } |
| 33 |
29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 34 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
30 const GURL& url) { | 35 const GURL& url) { |
31 return url; | 36 return url; |
32 } | 37 } |
33 | 38 |
34 bool ContentBrowserClient::ShouldUseProcessPerSite( | 39 bool ContentBrowserClient::ShouldUseProcessPerSite( |
35 BrowserContext* browser_context, const GURL& effective_url) { | 40 BrowserContext* browser_context, const GURL& effective_url) { |
36 return false; | 41 return false; |
37 } | 42 } |
38 | 43 |
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 | 317 |
313 #if defined(VIDEO_HOLE) | 318 #if defined(VIDEO_HOLE) |
314 ExternalVideoSurfaceContainer* | 319 ExternalVideoSurfaceContainer* |
315 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 320 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
316 WebContents* web_contents) { | 321 WebContents* web_contents) { |
317 return NULL; | 322 return NULL; |
318 } | 323 } |
319 #endif | 324 #endif |
320 | 325 |
321 } // namespace content | 326 } // namespace content |
OLD | NEW |