libservo: Re-export types that are used by servoshell (#39586)

servoshell should not depend on internal Servo crates. Instead,
`libervo` should re-export any types that are used by embedders. This
change does that re-export for private types currently used by
servoshell.

Testing: This just changes the way types are imported, so curent tests
should suffice.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2025-09-30 18:36:05 +02:00 committed by GitHub
parent 6a1a3aea08
commit e9d0a8f95d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 21 additions and 26 deletions

View file

@ -63,11 +63,12 @@ use constellation::{
Constellation, FromEmbedderLogger, FromScriptLogger, InitialConstellationState,
UnprivilegedContent,
};
use constellation_traits::{EmbedderToConstellationMessage, ScriptToConstellationChan};
pub use constellation_traits::EmbedderToConstellationMessage;
use constellation_traits::ScriptToConstellationChan;
use crossbeam_channel::{Receiver, Sender, unbounded};
use embedder_traits::FormControl as EmbedderFormControl;
use embedder_traits::user_content_manager::UserContentManager;
pub use embedder_traits::*;
pub use embedder_traits::{WebDriverSenders, *};
use env_logger::Builder as EnvLoggerBuilder;
use fonts::SystemFontService;
#[cfg(all(