Package org.cef.network
Class CefWebPluginManager
- java.lang.Object
-
- org.cef.network.CefWebPluginManager
-
public abstract class CefWebPluginManager extends java.lang.Object
Class used to manage web plugins.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static CefWebPluginManager
getGlobalManager()
Returns the global plugin manager.abstract void
isWebPluginUnstable(java.lang.String path, CefWebPluginUnstableCallback callback)
Query if a plugin is unstable.abstract void
refreshPlugins()
Cause the plugin list to refresh the next time it is accessed regardless of whether it has already been loaded.abstract void
registerPluginCrash(java.lang.String path)
Register a plugin crash.abstract void
unregisterInternalPlugin(java.lang.String path)
Unregister an internal plugin.abstract void
visitPlugins(CefWebPluginInfoVisitor visitor)
Visit web plugin information.
-
-
-
Method Detail
-
getGlobalManager
public static final CefWebPluginManager getGlobalManager()
Returns the global plugin manager.
-
visitPlugins
public abstract void visitPlugins(CefWebPluginInfoVisitor visitor)
Visit web plugin information. Can be called on any thread in the browser process.- Parameters:
visitor
- Called with plugin information when available.
-
refreshPlugins
public abstract void refreshPlugins()
Cause the plugin list to refresh the next time it is accessed regardless of whether it has already been loaded. Can be called on any thread in the browser process.
-
unregisterInternalPlugin
public abstract void unregisterInternalPlugin(java.lang.String path)
Unregister an internal plugin. This may be undone the next time refreshPlugins() is called. Can be called on any thread in the browser process.- Parameters:
path
- Plugin file path (DLL/bundle/library).
-
registerPluginCrash
public abstract void registerPluginCrash(java.lang.String path)
Register a plugin crash. Can be called on any thread in the browser process but will be executed on the IO thread.- Parameters:
path
- Plugin file path (DLL/bundle/library).
-
isWebPluginUnstable
public abstract void isWebPluginUnstable(java.lang.String path, CefWebPluginUnstableCallback callback)
Query if a plugin is unstable. Can be called on any thread in the browser process.- Parameters:
path
- Plugin file path (DLL/bundle/library).callback
- Called when plugin information is available.
-
-