aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/msg
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/msg')
-rw-r--r--src/components/msg/constellation.rs (renamed from src/components/msg/engine.rs)12
-rw-r--r--src/components/msg/msg.rc2
2 files changed, 6 insertions, 8 deletions
diff --git a/src/components/msg/engine.rs b/src/components/msg/constellation.rs
index b03893d14ca..b0b97ba528a 100644
--- a/src/components/msg/engine.rs
+++ b/src/components/msg/constellation.rs
@@ -2,23 +2,21 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-//! The high-level interface from script to engine. Using this abstract interface helps reduce
+//! The high-level interface from script to constellation. Using this abstract interface helps reduce
/// coupling between these two components
use std::comm::{Chan, SharedChan};
use extra::net::url::Url;
use compositor::CompositorToken;
-pub use compositor;
-
#[deriving(Clone)]
-pub struct EngineChan {
+pub struct ConstellationChan {
chan: SharedChan<Msg>,
}
-impl EngineChan {
- pub fn new(chan: Chan<Msg>) -> EngineChan {
- EngineChan {
+impl ConstellationChan {
+ pub fn new(chan: Chan<Msg>) -> ConstellationChan {
+ ConstellationChan {
chan: SharedChan::new(chan),
}
}
diff --git a/src/components/msg/msg.rc b/src/components/msg/msg.rc
index efafbecd2e6..10b7609e045 100644
--- a/src/components/msg/msg.rc
+++ b/src/components/msg/msg.rc
@@ -15,4 +15,4 @@ extern mod geom;
extern mod extra;
pub mod compositor;
-pub mod engine;
+pub mod constellation;