refactor: organize host modules and document architecture with UML
Verify Tessera GUI / verify (push) Failing after 2m2s

This commit is contained in:
2026-10-25 21:25:43 +08:00
parent 48fcb96f42
commit 18376793b0
85 changed files with 4450 additions and 3653 deletions
+21 -37
View File
@@ -1,41 +1,25 @@
mod activity;
mod api;
mod app;
mod binding;
mod block;
mod clipboard;
mod developer_tools;
mod display_list;
mod document;
mod endor_host;
mod endor_script;
mod event_dispatch;
mod events;
mod geometry;
mod io_tasks;
mod layout;
mod mount;
//! Application composition root. Directory modules own implementation; these
//! crate-private aliases keep existing internal paths stable during reorganization.
mod bridge;
mod model;
mod render;
mod runtime;
mod shell;
pub(crate) use bridge::ui_bridge;
pub(crate) use model::{
binding, block, document, mount, object_list, presentation, protocols, snapshot, window,
};
pub(crate) use render::{
display_list, geometry, layout, native_visual, scene, scroll, software_renderer, source_hit,
source_layout, source_paint, text,
};
pub(crate) use runtime::{
api, endor_host, endor_script, event_dispatch, events, io_tasks, tasks, vm_sequence,
};
#[cfg(target_os = "macos")]
mod native_chrome;
mod native_visual;
mod object_list;
mod presentation;
mod protocols;
mod scene;
mod scroll;
mod snapshot;
mod software_renderer;
mod source_hit;
mod source_layout;
mod source_paint;
mod sources;
mod system_ui;
mod tabs;
mod tasks;
mod text;
mod ui_bridge;
mod vm_sequence;
mod window;
pub(crate) use shell::native_chrome;
pub(crate) use shell::{activity, app, clipboard, developer_tools, sources, system_ui, tabs};
use std::sync::{Arc, RwLock};