aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/msg/constellation.rs
diff options
context:
space:
mode:
authorTim Kuehn <tkuehn@cmu.edu>2013-06-28 16:45:56 -0700
committerTim Kuehn <tkuehn@cmu.edu>2013-07-02 17:26:30 -0700
commita6eaffcd93c27fdec4f67eb0ebeeca7269fee013 (patch)
treee60223997b6d302f21e8bdc5f871dc8ea244c321 /src/components/msg/constellation.rs
parentd17a1f2ad731f45286613d5651ce070cbc9bd286 (diff)
downloadservo-a6eaffcd93c27fdec4f67eb0ebeeca7269fee013.tar.gz
servo-a6eaffcd93c27fdec4f67eb0ebeeca7269fee013.zip
forward/back navigation with shift+backspace and backspace
script caches last loaded url -- currently no caching policy naive caching of render layers for near-instant forward/back handling evicted pipelines is currently broken
Diffstat (limited to 'src/components/msg/constellation.rs')
-rw-r--r--src/components/msg/constellation.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/msg/constellation.rs b/src/components/msg/constellation.rs
index b0b97ba528a..aa6442a525d 100644
--- a/src/components/msg/constellation.rs
+++ b/src/components/msg/constellation.rs
@@ -27,8 +27,13 @@ impl ConstellationChan {
pub enum Msg {
LoadUrlMsg(Url),
+ NavigateMsg(NavigationDirection),
ExitMsg(Chan<()>),
RendererReadyMsg(uint),
TokenSurrenderMsg(~CompositorToken),
}
+pub enum NavigationDirection {
+ Forward,
+ Back,
+}