layout: Make the LayoutControlChan use IPC.

This commit is contained in:
Patrick Walton 2015-07-10 18:55:20 -07:00
parent e841065351
commit 9ce65c08a5
18 changed files with 277 additions and 76 deletions

View file

@ -33,3 +33,6 @@ cssparser = "0.3.1"
num = "0.1.24"
url = "*"
euclid = "0.1"
serde = "*"
serde_macros = "*"

View file

@ -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 {

View file

@ -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;