servo/components/shared/embedder
Martin Robinson d3e57a513c
constellation: Pass system theme to new Pipelines (#37132)
Previously, when the theme was set it was only set on currently active
`Window`s. This change makes setting the `Theme` stateful. Now the
`Constellation` tracks what theme is applied to a `WebView` and properly
passes that value to new `Pipeline`s when they are constructed. In
addition, the value is passed to layout when that is constructed as
well.

Testing: this change adds a unit test.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-05-26 12:05:38 +00:00
..
build.rs Set the cfg properly for the production-stripped profile (#32991) 2024-08-09 09:16:51 +00:00
Cargo.toml constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
input_events.rs Synchronize dispatch_actions in WebDriver (#36932) 2025-05-21 11:03:04 +00:00
lib.rs constellation: Pass system theme to new Pipelines (#37132) 2025-05-26 12:05:38 +00:00
resources.rs Replace hsts preload list hashmap with an FST (#37015) 2025-05-20 04:26:55 +00:00
user_content_manager.rs Allow setting userscripts directly without the need of files (#35388) 2025-03-27 03:00:08 +00:00
webdriver.rs Synchronize dispatch_actions in WebDriver (#36932) 2025-05-21 11:03:04 +00:00