Expose isWindowless for the browser
Call to browser.isWindowless currently causes Unresolved reference Is used to check if the browser is running in OSR mode
I think it should be like
class KCEFBrowser internal constructor(
val client: KCEFClient,
private val browser: CefBrowser
) : CefBrowser by browser {
val mainKCEFFrame: KCEFFrame
get() = mainFrame as KCEFFrame
val focusedKCEFFrame: KCEFFrame
get() = focusedFrame as KCEFFrame
val isWindowless: Boolean
get() = browser.isWindowless
but I am not sure (if override is needed), since I can't compile the lib locally
KCEFBrowser already exposes all CefBrowser fields and methods
Hmm. Strange. I have tried to call it here https://github.com/KevinnZou/compose-webview-multiplatform/blob/main/webview/src/desktopMain/kotlin/com/multiplatform/webview/web/WebView.desktop.kt#L145 But got an Unresolved reference error. Can it be, what compose-webview-multiplatform has a problem with the dependencies and therefore it can't be called there?
@DatL4g So I have used windowless framerate call (browser.windowlessFrameRate.get) therefore: https://github.com/KevinnZou/compose-webview-multiplatform/pull/353/commits/c0d7bf654687f880ab5da5b906cca42862f9ed13#diff-e3597289ce5c997d467211ef71857a5dde024d837e70571152ec7ccaffee8eacR140