mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
implement browsing context group and set
This commit is contained in:
parent
d544c186b9
commit
8c28852e90
3 changed files with 235 additions and 28 deletions
|
@ -174,6 +174,9 @@ impl fmt::Display for BrowsingContextId {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Default, Eq, Hash, PartialEq)]
|
||||
pub struct BrowsingContextGroupId(pub u32);
|
||||
|
||||
thread_local!(pub static TOP_LEVEL_BROWSING_CONTEXT_ID: Cell<Option<TopLevelBrowsingContextId>> = Cell::new(None));
|
||||
|
||||
#[derive(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue