servo/components/shared/script
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
..
tests compositor: Move WebRender-ish messages and types to webrender_traits (#32315) 2024-05-20 10:35:18 +00:00
Cargo.toml Add webgpu feature flag (#34444) 2024-12-05 16:07:27 +00:00
lib.rs Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
script_msg.rs Add webgpu feature flag (#34444) 2024-12-05 16:07:27 +00:00
serializable.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
transferable.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
webdriver_msg.rs Allow running testharness/testdriver/reftests in servodriver (#34550) 2024-12-11 19:18:44 +00:00