cbf_compositor/model/ownership.rs
1use cbf::data::{
2 ids::{BrowsingContextId, TransientBrowsingContextId},
3 transient_browsing_context::TransientBrowsingContextKind,
4};
5
6/// Ownership relationship for a transient browsing context.
7#[derive(Debug, Clone, Copy, PartialEq, Eq)]
8pub struct TransientOwnership {
9 /// Transient browsing context tracked by the compositor.
10 pub transient_browsing_context_id: TransientBrowsingContextId,
11 /// Parent browsing context that owns the transient context.
12 pub parent_browsing_context_id: BrowsingContextId,
13 /// Backend-reported transient kind.
14 pub kind: TransientBrowsingContextKind,
15}