servo/components/constellation
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
..
browsingcontext.rs Trace more functions by adding perfetto tracing events (#33417) 2024-09-13 05:51:19 +00:00
Cargo.toml Add webgpu feature flag (#34444) 2024-12-05 16:07:27 +00:00
constellation.rs Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
event_loop.rs clippy: Fix warnings in components/constellation (#31610) 2024-03-11 10:22:28 +00:00
lib.rs constellation: allow event tracing to be configured with RUST_LOG (#31659) 2024-03-14 12:28:36 +00:00
logging.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00
network_listener.rs Use ROUTER::add_typed_route instead of ROUTER::add_route everywhere (#33866) 2024-10-18 10:47:52 +00:00
pipeline.rs feat: webxr feature flag (#34241) 2024-11-13 17:16:58 +00:00
sandboxing.rs Remove some unused dependencies (#34355) 2024-11-25 10:29:58 +00:00
serviceworker.rs Strict import formatting (grouping and granularity) (#30325) 2023-09-11 19:16:54 +00:00
session_history.rs Trace more functions by adding perfetto tracing events (#33417) 2024-09-13 05:51:19 +00:00
timer_scheduler.rs script: Stop using time in DOM timers (#33262) 2024-08-30 15:20:44 +00:00
tracing.rs Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
webview.rs Move non-gfx things out of gfx_traits and create a base crate (#32296) 2024-05-17 12:28:58 +00:00