Import msg as msg rather than servo_msg.

This commit is contained in:
Ms2ger 2015-02-10 11:40:36 +01:00
parent d1c8ed4359
commit b2fcc2397e
40 changed files with 93 additions and 94 deletions

View file

@ -12,7 +12,7 @@ use compositing::windowing::{WindowEvent, MouseWindowEvent};
use geom::point::TypedPoint2D;
use geom::size::TypedSize2D;
use libc::{c_double, c_int};
use servo_msg::constellation_msg::{self, KeyModifiers, KeyState};
use msg::constellation_msg::{self, KeyModifiers, KeyState};
use std::cell::RefCell;
pub struct ServoCefBrowserHost {

View file

@ -25,7 +25,7 @@ extern crate png;
extern crate script;
extern crate "net" as servo_net;
extern crate "msg" as servo_msg;
extern crate msg;
extern crate util;
extern crate style;
extern crate stb_image;

View file

@ -21,9 +21,9 @@ use gleam::gl;
use layers::geometry::DevicePixel;
use layers::platform::surface::NativeGraphicsMetadata;
use libc::{c_char, c_void};
use servo_msg::constellation_msg::{Key, KeyModifiers};
use servo_msg::compositor_msg::{ReadyState, PaintState};
use servo_msg::constellation_msg::LoadData;
use msg::constellation_msg::{Key, KeyModifiers};
use msg::compositor_msg::{ReadyState, PaintState};
use msg::constellation_msg::LoadData;
use util::cursor::Cursor;
use util::geometry::ScreenPx;
use std::cell::RefCell;

View file

@ -12,7 +12,7 @@ extern crate log;
extern crate compositing;
extern crate devtools;
extern crate "net" as servo_net;
extern crate "msg" as servo_msg;
extern crate msg;
#[macro_use]
extern crate util;
extern crate script;
@ -27,9 +27,9 @@ use compositing::windowing::{WindowEvent, WindowMethods};
#[cfg(not(test))]
use compositing::{CompositorProxy, CompositorTask, Constellation};
#[cfg(not(test))]
use servo_msg::constellation_msg::Msg as ConstellationMsg;
use msg::constellation_msg::Msg as ConstellationMsg;
#[cfg(not(test))]
use servo_msg::constellation_msg::ConstellationChan;
use msg::constellation_msg::ConstellationChan;
#[cfg(not(test))]
use script::dom::bindings::codegen::RegisterBindings;