mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Make the LayoutControlChan
use IPC.
This commit is contained in:
parent
e841065351
commit
9ce65c08a5
18 changed files with 277 additions and 76 deletions
|
@ -33,3 +33,6 @@ cssparser = "0.3.1"
|
|||
num = "0.1.24"
|
||||
url = "*"
|
||||
euclid = "0.1"
|
||||
serde = "*"
|
||||
serde_macros = "*"
|
||||
|
||||
|
|
|
@ -66,7 +66,7 @@ pub enum PagePx {}
|
|||
// See https://bugzilla.mozilla.org/show_bug.cgi?id=177805 for more info.
|
||||
//
|
||||
// FIXME: Implement Au using Length and ScaleFactor instead of a custom type.
|
||||
#[derive(Clone, Copy, Hash, PartialEq, PartialOrd, Eq, Ord)]
|
||||
#[derive(Clone, Copy, Hash, PartialEq, PartialOrd, Eq, Ord, Deserialize, Serialize)]
|
||||
pub struct Au(pub i32);
|
||||
|
||||
impl Default for Au {
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
#![feature(alloc)]
|
||||
#![feature(box_syntax)]
|
||||
#![feature(core_intrinsics)]
|
||||
#![feature(custom_derive)]
|
||||
#![feature(fnbox)]
|
||||
#![feature(hashmap_hasher)]
|
||||
#![feature(heap_api)]
|
||||
|
@ -18,6 +19,8 @@
|
|||
#![feature(step_trait)]
|
||||
#![feature(zero_one)]
|
||||
|
||||
#![plugin(serde_macros)]
|
||||
|
||||
#[macro_use] extern crate log;
|
||||
|
||||
extern crate azure;
|
||||
|
@ -31,6 +34,7 @@ extern crate num as num_lib;
|
|||
extern crate num_cpus;
|
||||
extern crate rand;
|
||||
extern crate rustc_serialize;
|
||||
extern crate serde;
|
||||
extern crate smallvec;
|
||||
extern crate url;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue