onTakeFocus

abstract fun onTakeFocus(browser: CefBrowser, next: Boolean)

Called when the browser component is about to loose focus. For instance, if focus was on the last HTML element and the user pressed the TAB key.

Parameters

browser

The browser generating the event.

next

will be true if the browser is giving focus to the next component and false if the browser is giving focus to the previous component.