public abstract class CefLifeSpanHandlerAdapter extends java.lang.Object implements CefLifeSpanHandler
构造器和说明 |
---|
CefLifeSpanHandlerAdapter() |
限定符和类型 | 方法和说明 |
---|---|
boolean |
doClose(CefBrowser browser)
Called when a browser has received a request to close.
(当浏览器收到关闭请求时调用。)
|
void |
onAfterCreated(CefBrowser browser)
Handle creation of a new browser window.
(处理新浏览器窗口的创建。)
|
void |
onAfterParentChanged(CefBrowser browser)
Called after a browser's native parent window has changed.
(在浏览器的本机父窗口更改后调用。)
|
void |
onBeforeClose(CefBrowser browser)
Called just before a browser is destroyed.
(在浏览器被销毁之前调用。)
|
boolean |
onBeforePopup(CefBrowser browser, CefFrame frame, java.lang.String target_url, java.lang.String target_frame_name)
Called on the IO thread before a new popup window is created.
(在创建新的弹出窗口之前在IO线程上调用。)
|
public boolean doClose(CefBrowser browser)
CefLifeSpanHandler
doClose
在接口中
CefLifeSpanHandler
browser
- The browser generating the event.
(-浏览器生成事件。)
public void onAfterCreated(CefBrowser browser)
CefLifeSpanHandler
onAfterCreated
在接口中
CefLifeSpanHandler
browser
- The browser generating the event.
(-浏览器生成事件。)
public void onAfterParentChanged(CefBrowser browser)
CefLifeSpanHandler
onAfterParentChanged
在接口中
CefLifeSpanHandler
browser
- The browser generating the event.
(-浏览器生成事件。)
public void onBeforeClose(CefBrowser browser)
CefLifeSpanHandler
onBeforeClose
在接口中
CefLifeSpanHandler
browser
- The browser generating the event.
(-浏览器生成事件。)
public boolean onBeforePopup(CefBrowser browser, CefFrame frame, java.lang.String target_url, java.lang.String target_frame_name)
CefLifeSpanHandler
onBeforePopup
在接口中
CefLifeSpanHandler
browser
- The source of the popup request.
(-弹出请求的来源。)
frame
- The source of the popup request. Instance only valid within the scope of this method.
(-弹出请求的来源。实例仅在此方法的范围内有效。)
target_url
- May be empty if none is specified with the request.
(-如果请求中未指定任何内容,则可以为空。)
target_frame_name
- May be empty if none is specified with the request.
(-如果请求中未指定任何内容,则可以为空。)