diff options
author | Ms2ger <ms2ger@gmail.com> | 2015-01-04 11:57:54 +0100 |
---|---|---|
committer | Ms2ger <ms2ger@gmail.com> | 2015-01-04 16:19:54 +0100 |
commit | 193c39294b79b92e56c9acbbbdea07a2648c774b (patch) | |
tree | 8db5825849af67c619ddee4694286ec704d981d7 | |
parent | b94140f55ef8fd45caa94d15ff098c3e98e0f7f6 (diff) | |
download | servo-193c39294b79b92e56c9acbbbdea07a2648c774b.tar.gz servo-193c39294b79b92e56c9acbbbdea07a2648c774b.zip |
Qualify script_traits enums.
-rw-r--r-- | components/script/script_task.rs | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/components/script/script_task.rs b/components/script/script_task.rs index c3fcb02c893..42e157fced0 100644 --- a/components/script/script_task.rs +++ b/components/script/script_task.rs @@ -38,11 +38,18 @@ use devtools; use devtools_traits::{DevtoolsControlChan, DevtoolsControlPort, NewGlobal, GetRootNode, DevtoolsPageInfo}; use devtools_traits::{DevtoolScriptControlMsg, EvaluateJS, GetDocumentElement}; use devtools_traits::{GetChildren, GetLayout, ModifyAttribute}; -use script_traits::{CompositorEvent, ResizeEvent, ReflowEvent, ClickEvent, MouseDownEvent}; -use script_traits::{MouseMoveEvent, MouseUpEvent, ConstellationControlMsg, ScriptTaskFactory}; -use script_traits::{ResizeMsg, AttachLayoutMsg, GetTitleMsg, KeyEvent, LoadMsg, ViewportMsg}; -use script_traits::{ResizeInactiveMsg, ExitPipelineMsg, NewLayoutInfo, OpaqueScriptLayoutChannel}; -use script_traits::{ScriptControlChan, ReflowCompleteMsg, SendEventMsg}; +use script_traits::CompositorEvent; +use script_traits::CompositorEvent::{ResizeEvent, ReflowEvent, ClickEvent}; +use script_traits::CompositorEvent::{MouseDownEvent, MouseUpEvent}; +use script_traits::CompositorEvent::{MouseMoveEvent, KeyEvent}; +use script_traits::ConstellationControlMsg::{LoadMsg, AttachLayoutMsg}; +use script_traits::ConstellationControlMsg::{ResizeMsg, ResizeInactiveMsg}; +use script_traits::ConstellationControlMsg::{ExitPipelineMsg, SendEventMsg}; +use script_traits::ConstellationControlMsg::{ReflowCompleteMsg, ViewportMsg}; +use script_traits::ConstellationControlMsg::GetTitleMsg; +use script_traits::{NewLayoutInfo, OpaqueScriptLayoutChannel}; +use script_traits::{ConstellationControlMsg, ScriptControlChan}; +use script_traits::ScriptTaskFactory; use servo_msg::compositor_msg::{FinishedLoading, LayerId, Loading, PerformingLayout}; use servo_msg::compositor_msg::{ScriptListener}; use servo_msg::constellation_msg::{ConstellationChan}; |