diff options
author | Matt McCoy <mattnenterprise@yahoo.com> | 2016-01-11 19:54:51 -0500 |
---|---|---|
committer | Matt McCoy <mattnenterprise@yahoo.com> | 2016-01-11 19:54:51 -0500 |
commit | a2bf5b6b51954bbdaa4a206ce301813e73139ebf (patch) | |
tree | 3d8e4f5c236911f8491c0d83245b5b1a5863cfa7 /components/script/script_thread.rs | |
parent | a5a7a8318cbb9cc1338e9894aee61221a2fa3f27 (diff) | |
download | servo-a2bf5b6b51954bbdaa4a206ce301813e73139ebf.tar.gz servo-a2bf5b6b51954bbdaa4a206ce301813e73139ebf.zip |
Moving MouseEventType from msg to script_traits
Diffstat (limited to 'components/script/script_thread.rs')
-rw-r--r-- | components/script/script_thread.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/components/script/script_thread.rs b/components/script/script_thread.rs index 29793e1383a..3e397f2b5f9 100644 --- a/components/script/script_thread.rs +++ b/components/script/script_thread.rs @@ -64,7 +64,7 @@ use layout_interface::{self, LayoutChan, NewLayoutThreadInfo, ScriptLayoutChan}; use libc; use mem::heap_size_of_self_and_children; use msg::constellation_msg::{ConstellationChan, LoadData}; -use msg::constellation_msg::{MouseButton, MouseEventType, MozBrowserEvent, PipelineId}; +use msg::constellation_msg::{MouseButton, MozBrowserEvent, PipelineId}; use msg::constellation_msg::{PipelineNamespace}; use msg::constellation_msg::{SubpageId, WindowSizeData}; use msg::webdriver_msg::WebDriverScriptCommand; @@ -80,7 +80,8 @@ use profile_traits::mem::{self, OpaqueSender, Report, ReportKind, ReportsChan}; use profile_traits::time::{self, ProfilerCategory, profile}; use script_traits::CompositorEvent::{KeyEvent, MouseButtonEvent, MouseMoveEvent, ResizeEvent}; use script_traits::CompositorEvent::{TouchEvent}; -use script_traits::{CompositorEvent, ConstellationControlMsg, EventResult, InitialScriptState, NewLayoutInfo}; +use script_traits::{CompositorEvent, ConstellationControlMsg, EventResult}; +use script_traits::{InitialScriptState, MouseEventType, NewLayoutInfo}; use script_traits::{LayoutMsg, OpaqueScriptLayoutChannel, ScriptMsg as ConstellationMsg}; use script_traits::{ScriptThreadFactory, ScriptToCompositorMsg, TimerEvent, TimerEventRequest, TimerSource}; use script_traits::{TouchEventType, TouchId}; |