servo/ports/servoshell
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
..
desktop Add embedder event for preferred color scheme and respond to it in the LayoutThread (#34532) 2024-12-12 06:17:02 +00:00
egl Use webrender_api::units::DevicePixel rather than style_traits::DevicePixel unless interfacing with Stylo (#34353) 2024-11-25 23:42:04 +00:00
platform minibrowser: implement HiDPI support (#30343) 2023-09-14 13:24:38 +00:00
backtrace.rs Add OpenHarmony support to servoshell (#32594) 2024-06-28 12:51:50 +00:00
build.rs Update vergen to v9 (#34283) 2024-11-19 06:47:15 +00:00
Cargo.toml Add prefs to limit threadpool sizes (#34478) 2024-12-07 05:25:17 +00:00
crash_handler.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
lib.rs Plumb URL into interval profiler tracing events (#34337) 2024-11-22 13:31:00 +00:00
main.rs Make tracing available on all platforms, with or without perfetto (#33301) 2024-09-04 12:56:29 +00:00
panic_hook.rs testing: Trigger a crash more reliably when panicking and hard fail is active (#32947) 2024-08-06 17:43:06 +00:00
parser.rs Fix various clippy warnings on OpenHarmony (#34281) 2024-11-19 05:21:48 +00:00
prefs.rs Allow prefs to be overridden from a file and set WPT-specific prefs from file (#33163) 2024-08-24 06:47:57 +00:00
resources.rs Basic tab strip for the minibrowser (#33100) 2024-08-27 20:17:33 +00:00
test.rs clippy: fix warnings on modules outside components (#31567) 2024-03-07 23:42:39 +00:00