Skip to main content

forge_browser/
lib.rs

1//! The server-owned browser: one CEF host process per org profile, and the
2//! host owns that profile's tabs.
3//!
4//! The host is a bundle of its own (`Forge Browser.app`), staged by
5//! `scripts/stage-browser-host.sh` beside forge's machine-local state, so
6//! the server never links CEF into its own process and nothing here needs
7//! the client installed.
8
9// **The host that uses this is macOS's; the module still compiles for the
10// lib's own tests so its routing and origin rules run on every platform.**
11#[cfg(any(target_os = "macos", test))]
12pub mod bridge;
13#[cfg(unix)]
14pub mod channel;
15pub mod control;
16pub mod frame;
17pub mod host_bundle;
18pub mod idle;
19pub mod input;
20pub mod profiles;
21pub mod tabs;
22
23#[cfg(target_os = "macos")]
24pub mod audio;
25#[cfg(target_os = "macos")]
26pub(crate) mod bridge_renderer;
27#[cfg(target_os = "macos")]
28pub(crate) mod challenge;
29#[cfg(target_os = "macos")]
30pub mod client_application;
31#[cfg(target_os = "macos")]
32pub mod custom;
33#[cfg(target_os = "macos")]
34pub mod dialog;
35#[cfg(target_os = "macos")]
36pub mod download;
37#[cfg(target_os = "macos")]
38pub mod driver;
39#[cfg(target_os = "macos")]
40pub mod engine;
41#[cfg(target_os = "macos")]
42pub mod host;
43#[cfg(target_os = "macos")]
44pub mod jsdialog;
45#[cfg(target_os = "macos")]
46pub mod osr;
47#[cfg(target_os = "macos")]
48pub mod record;
49#[cfg(target_os = "macos")]
50pub mod service;
51#[cfg(target_os = "macos")]
52pub mod spawn;
53#[cfg(target_os = "macos")]
54pub mod veto;
55#[cfg(target_os = "macos")]
56pub mod window;