servo/components/fonts
Delan Azabani 5e9de2cb61
Include WebViewId into EmbedderMsg variants where possible (#35211)
`EmbedderMsg` was previously paired with an implicit
`Option<WebViewId>`, even though almost all variants were either always
`Some` or always `None`, depending on whether there was a `WebView
involved.

This patch adds the `WebViewId` to as many `EmbedderMsg` variants as
possible, so we can call their associated `WebView` delegate methods
without needing to check and unwrap the `Option`. In many cases, this
required more changes to plumb through the `WebViewId`.

Notably, all `Request`s now explicitly need a `WebView` or not, in order
to ensure that it is passed when appropriate.

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-01-30 11:15:35 +00:00
..
platform Fix some clippy issues on the Android build (#35147) 2025-01-23 15:18:58 +00:00
tests fonts: fix broken caching of font template matches (#34325) 2024-11-21 12:23:14 +00:00
Cargo.toml Fix building libservo with cargo build -p libservo (#35116) 2025-01-23 09:05:10 +00:00
font.rs Additional tracing for flex layout, inline layout, and fonts (#34392) 2024-11-27 02:44:06 +00:00
font_context.rs Include WebViewId into EmbedderMsg variants where possible (#35211) 2025-01-30 11:15:35 +00:00
font_store.rs fonts: Instantiate system fonts using system font loaders (#33747) 2024-10-10 23:09:51 +00:00
font_template.rs fonts: Simplify FontContext in two ways that affect the unit test (#33541) 2024-09-25 20:15:47 +00:00
glyph.rs Upgrade rustc to 1.83 (#34793) 2025-01-01 09:38:28 +00:00
lib.rs clippy: Fix issues in components/fonts and ports/servoshell (#33809) 2024-10-11 17:23:38 +00:00
shaper.rs clippy: Add safety documentation and clean up unsafe methods (#33748) 2024-10-16 08:11:31 +00:00
system_font_service.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00