browser/lib.rs
1//! A platform webview hosted in a gpui window.
2//!
3//! The page is a native view (WKWebView on macOS, WebView2 on Windows,
4//! webkit2gtk on Linux) above gpui's own surface, not pixels gpui paints.
5//! Nothing gpui paints can cover it, and gpui's content masks do not clip it.
6//! On the web build, [`Frame`] is an `<iframe>` above the canvas, under the
7//! same limits.
8
9#[cfg(target_family = "wasm")]
10mod frame;
11mod host;
12mod view;
13
14#[cfg(target_family = "wasm")]
15pub use frame::Frame;
16pub use view::{EvalError, LoadState, WebView, WebViewEvent};