mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Added support for navigating by a delta
This commit is contained in:
parent
80a58cadc5
commit
c0ea1f16a8
5 changed files with 45 additions and 29 deletions
|
@ -244,8 +244,8 @@ impl LoadData {
|
|||
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
|
||||
pub enum NavigationDirection {
|
||||
Forward,
|
||||
Back,
|
||||
Forward(usize),
|
||||
Back(usize),
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue