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, | |
346 const OpenURLParams& params) { | |
347 return nullptr; | |
mlamouri (slow - plz ping)
2015/02/09 12:07:37
May I suggest to keep a default implementation and
Peter Beverloo
2015/02/10 17:49:37
I'd prefer not to, as that breaks the API contract
mlamouri (slow - plz ping)
2015/02/11 13:50:23
How would they get NOTIMPLEMENTED()? That's in the
Peter Beverloo
2015/02/11 16:18:27
Right. That's true. I've added the "callback.Run(n
| |
348 } | |
349 | |
350 #if defined(OS_WIN) | 345 #if defined(OS_WIN) |
351 const wchar_t* ContentBrowserClient::GetResourceDllName() { | 346 const wchar_t* ContentBrowserClient::GetResourceDllName() { |
352 return nullptr; | 347 return nullptr; |
353 } | 348 } |
354 #endif | 349 #endif |
355 | 350 |
356 #if defined(VIDEO_HOLE) | 351 #if defined(VIDEO_HOLE) |
357 ExternalVideoSurfaceContainer* | 352 ExternalVideoSurfaceContainer* |
358 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 353 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
359 WebContents* web_contents) { | 354 WebContents* web_contents) { |
360 return nullptr; | 355 return nullptr; |
361 } | 356 } |
362 #endif | 357 #endif |
363 | 358 |
364 } // namespace content | 359 } // namespace content |
OLD | NEW |