diff options
author | Tim Kuehn <tkuehn@cmu.edu> | 2013-07-01 14:16:43 -0700 |
---|---|---|
committer | Tim Kuehn <tkuehn@cmu.edu> | 2013-07-02 17:26:46 -0700 |
commit | c9c6cb3bf57e08cac7e75f54e045ced26df82160 (patch) | |
tree | 345f20e13d02f4a671b1b9cd52512e2de0a95221 /src/components/script/script_task.rs | |
parent | a6eaffcd93c27fdec4f67eb0ebeeca7269fee013 (diff) | |
download | servo-c9c6cb3bf57e08cac7e75f54e045ced26df82160.tar.gz servo-c9c6cb3bf57e08cac7e75f54e045ced26df82160.zip |
new token-permissions model, and compositor filters paint messages based on id
Diffstat (limited to 'src/components/script/script_task.rs')
-rw-r--r-- | src/components/script/script_task.rs | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/components/script/script_task.rs b/src/components/script/script_task.rs index 8acee44e891..4d46b241b3c 100644 --- a/src/components/script/script_task.rs +++ b/src/components/script/script_task.rs @@ -5,8 +5,8 @@ /// The script task is the task that owns the DOM in memory, runs JavaScript, and spawns parsing /// and layout tasks. -use servo_msg::compositor::{ScriptListener, Loading, PerformingLayout}; -use servo_msg::compositor::FinishedLoading; +use servo_msg::compositor_msg::{ScriptListener, Loading, PerformingLayout}; +use servo_msg::compositor_msg::FinishedLoading; use dom::bindings::utils::GlobalStaticData; use dom::document::Document; use dom::element::Element; @@ -19,9 +19,9 @@ use layout_interface::{LayoutChan, MatchSelectorsDocumentDamage, QueryMsg, Reflo use layout_interface::{ReflowDocumentDamage, ReflowForDisplay, ReflowForScriptQuery, ReflowGoal}; use layout_interface::ReflowMsg; use layout_interface; -use servo_msg::constellation::{ConstellationChan, LoadUrlMsg, NavigationDirection}; -use servo_msg::constellation::RendererReadyMsg; -use servo_msg::constellation; +use servo_msg::constellation_msg::{ConstellationChan, LoadUrlMsg, NavigationDirection}; +use servo_msg::constellation_msg::RendererReadyMsg; +use servo_msg::constellation_msg; use std::cast::transmute; use std::cell::Cell; @@ -337,7 +337,7 @@ impl ScriptTask { /// Handles a navigate forward or backward message. fn handle_navigate_msg(&self, direction: NavigationDirection) { - self.constellation_chan.send(constellation::NavigateMsg(direction)); + self.constellation_chan.send(constellation_msg::NavigateMsg(direction)); } /// Handles a request to exit the script task and shut down layout. @@ -594,7 +594,7 @@ impl ScriptTask { Err(()) => { debug!(fmt!("layout query error")); } - }; + } } MouseDownEvent(*) => {} MouseUpEvent(*) => {} |