diff options
author | Martin Robinson <mrobinson@igalia.com> | 2025-04-17 13:00:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-17 11:00:55 +0000 |
commit | d345844ed715fb96286808da8a5fc81f1bb22447 (patch) | |
tree | 61abb2b6b7ba97849d02e601f7dc3e6f56919074 /components/servo/webview.rs | |
parent | 95ee5708fa432a2903d39c40df5e38ff435f30c1 (diff) | |
download | servo-d345844ed715fb96286808da8a5fc81f1bb22447.tar.gz servo-d345844ed715fb96286808da8a5fc81f1bb22447.zip |
compositing: Remove `windowing.rs` and making `compositing` private (#36582)
This file used to contain the `EmbedderDelegate` and `WindowMethods`
traits, but these are gone now, so we can move the one remaining enum
to be in `compositor.rs` where it is used. This change also stops
exposing the `compositing` crate as public Servo API.
Testing: This does not change behavior so is covered by existing tests.
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Signed-off-by: Martin Robinson <mrobinson@igalia.com>
Diffstat (limited to 'components/servo/webview.rs')
-rw-r--r-- | components/servo/webview.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/components/servo/webview.rs b/components/servo/webview.rs index fb4ba6cc136..f4bf13e3a7e 100644 --- a/components/servo/webview.rs +++ b/components/servo/webview.rs @@ -9,7 +9,6 @@ use std::time::Duration; use base::id::WebViewId; use compositing::IOCompositor; -use compositing::windowing::WebRenderDebugOption; use compositing_traits::RendererWebView; use constellation_traits::{EmbedderToConstellationMessage, TraversalDirection}; use dpi::PhysicalSize; @@ -25,7 +24,7 @@ use webrender_api::units::{DeviceIntPoint, DevicePixel, DeviceRect}; use crate::clipboard_delegate::{ClipboardDelegate, DefaultClipboardDelegate}; use crate::webview_delegate::{DefaultWebViewDelegate, WebViewDelegate}; -use crate::{ConstellationProxy, Servo}; +use crate::{ConstellationProxy, Servo, WebRenderDebugOption}; /// A handle to a Servo webview. If you clone this handle, it does not create a new webview, /// but instead creates a new handle to the webview. Once the last handle is dropped, Servo |