CefJSDialogHandlerAdapter

An abstract adapter class for receiving javascript dialog requests. The methods in this class are empty. This class exists as convenience for creating handler objects.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun onBeforeUnloadDialog(browser: CefBrowser, message_text: String, is_reload: Boolean, callback: CefJSDialogCallback): Boolean
Called to run a dialog asking the user if they want to leave a page.
Link copied to clipboard
open fun onDialogClosed(browser: CefBrowser)
Called when the default implementation dialog is closed.
Link copied to clipboard
open fun onJSDialog(browser: CefBrowser, origin_url: String, dialog_type: CefJSDialogHandler.JSDialogType, message_text: String, default_prompt_text: String, callback: CefJSDialogCallback, suppress_message: BoolRef): Boolean
Called to run a JavaScript dialog.
Link copied to clipboard
open fun onResetDialogState(browser: CefBrowser)
Called to cancel any pending dialogs and reset any saved dialog state.