···716716 #[servo_tracing::instrument(skip_all)]
717717 fn handle_refresh_cursor(&self, pipeline_id: PipelineId) {
718718 let Some(pipeline) = self.pipelines.get(&pipeline_id) else {
719719-@@ -4634,7 +5214,7 @@
719719+@@ -4638,7 +5218,7 @@
720720 }
721721722722 #[servo_tracing::instrument(skip_all)]
···725725 // Send a flat projection of the history to embedder.
726726 // The final vector is a concatenation of the URLs of the past
727727 // entries, the current entry and the future entries.
728728-@@ -4737,9 +5317,23 @@
728728+@@ -4741,9 +5321,23 @@
729729 );
730730 self.embedder_proxy.send(EmbedderMsg::HistoryChanged(
731731 webview_id,
···2121 };
2222 pub use from_script_message::*;
2323 use malloc_size_of_derive::MallocSizeOf;
2424-@@ -37,9 +38,70 @@
2424+@@ -36,9 +37,70 @@
2525 use servo_url::{ImmutableOrigin, ServoUrl};
2626 pub use structured_data::*;
2727 use strum::IntoStaticStr;
···9393 /// Messages to the Constellation from the embedding layer, whether from `ServoRenderer` or
9494 /// from `libservo` itself.
9595 #[derive(IntoStaticStr)]
9696-@@ -117,6 +179,9 @@
9696+@@ -116,6 +178,9 @@
9797 UserContentManagerAction(UserContentManagerId, UserContentManagerAction),
9898 /// Update pinch zoom details stored in the top level window
9999 UpdatePinchZoomInfos(PipelineId, PinchZoomInfos),
+4-4
patches/components/shared/paint/lib.rs.patch
···1818 use webrender_api::{
1919 BuiltDisplayList, BuiltDisplayListDescriptor, ExternalImage, ExternalImageData,
2020 ExternalImageHandler, ExternalImageId, ExternalScrollId, FontInstanceFlags, FontInstanceKey,
2121-@@ -187,6 +187,45 @@
2222- ScreenshotReadinessReponse(WebViewId, FxHashMap<PipelineId, Epoch>),
2323- /// The candidate of largest-contentful-paint
2121+@@ -189,6 +189,45 @@
2422 SendLCPCandidate(LCPCandidate, WebViewId, PipelineId, Epoch),
2323+ /// Enable LCP calculation for the given WebView.
2424+ EnableLCPCalculation(WebViewId),
2525+ /// Update the position and size of an embedded webview within its parent webview.
2626+ /// Used for routing input events to embedded webviews.
2727+ UpdateEmbeddedWebViewRect {
···6464 }
65656666 impl Debug for PaintMessage {
6767-@@ -540,6 +579,65 @@
6767+@@ -542,6 +581,65 @@
6868 source,
6969 ));
7070 }
+2-2
patches/components/shared/script/lib.rs.patch
···2020 };
2121 use euclid::{Scale, Size2D};
2222 use fonts_traits::SystemFontServiceProxySender;
2323-@@ -78,6 +78,14 @@
2323+@@ -77,6 +77,14 @@
2424 pub user_content_manager_id: Option<UserContentManagerId>,
2525 /// The [`Theme`] of the new layout.
2626 pub theme: Theme,
···3535 }
36363737 /// When a pipeline is closed, should its browsing context be discarded too?
3838-@@ -309,6 +317,19 @@
3838+@@ -306,6 +314,19 @@
3939 /// Update the pinch zoom details of a pipeline. Each `Window` stores a `VisualViewport` DOM
4040 /// instance that gets updated according to the changes from the `Compositor``.
4141 UpdatePinchZoomInfos(PipelineId, PinchZoomInfos),