mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
constellation: Proxy ScrollState
through the Constellation
(#36062)
This will allow removing the dependency of the compositor on `script_traits`, which should make our internal dependency chain a lot easier to deal with. Part of #35984. Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
parent
ec20d9a3d7
commit
1f232eb17c
10 changed files with 60 additions and 33 deletions
|
@ -16,13 +16,13 @@ use embedder_traits::{
|
|||
use euclid::{Point2D, Scale, Vector2D};
|
||||
use fnv::FnvHashSet;
|
||||
use log::{debug, warn};
|
||||
use script_traits::{AnimationState, ScriptThreadMessage, ScrollState, TouchEventResult};
|
||||
use script_traits::{AnimationState, ScriptThreadMessage, TouchEventResult};
|
||||
use webrender::Transaction;
|
||||
use webrender_api::units::{DeviceIntPoint, DevicePoint, DeviceRect, LayoutVector2D};
|
||||
use webrender_api::{
|
||||
ExternalScrollId, HitTestFlags, RenderReasons, SampledScrollOffset, ScrollLocation,
|
||||
};
|
||||
use webrender_traits::CompositorHitTestResult;
|
||||
use webrender_traits::{CompositorHitTestResult, ScrollState};
|
||||
|
||||
use crate::IOCompositor;
|
||||
use crate::compositor::{PipelineDetails, ServoRenderer};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue