| 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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 355 | 362 |
| 356 #if defined(VIDEO_HOLE) | 363 #if defined(VIDEO_HOLE) |
| 357 ExternalVideoSurfaceContainer* | 364 ExternalVideoSurfaceContainer* |
| 358 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 365 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 359 WebContents* web_contents) { | 366 WebContents* web_contents) { |
| 360 return nullptr; | 367 return nullptr; |
| 361 } | 368 } |
| 362 #endif | 369 #endif |
| 363 | 370 |
| 364 } // namespace content | 371 } // namespace content |
| OLD | NEW |