servo/components
Delan Azabani 69e7499479
compositor: Make input event handling per-WebView (#35716)
This is another step in the move to having a per-WebView renderer. In
this step event handling is made per-WebView. Most events sent to Servo
are sent via the WebView API already, so this just moves more event
handling code to the per-WebView render portion of the compositor.

- ServoRenderer is given shared ownership and interior mutability as
  it is now shared among all WebView(Renderers).
- Some messages coming from other parts of Servo must now carry a
  WebViewId as well so that they can be associated with a particular
  WebView.
- There needs to be some reorganization of `ServoRenderer` in order to
  avoid issues with double borrow of `RefCells`.

Signed-off-by: Delan Azabani <dazabani@igalia.com>
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
2025-03-05 18:47:13 +00:00
..
allocator Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
background_hang_monitor Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
bluetooth Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
canvas Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
compositing compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00
config compositing: Move image output and shutdown management out of the compositor (#35538) 2025-02-20 18:27:49 +00:00
constellation compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00
deny_public_fields Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
devtools devtools: update targeted firefox version. (#35792) 2025-03-05 06:08:40 +00:00
dom_struct script: Feature-gate all crown support. (#35055) 2025-01-18 21:36:15 +00:00
domobject_derive Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
fonts Upgrade Stylo to 2025-03-01 (#35782) 2025-03-04 00:19:46 +00:00
geometry servoshell: Allow overriding screen resolution with a command-line argument (#34038) 2024-10-30 11:54:13 +00:00
hyper_serde Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
jstraceable_derive Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
layout Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
layout_2020 Reduce allocations in layout_block_level_children_in_parallel (#35781) 2025-03-04 07:48:12 +00:00
layout_thread compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
layout_thread_2020 compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
malloc_size_of libservo: Convert intercept_web_resource_load into load_web_resource (#35564) 2025-02-21 14:36:42 +00:00
media Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
metrics compositor: Make PipelineDetails and pending paint metrics per-WebView (#35701) 2025-03-04 02:31:23 +00:00
net Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
pixels pixels: Fix webp detection (#35474) 2025-02-19 11:09:16 +00:00
profile Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
rand Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
range Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
script refactor: add CanGc as argument to methods in CSSKeyframeRule, CSSMediaRule, CSSRule (#35796) 2025-03-05 08:39:11 +00:00
script_bindings refactor: add CanGc as argument to methods in CSSKeyframeRule, CSSMediaRule, CSSRule (#35796) 2025-03-05 08:39:11 +00:00
servo compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00
shared compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00
timers Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
url Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webdriver_server compositor: Make input event handling per-WebView (#35716) 2025-03-05 18:47:13 +00:00
webgpu Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00
webxr Update rustfmt to the 2024 style edition (#35764) 2025-03-03 11:26:53 +00:00