| 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 335 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 346 | 346 |
| 347 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( | 347 ui::SelectFilePolicy* ContentBrowserClient::CreateSelectFilePolicy( |
| 348 WebContents* web_contents) { | 348 WebContents* web_contents) { |
| 349 return nullptr; | 349 return nullptr; |
| 350 } | 350 } |
| 351 | 351 |
| 352 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { | 352 LocationProvider* ContentBrowserClient::OverrideSystemLocationProvider() { |
| 353 return nullptr; | 353 return nullptr; |
| 354 } | 354 } |
| 355 | 355 |
| 356 bool ContentBrowserClient::UseDefaultLocationProviders() { |
| 357 return true; |
| 358 } |
| 359 |
| 356 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { | 360 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { |
| 357 return nullptr; | 361 return nullptr; |
| 358 } | 362 } |
| 359 | 363 |
| 360 TracingDelegate* ContentBrowserClient::GetTracingDelegate() { | 364 TracingDelegate* ContentBrowserClient::GetTracingDelegate() { |
| 361 return nullptr; | 365 return nullptr; |
| 362 } | 366 } |
| 363 | 367 |
| 364 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( | 368 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
| 365 BrowserContext* browser_context, | 369 BrowserContext* browser_context, |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 #if defined(VIDEO_HOLE) | 430 #if defined(VIDEO_HOLE) |
| 427 ExternalVideoSurfaceContainer* | 431 ExternalVideoSurfaceContainer* |
| 428 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 432 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
| 429 WebContents* web_contents) { | 433 WebContents* web_contents) { |
| 430 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 434 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
| 431 return nullptr; | 435 return nullptr; |
| 432 } | 436 } |
| 433 #endif | 437 #endif |
| 434 | 438 |
| 435 } // namespace content | 439 } // namespace content |
| OLD | NEW |