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 |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
335 MediaStreamType type) { | 335 MediaStreamType type) { |
336 return false; | 336 return false; |
337 } | 337 } |
338 | 338 |
339 PresentationServiceDelegate* | 339 PresentationServiceDelegate* |
340 ContentBrowserClient::GetPresentationServiceDelegate( | 340 ContentBrowserClient::GetPresentationServiceDelegate( |
341 WebContents* web_contents) { | 341 WebContents* web_contents) { |
342 return nullptr; | 342 return nullptr; |
343 } | 343 } |
344 | 344 |
345 WebContents* ContentBrowserClient::OpenURL(BrowserContext* browser_context, | 345 void ContentBrowserClient::OpenURL( |
346 const OpenURLParams& params) { | 346 content::BrowserContext* browser_context, |
347 return nullptr; | 347 const content::OpenURLParams& params, |
| 348 const base::Callback<void(content::WebContents*)>& callback) { |
| 349 callback.Run(nullptr); |
348 } | 350 } |
349 | 351 |
350 #if defined(OS_WIN) | 352 #if defined(OS_WIN) |
351 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 353 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
352 return nullptr; | 354 return nullptr; |
353 } | 355 } |
354 #endif | 356 #endif |
355 | 357 |
356 #if defined(VIDEO_HOLE) | 358 #if defined(VIDEO_HOLE) |
357 ExternalVideoSurfaceContainer* | 359 ExternalVideoSurfaceContainer* |
358 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 360 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
359 WebContents* web_contents) { | 361 WebContents* web_contents) { |
360 return nullptr; | 362 return nullptr; |
361 } | 363 } |
362 #endif | 364 #endif |
363 | 365 |
364 } // namespace content | 366 } // namespace content |
OLD | NEW |