mirror of
https://github.com/servo/servo.git
synced 2025-07-29 02:00:23 +01:00
Split ConstellationMsg into ScriptMsg and CompositorMsg
This commit is contained in:
parent
afe03870ce
commit
19294db6e5
29 changed files with 259 additions and 210 deletions
|
@ -24,6 +24,7 @@ extern crate util;
|
|||
use gfx::font_cache_task::FontCacheTask;
|
||||
use gfx::paint_task::LayoutToPaintMsg;
|
||||
use ipc_channel::ipc::{IpcReceiver, IpcSender};
|
||||
use msg::constellation_msg::ScriptMsg as ConstellationMsg;
|
||||
use msg::constellation_msg::{ConstellationChan, Failure, PipelineId};
|
||||
use net_traits::image_cache_task::ImageCacheTask;
|
||||
use profile_traits::{mem, time};
|
||||
|
@ -46,7 +47,7 @@ pub trait LayoutTaskFactory {
|
|||
is_iframe: bool,
|
||||
chan: OpaqueScriptLayoutChannel,
|
||||
pipeline_port: IpcReceiver<LayoutControlMsg>,
|
||||
constellation_chan: ConstellationChan,
|
||||
constellation_chan: ConstellationChan<ConstellationMsg>,
|
||||
failure_msg: Failure,
|
||||
script_chan: Sender<ConstellationControlMsg>,
|
||||
layout_to_paint_chan: OptionalIpcSender<LayoutToPaintMsg>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue