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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 } | 300 } |
301 | 301 |
302 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { | 302 DevToolsManagerDelegate* ContentBrowserClient::GetDevToolsManagerDelegate() { |
303 return nullptr; | 303 return nullptr; |
304 } | 304 } |
305 | 305 |
306 TracingDelegate* ContentBrowserClient::GetTracingDelegate() { | 306 TracingDelegate* ContentBrowserClient::GetTracingDelegate() { |
307 return nullptr; | 307 return nullptr; |
308 } | 308 } |
309 | 309 |
| 310 bool ContentBrowserClient::IsNPAPIEnabled() { |
| 311 return false; |
| 312 } |
| 313 |
310 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( | 314 bool ContentBrowserClient::IsPluginAllowedToCallRequestOSFileHandle( |
311 BrowserContext* browser_context, | 315 BrowserContext* browser_context, |
312 const GURL& url) { | 316 const GURL& url) { |
313 return false; | 317 return false; |
314 } | 318 } |
315 | 319 |
316 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( | 320 bool ContentBrowserClient::IsPluginAllowedToUseDevChannelAPIs( |
317 BrowserContext* browser_context, | 321 BrowserContext* browser_context, |
318 const GURL& url) { | 322 const GURL& url) { |
319 return false; | 323 return false; |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
351 #if defined(VIDEO_HOLE) | 355 #if defined(VIDEO_HOLE) |
352 ExternalVideoSurfaceContainer* | 356 ExternalVideoSurfaceContainer* |
353 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( | 357 ContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( |
354 WebContents* web_contents) { | 358 WebContents* web_contents) { |
355 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; | 359 NOTREACHED() << "Hole-punching is not supported. See crbug.com/469348."; |
356 return nullptr; | 360 return nullptr; |
357 } | 361 } |
358 #endif | 362 #endif |
359 | 363 |
360 } // namespace content | 364 } // namespace content |
OLD | NEW |