CefLifeSpanHandler

Implement this interface to handle events related to browser life span. The methods of this class will be called on the UI thread unless otherwise indicated.

Inheritors

Functions

Link copied to clipboard
abstract fun doClose(browser: CefBrowser): Boolean
Called when a browser has received a request to close.
Link copied to clipboard
abstract fun onAfterCreated(browser: CefBrowser)
Handle creation of a new browser window.
Link copied to clipboard
abstract fun onAfterParentChanged(browser: CefBrowser)
Called after a browser's native parent window has changed.
Link copied to clipboard
abstract fun onBeforeClose(browser: CefBrowser)
Called just before a browser is destroyed.
Link copied to clipboard
abstract fun onBeforePopup(browser: CefBrowser, frame: CefFrame, target_url: String, target_frame_name: String): Boolean
Called on the IO thread before a new popup window is created.