git.lucas.co / cce-browser
web browser (Servo)
git clone https://git.lucas.co/cce-browser.git

src/wpe/mod.rs (829B)

 1 //! The WPE WebKit engine backend (feature `wpe`, off by default).
 2 //!
 3 //! Mirrors `webview.rs`'s `ServoHost` surface so `main.rs` can swap engines
 4 //! with minimal churn — see WPE-PORT.md. Nothing here is wired into the app
 5 //! yet; the shipping browser is still Servo.
 6 
 7 pub mod ffi {
 8     #![allow(non_upper_case_globals, non_camel_case_types, non_snake_case, dead_code)]
 9     include!(concat!(env!("OUT_DIR"), "/wpe_bindings.rs"));
10 }
11 
12 mod subclass;
13 mod input;
14 mod glib_source;
15 mod host;
16 /// The page half of account autocomplete: the watcher script, the fill
17 /// script, and the events they exchange with the chrome.
18 pub mod formwatch;
19 
20 // Not consumed yet — main.rs still drives ServoHost.
21 #[allow(unused_imports)]
22 pub use formwatch::FormEvent;
23 pub use host::{ContextMenuInfo, PendingAuth, PendingDialog, Tab, WebKitHost};