class SystemWindowRequest : WindowRequest
(source)
WebView-based implementation of WindowRequest.
SystemWindowRequest(webView: WebView, newWebView: WebView? = null, openAsDialog: Boolean = false, triggeredByUser: Boolean = false, resultMsg: Message? = null)
WebView-based implementation of WindowRequest. |
val openAsDialog: Boolean
whether or not the window should be opened as a dialog, defaults to false. |
|
val triggeredByUser: Boolean
whether or not the request was triggered by the user, defaults to false. |
|
val url: String
The URL which should be opened in a new window. May be empty if the request was created from JavaScript (using window.open()). |
fun prepare(engineSession: EngineSession): Unit
Prepares the provided EngineSession for the window request. This is used to attach state (e.g. a native session) to the engine session. |
|
fun start(): Unit
Starts the window request. |