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

Unified Diff: content/public/browser/plugin_service.h

Issue 19844003: Remove webkit/plugins/npapi. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: remove GetDefaultWindowParent Created 7 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 side-by-side diff with in-line comments
Download patch
Index: content/public/browser/plugin_service.h
===================================================================
--- content/public/browser/plugin_service.h (revision 212595)
+++ content/public/browser/plugin_service.h (working copy)
@@ -143,6 +143,10 @@
virtual void GetInternalPlugins(
std::vector<webkit::WebPluginInfo>* plugins) = 0;
+ // Returns true iff NPAPI plugins are supported on the current platform.
+ // This can be called from any thread.
+ virtual bool NPAPIPluginsSupported() = 0;
+
// This is equivalent to specifying kDisablePluginsDiscovery, but is useful
// for unittests.
virtual void DisablePluginsDiscoveryForTesting() = 0;
@@ -151,6 +155,13 @@
// Called when the application is made active so that modal plugin windows can
// be made forward too.
virtual void AppActivated() = 0;
+#elif defined(OS_WIN)
+ // Returns the name and version of a plugin HWND. If the HWND isn't a valid
+ // plugin, returns false.
+ // This can be called from any thread.
+ virtual bool GetPluginInfoFromWindow(HWND window,
+ base::string16* plugin_name,
+ base::string16* plugin_version) = 0;
#endif
};

Powered by Google App Engine
This is Rietveld 408576698