servo/components/constellation
Martin Robinson 4402b7cf8f
libservo: Remove a couple EmbedderMethods (#36276)
- Remove `EmbedderMethods::get_user_agent_string`. This is now part of
  the `Preferences` data structure, which should allow it to be
  per-`WebView` in the future.
- Remove `EmbedderMethods::get_version_string`. This was used to include
  some data along with WebRender captures about the Servo version. This
  isn't really necessary and it was done to replace code in the past
  that output the WebRender version, so also isn't what the original
  code did. I think we can just remove this entirely.

The idea with these changes is that `EmbedderMethods` can be removed
in a followup and the rest of the methods can be added to
`ServoDelegate`. These two methods are ones that cannot be added to a
delegate as they are used during `Servo` initialization.

Testing: There is currently no testing for libservo. These changes are
meant
as preparation for adding a suite of `WebView` unit tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-01 22:59:50 +00:00
..
browsingcontext.rs base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00
Cargo.toml Organize component Cargo.toml dependencies (#36224) 2025-03-30 19:03:54 +00:00
constellation.rs libservo: Remove a couple EmbedderMethods (#36276) 2025-04-01 22:59:50 +00:00
event_loop.rs compositor: Remove the script channel from the compositor (#36089) 2025-03-23 11:19:27 +00:00
lib.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
logging.rs Create a constellation_traits crate (#36088) 2025-03-22 15:49:08 +00:00
pipeline.rs libservo: Remove a couple EmbedderMethods (#36276) 2025-04-01 22:59:50 +00:00
sandboxing.rs api: Flatten and simplify Servo preferences (#34966) 2025-01-14 13:54:06 +00:00
serviceworker.rs Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
session_history.rs Migrate to the 2024 edition (#35755) 2025-03-13 10:28:11 +00:00
tracing.rs feat(notification): add EmbedderMsg::ShowNotification (#36055) 2025-03-24 13:01:36 +00:00
webview.rs base: Finish rename of TopLevelBrowsingContextId to WebViewId (#35896) 2025-03-11 10:56:10 +00:00