| 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 nullptr; | 15 return nullptr; |
| 16 } | 16 } |
| 17 | 17 |
| 18 void ContentBrowserClient::PostAfterStartupTask( |
| 19 const tracked_objects::Location& from_here, |
| 20 const scoped_refptr<base::TaskRunner>& task_runner, |
| 21 const base::Closure& task) { |
| 22 task_runner->PostTask(from_here, task); |
| 23 } |
| 24 |
| 18 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( | 25 WebContentsViewDelegate* ContentBrowserClient::GetWebContentsViewDelegate( |
| 19 WebContents* web_contents) { | 26 WebContents* web_contents) { |
| 20 return nullptr; | 27 return nullptr; |
| 21 } | 28 } |
| 22 | 29 |
| 23 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, | 30 GURL ContentBrowserClient::GetEffectiveURL(BrowserContext* browser_context, |
| 24 const GURL& url) { | 31 const GURL& url) { |
| 25 return url; | 32 return url; |
| 26 } | 33 } |
| 27 | 34 |
| (...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 361 | 368 |
| 362 #if defined(VIDEO_HOLE) | 369 #if defined(VIDEO_HOLE) |
| 363 ExternalVideoSurfaceContainer* | 370 ExternalVideoSurfaceContainer* |
| 364 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 371 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 365 WebContents* web_contents) { | 372 WebContents* web_contents) { |
| 366 return nullptr; | 373 return nullptr; |
| 367 } | 374 } |
| 368 #endif | 375 #endif |
| 369 | 376 |
| 370 } // namespace content | 377 } // namespace content |
| OLD | NEW |