Skip to main content

Module content

Module content 

Source
Expand description

Portable content-engine state types.

Shared vocabulary the shell uses to describe content viewers, independent of which engine (Servo / Wry / iced_webview / Blitz / a future MiddleNet Direct Lane) is backing any given pane. The types here are WASM-clean and have no dependency on a particular content engine.

Each provider is expected to convert between its native types and these portable ones at its boundary — typically in a *_status_sync module on the shell side, or inside the provider crate if it’s already graphshell-aware. Conversion is always lossless for the states this module defines; if a provider grows a state that doesn’t map, we add a variant here and update the providers in lockstep.

Enums§

ContentLoadState
Life-cycle state of content loading in a viewer.
ViewerInstanceId
Provider-opaque identity for a content-viewer instance.