diff options
author | Tim Kuehn <tkuehn@cmu.edu> | 2013-06-28 16:45:56 -0700 |
---|---|---|
committer | Tim Kuehn <tkuehn@cmu.edu> | 2013-07-02 17:26:30 -0700 |
commit | a6eaffcd93c27fdec4f67eb0ebeeca7269fee013 (patch) | |
tree | e60223997b6d302f21e8bdc5f871dc8ea244c321 /src/components/msg/constellation.rs | |
parent | d17a1f2ad731f45286613d5651ce070cbc9bd286 (diff) | |
download | servo-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.rs | 5 |
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, +} |