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;
13mod drop_shim;
14pub(crate) mod inspector_bridge;
15mod native_download;
16
17#[cfg(target_os = "macos")]
18pub mod webkit;
19
20#[cfg(target_os = "linux")]
21pub mod wpe;
22
23#[cfg(target_os = "linux")]
24mod wpe_input;
25
26#[cfg(target_os = "linux")]
27mod wpe_wheel;
28
29#[cfg(target_os = "linux")]
30mod wpe_xdnd;
31
32#[cfg(target_os = "linux")]
33mod wpe_popups;
34
35#[cfg(target_os = "linux")]
36mod wpe_frames;
37
38#[cfg(target_os = "windows")]
39pub mod webview2;
40
41#[cfg(target_os = "windows")]
42mod webview2_extras;
43
44#[cfg(target_os = "windows")]
45mod wv2_drop;