cbf-compositor 0.1.0-alpha.8

Scene-based browser surface compositor for CBF applications.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use cbf::data::{
    ids::{BrowsingContextId, TransientBrowsingContextId},
    transient_browsing_context::TransientBrowsingContextKind,
};

/// Ownership relationship for a transient browsing context.
#[derive(Debug, Clone, Copy, PartialEq, Eq)]
pub struct TransientOwnership {
    /// Transient browsing context tracked by the compositor.
    pub transient_browsing_context_id: TransientBrowsingContextId,
    /// Parent browsing context that owns the transient context.
    pub parent_browsing_context_id: BrowsingContextId,
    /// Backend-reported transient kind.
    pub kind: TransientBrowsingContextKind,
}