mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Import msg as msg rather than servo_msg.
This commit is contained in:
parent
d1c8ed4359
commit
b2fcc2397e
40 changed files with 93 additions and 94 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue