move ConstellationMsg to compositing

This commit is contained in:
Kunal Mohan 2020-01-28 23:32:22 +05:30
parent b3ac17b82f
commit 8d4aeef08b
No known key found for this signature in database
GPG key ID: 2B475A4524237BAC
15 changed files with 133 additions and 122 deletions

View file

@ -5,7 +5,7 @@
//! Communication with the compositor thread.
use crate::compositor::CompositingReason;
use crate::SendableFrameTree;
use crate::{ConstellationMsg, SendableFrameTree};
use crossbeam_channel::{Receiver, Sender};
use embedder_traits::EventLoopWaker;
use euclid::Rect;
@ -15,7 +15,7 @@ use msg::constellation_msg::{PipelineId, TopLevelBrowsingContextId};
use net_traits::image::base::Image;
use profile_traits::mem;
use profile_traits::time;
use script_traits::{AnimationState, ConstellationMsg, EventResult, MouseButton, MouseEventType};
use script_traits::{AnimationState, EventResult, MouseButton, MouseEventType};
use std::fmt::{Debug, Error, Formatter};
use style_traits::viewport::ViewportConstraints;
use style_traits::CSSPixel;