aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/script_thread.rs
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2016-10-18 15:50:32 +0200
committerMs2ger <Ms2ger@gmail.com>2016-10-22 13:33:38 +0200
commit1a9673341780435dcd4495b893d1bdaee12f1c8f (patch)
tree90561bfaf2505afc7b4fa5ff0a519589c3dc3807 /components/script/script_thread.rs
parent9cbac40f618a5d87bd883e81a70e233e0ea3a87f (diff)
downloadservo-1a9673341780435dcd4495b893d1bdaee12f1c8f.tar.gz
servo-1a9673341780435dcd4495b893d1bdaee12f1c8f.zip
Move WindowSizeType to script_traits.
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r--components/script/script_thread.rs5
1 files changed, 2 insertions, 3 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs
index 0faa6dbb56c..d98298d0cb7 100644
--- a/components/script/script_thread.rs
+++ b/components/script/script_thread.rs
@@ -71,8 +71,7 @@ use js::jsval::UndefinedValue;
use js::rust::Runtime;
use layout_wrapper::ServoLayoutNode;
use mem::heap_size_of_self_and_children;
-use msg::constellation_msg::{FrameType, PipelineId, PipelineNamespace};
-use msg::constellation_msg::{ReferrerPolicy, WindowSizeType};
+use msg::constellation_msg::{FrameType, PipelineId, PipelineNamespace, ReferrerPolicy};
use net_traits::{AsyncResponseTarget, CoreResourceMsg, LoadConsumer, LoadContext, Metadata, ResourceThreads};
use net_traits::{IpcSend, LoadData as NetLoadData};
use net_traits::bluetooth_thread::BluetoothMethodMsg;
@@ -87,7 +86,7 @@ use script_traits::{CompositorEvent, ConstellationControlMsg, EventResult};
use script_traits::{InitialScriptState, LoadData, MouseButton, MouseEventType, MozBrowserEvent};
use script_traits::{NewLayoutInfo, ScriptMsg as ConstellationMsg};
use script_traits::{ScriptThreadFactory, TimerEvent, TimerEventRequest, TimerSource};
-use script_traits::{TouchEventType, TouchId, UntrustedNodeAddress, WindowSizeData};
+use script_traits::{TouchEventType, TouchId, UntrustedNodeAddress, WindowSizeData, WindowSizeType};
use script_traits::CompositorEvent::{KeyEvent, MouseButtonEvent, MouseMoveEvent, ResizeEvent};
use script_traits::CompositorEvent::{TouchEvent, TouchpadPressureEvent};
use script_traits::webdriver_msg::WebDriverScriptCommand;