| 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 "content/public/common/sandbox_type.h" | 9 #include "content/public/common/sandbox_type.h" |
| 10 #include "media/base/cdm_factory.h" | 10 #include "media/base/cdm_factory.h" |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 111 SiteInstance* site_instance, | 111 SiteInstance* site_instance, |
| 112 const GURL& current_url, | 112 const GURL& current_url, |
| 113 const GURL& new_url) { | 113 const GURL& new_url) { |
| 114 return false; | 114 return false; |
| 115 } | 115 } |
| 116 | 116 |
| 117 scoped_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { | 117 scoped_ptr<media::CdmFactory> ContentBrowserClient::CreateCdmFactory() { |
| 118 return nullptr; | 118 return nullptr; |
| 119 } | 119 } |
| 120 | 120 |
| 121 int ContentBrowserClient::GetDefaultEnabledBindingsForView( |
| 122 RenderViewHost* view) { |
| 123 return 0; |
| 124 } |
| 125 |
| 121 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( | 126 bool ContentBrowserClient::ShouldSwapProcessesForRedirect( |
| 122 ResourceContext* resource_context, const GURL& current_url, | 127 ResourceContext* resource_context, const GURL& current_url, |
| 123 const GURL& new_url) { | 128 const GURL& new_url) { |
| 124 return false; | 129 return false; |
| 125 } | 130 } |
| 126 | 131 |
| 127 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { | 132 bool ContentBrowserClient::ShouldAssignSiteForURL(const GURL& url) { |
| 128 return true; | 133 return true; |
| 129 } | 134 } |
| 130 | 135 |
| (...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 415 #if defined(VIDEO_HOLE) | 420 #if defined(VIDEO_HOLE) |
| 416 ExternalVideoSurfaceContainer* | 421 ExternalVideoSurfaceContainer* |
| 417 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 422 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 418 WebContents* web_contents) { | 423 WebContents* web_contents) { |
| 419 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 424 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 420 return nullptr; | 425 return nullptr; |
| 421 } | 426 } |
| 422 #endif | 427 #endif |
| 423 | 428 |
| 424 } // namespace content | 429 } // namespace content |
| OLD | NEW |