onSetFocus

abstract fun onSetFocus(browser: CefBrowser, source: CefFocusHandler.FocusSource): Boolean

Called when the browser component is requesting focus.

Return

false to allow the focus to be set or true to cancel setting the focus.

Parameters

browser

The browser generating the event.

source

indicates/ where the focus request is originating from.