Class CefWebPluginManager


  • public abstract class CefWebPluginManager
    extends java.lang.Object
    Class used to manage web plugins.
    • 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.