servo/components/shared
arthmis 26f61103d6
Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532)
* respond to winit platform theme changed event and send it to the layout thread

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* refactoring viewport and theme change handling functions based on feedback

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* fixing issues reported by test-tidy

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

* update stylo in order to use color_scheme function on Device

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>

---------

Signed-off-by: Lloyd Massiah <artmis9@protonmail.com>
Co-authored-by: lazypassion <25536767+lazypassion@users.noreply.github.com>
2024-12-12 06:17:02 +00:00
..
background_hang_monitor Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
base Remove size_of_test macro from legacy layout and inline it (#34055) 2024-10-29 14:46:10 +00:00
bluetooth doc(resources): Add documentation to undocumented embedder_traits::resources::Resource variants (#33885) 2024-10-18 03:44:14 +00:00
canvas Replace sparkle with glow in components/canvas (#33918) 2024-11-20 09:05:24 +00:00
compositing Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
devtools Create HttpStatus to safely deal with HTTP responses status. (#33581) 2024-09-29 18:23:48 +00:00
embedder feat: webxr feature flag (#34241) 2024-11-13 17:16:58 +00:00
fonts Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
net Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
profile Plumb URL into interval profiler tracing events (#34337) 2024-11-22 13:31:00 +00:00
script Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
script_layout Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
webrender Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00