Skip to main content

Crate browser

Crate browser 

Source
Expand description

A platform webview hosted in a gpui window.

The page is a native view (WKWebView on macOS, WebView2 on Windows, webkit2gtk on Linux) above gpui’s own surface, not pixels gpui paints. Nothing gpui paints can cover it, and gpui’s content masks do not clip it. On the web build, [Frame] is an <iframe> above the canvas, under the same limits.

Structs§

WebView
A webview showing one page.

Enums§

EvalError
Why WebView::eval has no value.
LoadState
WebViewEvent
What the page reports about itself.