servo/components/shared/compositing
Martin Robinson 70f19c749f
compositing: Rename WebView to WebViewRenderer (#36574)
There is a `WebView` in libservo (new) and a `WebView` in compositing
(old). Nowadays, the "real" `WebView` is the one in the libservo. The
`WebView` in `compositing` is really about rendering the contents of a
`WebView` from libservo. In addition there is also a trait exposed by
the compositor called `RendererWebView` which is a way for the
compositor to talk to libservo without a circular dependency.

This changes does some renames to make things clearer and so that there
is One Less WebView™:

- `compositing::WebView` -> `compositing::WebViewRenderer` (this is the
  same kind of naming as `ServoRenderer`).
- `compositing::RendererWebView` -> `compositing::WebViewTrait`

Testing: This is just a couple renames so should be covered by existing
tests.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-04-21 08:47:39 +00:00
..
tests compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00
Cargo.toml layout: Report memory usage for fragment and box trees. (#36553) 2025-04-18 20:05:15 +00:00
display_list.rs layout: Report memory usage for fragment and box trees. (#36553) 2025-04-18 20:05:15 +00:00
lib.rs compositing: Rename WebView to WebViewRenderer (#36574) 2025-04-21 08:47:39 +00:00
rendering_context.rs compositing: Combine webrender_traits and compositing_traits (#36372) 2025-04-06 17:34:18 +00:00