Пример #1
0
 /// <summary>
 /// Method that will be called once for each plugin. |count| is the 0-based
 /// index for the current plugin. |total| is the total number of plugins.
 /// Return false (0) to stop visiting plugins. This function may never be
 /// called if no plugins are found.
 /// </summary>
 protected internal unsafe virtual bool Visit(CefWebPluginInfo info, int count, int total)
 {
     return(default);
Пример #2
0
 /// <summary>
 /// Called on multiple browser process threads before a plugin instance is
 /// loaded. |mime_type| is the mime type of the plugin that will be loaded.
 /// |plugin_url| is the content URL that the plugin will load and may be NULL.
 /// |is_main_frame| will be true (1) if the plugin is being loaded in the main
 /// (top-level) frame, |top_origin_url| is the URL for the top-level frame that
 /// contains the plugin when loading a specific plugin instance or NULL when
 /// building the initial list of enabled plugins for &apos;navigator.plugins&apos;
 /// JavaScript state. |plugin_info| includes additional information about the
 /// plugin that will be loaded. |plugin_policy| is the recommended policy.
 /// Modify |plugin_policy| and return true (1) to change the policy. Return
 /// false (0) to use the recommended policy. The default plugin policy can be
 /// set at runtime using the `--plugin-policy=[allow|detect|block]` command-
 /// line flag. Decisions to mark a plugin as disabled by setting
 /// |plugin_policy| to PLUGIN_POLICY_DISABLED may be cached when
 /// |top_origin_url| is NULL. To purge the plugin list cache and potentially
 /// trigger new calls to this function call
 /// cef_request_context_t::PurgePluginListCache.
 /// </summary>
 protected internal unsafe virtual bool OnBeforePluginLoad(string mimeType, string pluginUrl, bool isMainFrame, string topOriginUrl, CefWebPluginInfo pluginInfo, ref CefPluginPolicy pluginPolicy)
 {
     return(default);
Пример #3
0
 /// <summary>
 /// Method that will be called once for each plugin. |count| is the 0-based
 /// index for the current plugin. |total| is the total number of plugins.
 /// Return false (0) to stop visiting plugins. This function may never be
 /// called if no plugins are found.
 /// </summary>
 public unsafe virtual bool Visit(CefWebPluginInfo info, int count, int total)
 {
     return(default);