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
use cbf::data::ids::{BrowsingContextId, TransientBrowsingContextId};

/// Browser-managed surface target that can appear in the compositor scene.
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum SurfaceTarget {
    /// A regular browsing context surface.
    BrowsingContext(BrowsingContextId),
    /// A transient browsing context surface such as an extension popup.
    TransientBrowsingContext(TransientBrowsingContextId),
}