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

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

Issue 1862513003: Remove NPAPI from browser and utility (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 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 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 5 #ifndef CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 6 #define CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <map> 10 #include <map>
(...skipping 614 matching lines...) Expand 10 before | Expand all | Expand 10 after
625 virtual LocationProvider* OverrideSystemLocationProvider(); 625 virtual LocationProvider* OverrideSystemLocationProvider();
626 626
627 // Creates a new DevToolsManagerDelegate. The caller owns the returned value. 627 // Creates a new DevToolsManagerDelegate. The caller owns the returned value.
628 // It's valid to return nullptr. 628 // It's valid to return nullptr.
629 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate(); 629 virtual DevToolsManagerDelegate* GetDevToolsManagerDelegate();
630 630
631 // Creates a new TracingDelegate. The caller owns the returned value. 631 // Creates a new TracingDelegate. The caller owns the returned value.
632 // It's valid to return nullptr. 632 // It's valid to return nullptr.
633 virtual TracingDelegate* GetTracingDelegate(); 633 virtual TracingDelegate* GetTracingDelegate();
634 634
635 // Returns true if NPAPI plugins are enabled.
636 virtual bool IsNPAPIEnabled();
637
638 // Returns true if plugin referred to by the url can use 635 // Returns true if plugin referred to by the url can use
639 // pp::FileIO::RequestOSFileHandle. 636 // pp::FileIO::RequestOSFileHandle.
640 virtual bool IsPluginAllowedToCallRequestOSFileHandle( 637 virtual bool IsPluginAllowedToCallRequestOSFileHandle(
641 BrowserContext* browser_context, 638 BrowserContext* browser_context,
642 const GURL& url); 639 const GURL& url);
643 640
644 // Returns true if dev channel APIs are available for plugins. 641 // Returns true if dev channel APIs are available for plugins.
645 virtual bool IsPluginAllowedToUseDevChannelAPIs( 642 virtual bool IsPluginAllowedToUseDevChannelAPIs(
646 BrowserContext* browser_context, 643 BrowserContext* browser_context,
647 const GURL& url); 644 const GURL& url);
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
765 // Allows an embedder to provide its own ExternalVideoSurfaceContainer 762 // Allows an embedder to provide its own ExternalVideoSurfaceContainer
766 // implementation. Return nullptr to disable external surface video. 763 // implementation. Return nullptr to disable external surface video.
767 virtual ExternalVideoSurfaceContainer* 764 virtual ExternalVideoSurfaceContainer*
768 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents); 765 OverrideCreateExternalVideoSurfaceContainer(WebContents* web_contents);
769 #endif 766 #endif
770 }; 767 };
771 768
772 } // namespace content 769 } // namespace content
773 770
774 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_ 771 #endif // CONTENT_PUBLIC_BROWSER_CONTENT_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « content/public/browser/browser_child_process_observer.h ('k') | content/public/browser/content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698