Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(377)

Side by Side Diff: content/public/browser/content_browser_client.cc

Issue 1248363003: Merge M45: Remove NPAPI command line flags entirely. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2454
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/browser/content_browser_client.h ('k') | content/public/common/content_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698