| 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 "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/client_certificate_delegate.h" | 9 #include "content/public/browser/client_certificate_delegate.h" |
| 10 #include "content/public/common/sandbox_type.h" | 10 #include "content/public/common/sandbox_type.h" |
| (...skipping 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 377 const GURL& url) { | 377 const GURL& url) { |
| 378 return false; | 378 return false; |
| 379 } | 379 } |
| 380 | 380 |
| 381 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( | 381 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( |
| 382 BrowserContext* browser_context, | 382 BrowserContext* browser_context, |
| 383 const GURL& url) { | 383 const GURL& url) { |
| 384 return false; | 384 return false; |
| 385 } | 385 } |
| 386 | 386 |
| 387 std::string ContentBrowserClient::GetPackagedMojoApplicationName() { |
| 388 return std::string(); |
| 389 } |
| 390 |
| 391 std::string ContentBrowserClient::GetMojoApplicationNameForProcess( |
| 392 ProcessType type) { |
| 393 return std::string(); |
| 394 } |
| 395 |
| 396 bool ContentBrowserClient::GetMojoApplicationManifest( |
| 397 const base::StringPiece& name, |
| 398 std::string* manifest_contents) { |
| 399 return false; |
| 400 } |
| 401 |
| 387 PresentationServiceDelegate* | 402 PresentationServiceDelegate* |
| 388 ContentBrowserClient::GetPresentationServiceDelegate( | 403 ContentBrowserClient::GetPresentationServiceDelegate( |
| 389 WebContents* web_contents) { | 404 WebContents* web_contents) { |
| 390 return nullptr; | 405 return nullptr; |
| 391 } | 406 } |
| 392 | 407 |
| 393 void ContentBrowserClient::OpenURL( | 408 void ContentBrowserClient::OpenURL( |
| 394 content::BrowserContext* browser_context, | 409 content::BrowserContext* browser_context, |
| 395 const content::OpenURLParams& params, | 410 const content::OpenURLParams& params, |
| 396 const base::Callback<void(content::WebContents*)>& callback) { | 411 const base::Callback<void(content::WebContents*)>& callback) { |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 437 #if defined(VIDEO_HOLE) | 452 #if defined(VIDEO_HOLE) |
| 438 ExternalVideoSurfaceContainer* | 453 ExternalVideoSurfaceContainer* |
| 439 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 454 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 440 WebContents* web_contents) { | 455 WebContents* web_contents) { |
| 441 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 456 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 442 return nullptr; | 457 return nullptr; |
| 443 } | 458 } |
| 444 #endif | 459 #endif |
| 445 | 460 |
| 446 } // namespace content | 461 } // namespace content |
| OLD | NEW |