public abstract class CefRequestContextHandlerAdapter extends java.lang.Object implements CefRequestContextHandler
构造器和说明 |
---|
CefRequestContextHandlerAdapter() |
限定符和类型 | 方法和说明 |
---|---|
CefCookieManager |
getCookieManager()
Called on the IO thread to retrieve the cookie manager.
在IO线程上调用以检索cookie管理器。 |
boolean |
onBeforePluginLoad(java.lang.String mime_type, java.lang.String plugin_url, boolean is_main_frame, java.lang.String top_origin_url, CefWebPluginInfo plugin_info)
Called on multiple browser process threads before a plugin instance is loaded.
在加载插件实例之前调用多个浏览器进程线程。 |
public CefCookieManager getCookieManager()
CefRequestContextHandler
getCookieManager
在接口中
CefRequestContextHandler
public boolean onBeforePluginLoad(java.lang.String mime_type, java.lang.String plugin_url, boolean is_main_frame, java.lang.String top_origin_url, CefWebPluginInfo plugin_info)
CefRequestContextHandler
onBeforePluginLoad
在接口中
CefRequestContextHandler
mime_type
- is the mime type of the plugin that will be loaded.
- 是要加载的插件的mime类型。
plugin_url
- is the content URL that the plugin will load and may be empty.
- 是插件将加载的内容URL,可能为空。
is_main_frame
- will be true if the plugin is being loaded in the main (top-level) frame.
- 如果插件正在主(顶级)框架中加载,则为true。
top_origin_url
- is the URL for the top-level frame that contains the plugin when loading a specific plugin instance or empty when building the initial list of enabled plugins for 'navigator.plugins' JavaScript state.
- 是加载特定插件实例时包含插件的顶级框架的URL,或者是为“navigator.plugins”JavaScript状态构建启用插件的初始列表时为空的URL。
plugin_info
- includes additional information about the plugin that will be loaded. |plugin_policy| is the recommended policy.
- 包括有关将加载的插件的其他信息。 | plugin_policy |是推荐的政策。