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

src/wpe/mod.rs (1000B)

 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 /// What a frame changed, so only that much is read back and uploaded.
14 mod damage;
15 /// Which page text field is open, for the on-screen keyboard.
16 mod ime;
17 mod input;
18 mod glib_source;
19 mod host;
20 /// The page half of account autocomplete: the watcher script and the events
21 /// it exchanges with the chrome.
22 pub mod formwatch;
23 
24 // Not consumed yet — main.rs still drives ServoHost.
25 #[allow(unused_imports)]
26 pub use formwatch::FormEvent;
27 pub use host::{
28     ContextMenuInfo, OptionItem, OptionMenuInfo, PendingAuth, PendingDialog, Tab, WebKitHost,
29 };