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 "ui/gfx/image/image_skia.h" | 10 #include "ui/gfx/image/image_skia.h" |
(...skipping 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 const GURL& url) { | 343 const GURL& url) { |
344 return false; | 344 return false; |
345 } | 345 } |
346 | 346 |
347 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( | 347 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( |
348 BrowserContext* browser_context, | 348 BrowserContext* browser_context, |
349 const GURL& url) { | 349 const GURL& url) { |
350 return false; | 350 return false; |
351 } | 351 } |
352 | 352 |
| 353 bool ContentBrowserClient::ExperimentalCookieFeaturesEnabled() { |
| 354 return false; |
| 355 } |
| 356 |
353 PresentationServiceDelegate* | 357 PresentationServiceDelegate* |
354 ContentBrowserClient::GetPresentationServiceDelegate( | 358 ContentBrowserClient::GetPresentationServiceDelegate( |
355 WebContents* web_contents) { | 359 WebContents* web_contents) { |
356 return nullptr; | 360 return nullptr; |
357 } | 361 } |
358 | 362 |
359 void ContentBrowserClient::OpenURL( | 363 void ContentBrowserClient::OpenURL( |
360 content::BrowserContext* browser_context, | 364 content::BrowserContext* browser_context, |
361 const content::OpenURLParams& params, | 365 const content::OpenURLParams& params, |
362 const base::Callback<void(content::WebContents*)>& callback) { | 366 const base::Callback<void(content::WebContents*)>& callback) { |
(...skipping 25 matching lines...) Expand all Loading... |
388 #if defined(VIDEO_HOLE) | 392 #if defined(VIDEO_HOLE) |
389 ExternalVideoSurfaceContainer* | 393 ExternalVideoSurfaceContainer* |
390 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 394 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
391 WebContents* web_contents) { | 395 WebContents* web_contents) { |
392 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 396 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
393 return nullptr; | 397 return nullptr; |
394 } | 398 } |
395 #endif | 399 #endif |
396 | 400 |
397 } // namespace content | 401 } // namespace content |
OLD | NEW |