aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/main/constellation.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/main/constellation.rs')
-rw-r--r--src/components/main/constellation.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/main/constellation.rs b/src/components/main/constellation.rs
index 38efb084963..091b69b64e2 100644
--- a/src/components/main/constellation.rs
+++ b/src/components/main/constellation.rs
@@ -52,7 +52,7 @@ pub struct Constellation {
}
/// Stores the Id of the outermost frame's pipeline, along with a vector of children frames
-struct FrameTree {
+pub struct FrameTree {
pipeline: RefCell<Rc<Pipeline>>,
parent: RefCell<Option<Rc<Pipeline>>>,
children: RefCell<~[ChildFrameTree]>,
@@ -74,7 +74,7 @@ impl Clone for FrameTree {
}
}
-struct ChildFrameTree {
+pub struct ChildFrameTree {
frame_tree: Rc<FrameTree>,
/// Clipping rect representing the size and position, in page coordinates, of the visible
/// region of the child frame relative to the parent.
@@ -176,14 +176,14 @@ impl Iterator<Rc<FrameTree>> for FrameTreeIterator {
}
/// Represents the portion of a page that is changing in navigating.
-struct FrameChange {
+pub struct FrameChange {
before: Option<PipelineId>,
after: Rc<FrameTree>,
navigation_type: NavigationType,
}
/// Stores the Id's of the pipelines previous and next in the browser's history
-struct NavigationContext {
+pub struct NavigationContext {
previous: ~[Rc<FrameTree>],
next: ~[Rc<FrameTree>],
current: Option<Rc<FrameTree>>,