servo/support
Martin Robinson 23524a5413
libservo: Move size handling to RenderContext from WindowMethods (#35621)
This is the first step toward removing `WindowMethods`, which will
gradually be integrated into the `WebView` and `WebViewDelegate`. Sizing
of the `WebView` is now handled by the a size associated with a
`RenderingContext`. `WebView`s will eventually just paint the entire
size of their `RenderingContext`. Notes:

- This is transitionary step so now there is a `WebView::resize` and a
  `WebView::move_resize`. The first is the future which will resize the
  `WebView` and its associated `RenderingContext`. The second is a
  function that the virtual `WebView`s that will soon be replaced by a
  the one-`WebView` per `WebView` model.
- We do not need to call `WebView::move_resize` at as much any longer
  because the default size of the `WebView` is to take up the whole
  `RenderingContext`.
- `SurfmanRenderingContext` is no longer exposed in the API, as a
  surfman context doesn't naturally have a size unless a surface is
  bound to it.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
2025-02-25 15:03:53 +00:00
..
android libservo: Move size handling to RenderContext from WindowMethods (#35621) 2025-02-25 15:03:53 +00:00
arm32 Update MPL license to https (part 1) 2018-11-19 14:46:43 +01:00
arm64 Update MPL license to https (part 1) 2018-11-19 14:46:43 +01:00
crown Update to rust 1.85 (#35628) 2025-02-24 17:44:35 +00:00
macos Bootstrap pkg-config and cmake on MacOS (#30497) 2023-10-05 01:12:29 +00:00
openharmony ohos: Improve argument filtering (#34422) 2024-12-02 08:17:53 +00:00
rust-task_info Add rust-version to all Cargo.toml files (#33483) 2024-09-17 16:39:07 +00:00
windows Attempt to link to MPL-2.0 license page in Windows installer (#33711) 2024-10-08 09:24:23 +00:00
suppressed_leaks_for_asan.txt Fix a memory leak in components/script/script_runtime.rs and add more leak suppressions (#33175) 2024-08-26 07:33:23 +00:00