mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Move DevicePixel to script_traits.
This commit is contained in:
parent
04a3242dc5
commit
7879edb451
13 changed files with 13 additions and 27 deletions
|
@ -21,7 +21,6 @@ debugmozjs = ["libservo/debugmozjs"]
|
|||
compositing = {path = "../../components/compositing"}
|
||||
devtools = {path = "../../components/devtools"}
|
||||
euclid = "0.10.1"
|
||||
gfx_traits = {path = "../../components/gfx_traits"}
|
||||
gleam = "0.2.8"
|
||||
glutin_app = {path = "../glutin"}
|
||||
libc = "0.2"
|
||||
|
|
|
@ -18,7 +18,6 @@ extern crate servo;
|
|||
extern crate compositing;
|
||||
|
||||
extern crate euclid;
|
||||
extern crate gfx_traits;
|
||||
extern crate gleam;
|
||||
extern crate glutin_app;
|
||||
extern crate script_traits;
|
||||
|
|
|
@ -22,10 +22,10 @@ use compositing::windowing::{WindowEvent, WindowMethods};
|
|||
use euclid::point::Point2D;
|
||||
use euclid::scale_factor::ScaleFactor;
|
||||
use euclid::size::{Size2D, TypedSize2D};
|
||||
use gfx_traits::DevicePixel;
|
||||
use gleam::gl;
|
||||
use msg::constellation_msg::{Key, KeyModifiers};
|
||||
use net_traits::net_error_list::NetError;
|
||||
use script_traits::DevicePixel;
|
||||
use servo_geometry::ScreenPx;
|
||||
use std::cell::RefCell;
|
||||
use std::ffi::CString;
|
||||
|
|
|
@ -12,7 +12,6 @@ path = "lib.rs"
|
|||
bitflags = "0.7"
|
||||
compositing = {path = "../../components/compositing"}
|
||||
euclid = "0.10.1"
|
||||
gfx_traits = {path = "../../components/gfx_traits"}
|
||||
gleam = "0.2.8"
|
||||
log = "0.3.5"
|
||||
msg = {path = "../../components/msg"}
|
||||
|
|
|
@ -11,7 +11,6 @@ extern crate compositing;
|
|||
#[allow(unused_extern_crates)]
|
||||
#[cfg(target_os = "android")] extern crate egl;
|
||||
extern crate euclid;
|
||||
extern crate gfx_traits;
|
||||
extern crate gleam;
|
||||
extern crate glutin;
|
||||
#[macro_use] extern crate log;
|
||||
|
|
|
@ -13,7 +13,6 @@ use euclid::scale_factor::ScaleFactor;
|
|||
use euclid::size::TypedSize2D;
|
||||
#[cfg(target_os = "windows")]
|
||||
use gdi32;
|
||||
use gfx_traits::DevicePixel;
|
||||
use gleam::gl;
|
||||
use glutin;
|
||||
use glutin::{Api, ElementState, Event, GlRequest, MouseButton, MouseScrollDelta, VirtualKeyCode};
|
||||
|
@ -25,7 +24,7 @@ use msg::constellation_msg::{ALT, CONTROL, KeyState, NONE, SHIFT, SUPER};
|
|||
use net_traits::net_error_list::NetError;
|
||||
#[cfg(any(target_os = "linux", target_os = "macos"))]
|
||||
use osmesa_sys;
|
||||
use script_traits::{TouchEventType, TouchpadPressurePhase};
|
||||
use script_traits::{DevicePixel, TouchEventType, TouchpadPressurePhase};
|
||||
use servo_config::opts;
|
||||
use servo_config::prefs::PREFS;
|
||||
use servo_config::resource_files;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue