Crate embedder_traits

source ·

Modules

Structs

Sends messages to the embedder.
The port that the embedder receives messages on.
Filter for file selection; the String content is expected to be extension (e.g, “doc”, without the prefixing “.”)
https://w3c.github.io/mediasession/#mediametadata
https://w3c.github.io/mediasession/#dictdef-mediapositionstate

Enums

A cursor for the window. This is different from a CSS cursor (see CursorKind) in that it has no Auto value.
Type of events sent from script to the embedder about the media session.
https://w3c.github.io/mediasession/#enumdef-mediasessionplaybackstate
Enum with variants that match the DOM PermissionName enum
Information required to display a permission prompt
Status for prompting user for permission.

Constants

Traits