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