mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Use CompositorMsg from script_traits.
This commit is contained in:
parent
47933479da
commit
f9a8c322af
9 changed files with 13 additions and 17 deletions
|
@ -9,7 +9,6 @@ name = "webdriver_server"
|
|||
path = "lib.rs"
|
||||
|
||||
[dependencies]
|
||||
compositing = {path = "../compositing"}
|
||||
msg = {path = "../msg"}
|
||||
plugins = {path = "../plugins"}
|
||||
util = {path = "../util"}
|
||||
|
@ -20,6 +19,7 @@ log = "0.3.5"
|
|||
hyper = "0.9"
|
||||
rustc-serialize = "0.3.4"
|
||||
regex = "0.1.55"
|
||||
script_traits = {path = "../script_traits"}
|
||||
url = {version = "1.0.0", features = ["heap_size"]}
|
||||
uuid = { version = "0.2", features = ["v4"] }
|
||||
webdriver = "0.9"
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
|
||||
#![deny(unsafe_code)]
|
||||
|
||||
extern crate compositing;
|
||||
extern crate euclid;
|
||||
extern crate hyper;
|
||||
extern crate image;
|
||||
|
@ -18,6 +17,7 @@ extern crate ipc_channel;
|
|||
extern crate msg;
|
||||
extern crate regex;
|
||||
extern crate rustc_serialize;
|
||||
extern crate script_traits;
|
||||
extern crate url;
|
||||
extern crate util;
|
||||
extern crate uuid;
|
||||
|
@ -25,7 +25,6 @@ extern crate webdriver;
|
|||
|
||||
mod keys;
|
||||
|
||||
use compositing::CompositorMsg as ConstellationMsg;
|
||||
use euclid::Size2D;
|
||||
use hyper::method::Method::{self, Post};
|
||||
use image::{DynamicImage, ImageFormat, RgbImage};
|
||||
|
@ -37,6 +36,7 @@ use msg::webdriver_msg::{LoadStatus, WebDriverFrameId, WebDriverJSError, WebDriv
|
|||
use regex::Captures;
|
||||
use rustc_serialize::base64::{CharacterSet, Config, Newline, ToBase64};
|
||||
use rustc_serialize::json::{Json, ToJson};
|
||||
use script_traits::ConstellationMsg;
|
||||
use std::borrow::ToOwned;
|
||||
use std::collections::BTreeMap;
|
||||
use std::net::{SocketAddr, SocketAddrV4};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue