aboutsummaryrefslogtreecommitdiffstats
path: root/components/compositing/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/compositing/lib.rs')
-rw-r--r--components/compositing/lib.rs10
1 files changed, 3 insertions, 7 deletions
diff --git a/components/compositing/lib.rs b/components/compositing/lib.rs
index d72c2bace6c..22ebd94f187 100644
--- a/components/compositing/lib.rs
+++ b/components/compositing/lib.rs
@@ -18,10 +18,6 @@ extern crate azure;
extern crate canvas;
extern crate canvas_traits;
extern crate clipboard;
-#[cfg(target_os = "macos")]
-extern crate core_graphics;
-#[cfg(target_os = "macos")]
-extern crate core_text;
extern crate devtools_traits;
extern crate euclid;
#[cfg(not(target_os = "windows"))]
@@ -37,7 +33,7 @@ extern crate layout_traits;
extern crate log;
extern crate msg;
extern crate net_traits;
-extern crate num;
+extern crate num_traits;
extern crate offscreen_gl_context;
#[macro_use]
extern crate profile_traits;
@@ -59,7 +55,7 @@ use gfx_traits::Epoch;
use ipc_channel::ipc::{IpcSender};
use msg::constellation_msg::{FrameId, Key, KeyState, KeyModifiers, LoadData};
use msg::constellation_msg::{NavigationDirection, PipelineId, SubpageId};
-use msg::constellation_msg::{WebDriverCommandMsg, WindowSizeData};
+use msg::constellation_msg::{WebDriverCommandMsg, WindowSizeData, WindowSizeType};
use std::collections::HashMap;
use url::Url;
@@ -103,7 +99,7 @@ pub enum CompositorMsg {
KeyEvent(Key, KeyState, KeyModifiers),
LoadUrl(PipelineId, LoadData),
Navigate(Option<(PipelineId, SubpageId)>, NavigationDirection),
- ResizedWindow(WindowSizeData),
+ WindowSize(WindowSizeData, WindowSizeType),
/// Requests that the constellation instruct layout to begin a new tick of the animation.
TickAnimation(PipelineId, AnimationTickType),
/// Dispatch a webdriver command