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) above gpui’s own surface, not pixels gpui paints. gpui paints under 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§

ConsoleMessage
One console call, uncaught error or unhandled rejection in the page.
DataStore
Where a page keeps its cookies, storage and cache.
Usage
What a DataStore holds.
WebView
A webview showing one page.

Enums§

ConsoleLevel
The console method a ConsoleMessage came from. Uncaught errors and unhandled rejections are Error.
EvalError
Why WebView::eval has no value.
LoadState
WebViewEvent
What the page reports about itself.