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/browser/after_startup_task_poster_impl.h" |
8 #include "ui/gfx/image/image_skia.h" | 9 #include "ui/gfx/image/image_skia.h" |
9 #include "url/gurl.h" | 10 #include "url/gurl.h" |
10 | 11 |
11 namespace content { | 12 namespace content { |
12 | 13 |
13 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( | 14 BrowserMainParts* ContentBrowserClient::CreateBrowserMainParts( |
14 const MainFunctionParams& parameters) { | 15 const MainFunctionParams& parameters) { |
15 return nullptr; | 16 return nullptr; |
16 } | 17 } |
17 | 18 |
| 19 AfterStartupTaskPoster* ContentBrowserClient::GetAfterStartupTaskPoster() { |
| 20 static DefaultAfterStartupTaskPoster default_task_poster; |
| 21 return &default_task_poster; |
| 22 } |
| 23 |
18 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 24 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
19 WebContents* web_contents) { | 25 WebContents* web_contents) { |
20 return nullptr; | 26 return nullptr; |
21 } | 27 } |
22 | 28 |
23 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 29 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
24 const GURL& url) { | 30 const GURL& url) { |
25 return url; | 31 return url; |
26 } | 32 } |
27 | 33 |
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 | 367 |
362 #if defined(VIDEO_HOLE) | 368 #if defined(VIDEO_HOLE) |
363 ExternalVideoSurfaceContainer* | 369 ExternalVideoSurfaceContainer* |
364 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 370 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
365 WebContents* web_contents) { | 371 WebContents* web_contents) { |
366 return nullptr; | 372 return nullptr; |
367 } | 373 } |
368 #endif | 374 #endif |
369 | 375 |
370 } // namespace content | 376 } // namespace content |
OLD | NEW |