mirror of
https://github.com/servo/servo.git
synced 2025-07-24 15:50:21 +01:00
Dump initial prototype of devtools server into the build. Expect lies if you try to use it for anything real.
This commit is contained in:
parent
5e5f77a354
commit
f0f7e98dfa
19 changed files with 670 additions and 4 deletions
|
@ -7,6 +7,7 @@
|
|||
|
||||
#![deny(unused_imports, unused_variable)]
|
||||
|
||||
extern crate devtools_traits;
|
||||
extern crate geom;
|
||||
extern crate servo_msg = "msg";
|
||||
extern crate servo_net = "net";
|
||||
|
@ -16,9 +17,10 @@ extern crate serialize;
|
|||
|
||||
// This module contains traits in script used generically
|
||||
// in the rest of Servo.
|
||||
// The traits are here instead of in layout so
|
||||
// The traits are here instead of in script so
|
||||
// that these modules won't have to depend on script.
|
||||
|
||||
use devtools_traits::DevtoolsControlChan;
|
||||
use servo_msg::constellation_msg::{ConstellationChan, PipelineId, Failure, WindowSizeData};
|
||||
use servo_msg::constellation_msg::SubpageId;
|
||||
use servo_msg::compositor_msg::ScriptListener;
|
||||
|
@ -91,6 +93,7 @@ pub trait ScriptTaskFactory {
|
|||
failure_msg: Failure,
|
||||
resource_task: ResourceTask,
|
||||
image_cache_task: ImageCacheTask,
|
||||
devtools_chan: Option<DevtoolsControlChan>,
|
||||
window_size: WindowSizeData);
|
||||
fn create_layout_channel(_phantom: Option<&mut Self>) -> OpaqueScriptLayoutChannel;
|
||||
fn clone_layout_channel(_phantom: Option<&mut Self>, pair: &OpaqueScriptLayoutChannel) -> Box<Any+Send>;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue