Module headless_experimental

Module headless_experimental 

Source
Available on crate features experimental and HeadlessExperimental and Page and Runtime only.
Expand description

This domain provides experimental commands only supported in headless mode.

Structs§

BeginFrameCommand
Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with –run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background.
BeginFrameCommandBuilder
BeginFrameReturn
Sends a BeginFrame to the target and returns when the frame was completed. Optionally captures a screenshot from the resulting frame. Requires that the target was created with enabled BeginFrameControl. Designed for use with –run-all-compositor-stages-before-draw, see also https://goo.gl/3zHXhB for more background.
DisableCommand
Disables headless events for the target.
DisableReturn
Disables headless events for the target.
EnableCommand
Enables headless events for the target.
EnableReturn
Enables headless events for the target.
NeedsBeginFramesChangedEventDeprecated
Issued when the target starts or stops needing BeginFrames. Deprecated. Issue beginFrame unconditionally instead and use result from beginFrame to detect whether the frames were suppressed.
ScreenshotParams
Encoding options for a screenshot.

Enums§

ScreenshotParamsFormat