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 "content/public/browser/client_certificate_delegate.h" | 8 #include "content/public/browser/client_certificate_delegate.h" |
9 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
10 #include "url/gurl.h" | 10 #include "url/gurl.h" |
11 | 11 |
12 namespace content { | 12 namespace content { |
13 | 13 |
14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
15 const MainFunctionParams& parameters) { | 15 const MainFunctionParams& parameters) { |
16 return nullptr; | 16 return nullptr; |
17 } | 17 } |
18 | 18 |
| 19 void ContentBrowserClient::PostAfterStartupTask( |
| 20 const tracked_objects::Location& from_here, |
| 21 const scoped_refptr<base::TaskRunner>& task_runner, |
| 22 const base::Closure& task) { |
| 23 task_runner->PostTask(from_here, task); |
| 24 } |
| 25 |
19 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 26 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
20 WebContents* web_contents) { | 27 WebContents* web_contents) { |
21 return nullptr; | 28 return nullptr; |
22 } | 29 } |
23 | 30 |
24 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 31 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
25 const GURL& url) { | 32 const GURL& url) { |
26 return url; | 33 return url; |
27 } | 34 } |
28 | 35 |
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
337 | 344 |
338 #if defined(VIDEO_HOLE) | 345 #if defined(VIDEO_HOLE) |
339 ExternalVideoSurfaceContainer* | 346 ExternalVideoSurfaceContainer* |
340 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 347 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
341 WebContents* web_contents) { | 348 WebContents* web_contents) { |
342 return nullptr; | 349 return nullptr; |
343 } | 350 } |
344 #endif | 351 #endif |
345 | 352 |
346 } // namespace content | 353 } // namespace content |
OLD | NEW |