Skip to main content

vs_engine_webkit/backend/
mod.rs

1//! Concrete [`Engine`](crate::engine::Engine) implementations.
2//!
3//! - [`webkit`] *(macOS)* — system WebKit framework via `objc2` +
4//!   `objc2-web-kit`. Real `WKWebView`. Requires the Cocoa main thread.
5//! - [`wpe`] *(Linux)* — WebKitGTK 6 via `webkit6` + `glib`. Real
6//!   `WebView`. Requires the GLib main context.
7//! - [`webview2`] *(Windows)* — Microsoft WebView2 via `webview2-com` +
8//!   `windows-rs`. Real `ICoreWebView2`. Requires the Win32 message
9//!   pump.
10
11pub(crate) mod auth;
12mod common;
13pub(crate) mod inspector_bridge;
14mod native_download;
15
16#[cfg(target_os = "macos")]
17pub mod webkit;
18
19#[cfg(target_os = "linux")]
20pub mod wpe;
21
22#[cfg(target_os = "linux")]
23mod wpe_input;
24
25#[cfg(target_os = "linux")]
26mod wpe_popups;
27
28#[cfg(target_os = "linux")]
29mod wpe_frames;
30
31#[cfg(target_os = "windows")]
32pub mod webview2;
33
34#[cfg(target_os = "windows")]
35mod webview2_extras;