public interface CefLifeSpanHandler
| Modifier and Type | Method and Description |
|---|---|
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.
|
boolean doClose(CefBrowser browser)
browser - The browser generating the event.void onAfterCreated(CefBrowser browser)
browser - The browser generating the event.void onAfterParentChanged(CefBrowser browser)
browser - The browser generating the event.void onBeforeClose(CefBrowser browser)
browser - The browser generating the event.boolean onBeforePopup(CefBrowser browser, CefFrame frame, java.lang.String target_url, java.lang.String target_frame_name)
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.