mirror of
https://github.com/servo/servo.git
synced 2025-08-13 01:15:34 +01:00
Move ScriptMsg from msg crate into script_traits
This commit is contained in:
parent
8ba470d79f
commit
5507be2653
30 changed files with 121 additions and 109 deletions
|
@ -7,9 +7,9 @@
|
|||
use flow::{self, Flow};
|
||||
use gfx::display_list::OpaqueNode;
|
||||
use incremental::{self, RestyleDamage};
|
||||
use msg::constellation_msg::ScriptMsg as ConstellationMsg;
|
||||
use msg::constellation_msg::{AnimationState, ConstellationChan, PipelineId};
|
||||
use script::layout_interface::Animation;
|
||||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use std::collections::HashMap;
|
||||
use std::collections::hash_map::Entry;
|
||||
use std::sync::mpsc::{Sender, Receiver};
|
||||
|
@ -162,4 +162,3 @@ pub fn update_style_for_animation(animation: &Animation,
|
|||
|
||||
*style = new_style
|
||||
}
|
||||
|
||||
|
|
|
@ -35,7 +35,6 @@ use layout_debug;
|
|||
use layout_traits::LayoutTaskFactory;
|
||||
use log;
|
||||
use msg::compositor_msg::{Epoch, LayerId, ScrollPolicy};
|
||||
use msg::constellation_msg::ScriptMsg as ConstellationMsg;
|
||||
use msg::constellation_msg::{ConstellationChan, Failure, PipelineId};
|
||||
use net_traits::image_cache_task::{ImageCacheChan, ImageCacheResult, ImageCacheTask};
|
||||
use parallel::{self, WorkQueueData};
|
||||
|
@ -50,6 +49,7 @@ use script::layout_interface::{LayoutRPC, OffsetParentResponse};
|
|||
use script::layout_interface::{Msg, NewLayoutTaskInfo, Reflow, ReflowGoal, ReflowQueryType};
|
||||
use script::layout_interface::{ScriptLayoutChan, ScriptReflow};
|
||||
use script::reporter::CSSErrorReporter;
|
||||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use script_traits::{ConstellationControlMsg, LayoutControlMsg, OpaqueScriptLayoutChannel};
|
||||
use sequential;
|
||||
use serde_json;
|
||||
|
|
|
@ -14,11 +14,11 @@ use fragment::{Fragment, FragmentBorderBoxIterator, SpecificFragmentInfo};
|
|||
use gfx::display_list::{DisplayItemMetadata, OpaqueNode};
|
||||
use layout_task::LayoutTaskData;
|
||||
use msg::constellation_msg::ConstellationChan;
|
||||
use msg::constellation_msg::ScriptMsg as ConstellationMsg;
|
||||
use opaque_node::OpaqueNodeMethods;
|
||||
use script::layout_interface::{ContentBoxResponse, ContentBoxesResponse, NodeGeometryResponse};
|
||||
use script::layout_interface::{HitTestResponse, LayoutRPC, MouseOverResponse, OffsetParentResponse};
|
||||
use script::layout_interface::{ResolvedStyleResponse, ScriptLayoutChan};
|
||||
use script_traits::ScriptMsg as ConstellationMsg;
|
||||
use selectors::parser::PseudoElement;
|
||||
use sequential;
|
||||
use std::ops::Deref;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue