mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Implement beginnings of joint session history
Fix backward navigation make use of history iterator Add frame iterator add different back logic cleanup navigation_info Add extra explanation for iter logic Remove forward history on full frame tree Rename navigation to traversal where appropriate check full tree for can go back/forward simplify frame iter logic remove FrameIterator cleanup history iter reduce amount of vec allocations removed extra parenthesis Remove history iterator cleanup after rebasing avoid recursive vec allocation remove full_frame_tree remove_forward_history_in_frame_tree -> clear_joint_session_future
This commit is contained in:
parent
4ae0897175
commit
f131818763
7 changed files with 328 additions and 201 deletions
|
@ -212,12 +212,12 @@ impl LoadData {
|
|||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
|
||||
pub enum NavigationDirection {
|
||||
pub enum TraversalDirection {
|
||||
Forward(usize),
|
||||
Back(usize),
|
||||
}
|
||||
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize)]
|
||||
#[derive(Clone, PartialEq, Eq, Copy, Hash, Debug, Deserialize, Serialize, PartialOrd, Ord)]
|
||||
pub struct FrameId(pub u32);
|
||||
|
||||
/// Each pipeline ID needs to be unique. However, it also needs to be possible to
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue