pl.wendigo.chrome.api.layertree

Package pl.wendigo.chrome.api.layertree

Contains DevTools Protocol LayerTree domain implementation accessible via LayerTreeOperations class.

Types

CompositingReasonsRequest

data class CompositingReasonsRequest

Represents request frame that can be used with LayerTree#compositingReasons operation call.

CompositingReasonsResponse

data class CompositingReasonsResponse

Represents response frame that is returned from LayerTree#compositingReasons operation call. Provides the reasons why the given layer was composited.

Layer

data class Layer

Information about a compositing layer.

LayerPaintedEvent

data class LayerPaintedEvent : Event

LayerTreeDidChangeEvent

data class LayerTreeDidChangeEvent : Event

LayerTreeOperations

class LayerTreeOperations

LayerTreeOperations represents LayerTree protocol domain request/response operations and events that can be captured.

LoadSnapshotRequest

data class LoadSnapshotRequest

Represents request frame that can be used with LayerTree#loadSnapshot operation call.

LoadSnapshotResponse

data class LoadSnapshotResponse

Represents response frame that is returned from LayerTree#loadSnapshot operation call. Returns the snapshot identifier.

MakeSnapshotRequest

data class MakeSnapshotRequest

Represents request frame that can be used with LayerTree#makeSnapshot operation call.

MakeSnapshotResponse

data class MakeSnapshotResponse

Represents response frame that is returned from LayerTree#makeSnapshot operation call. Returns the layer snapshot identifier.

PictureTile

data class PictureTile

Serialized fragment of layer picture along with its offset within the layer.

ProfileSnapshotRequest

data class ProfileSnapshotRequest

Represents request frame that can be used with LayerTree#profileSnapshot operation call.

ProfileSnapshotResponse

data class ProfileSnapshotResponse

Represents response frame that is returned from LayerTree#profileSnapshot operation call.

ReleaseSnapshotRequest

data class ReleaseSnapshotRequest

Represents request frame that can be used with LayerTree#releaseSnapshot operation call.

ReplaySnapshotRequest

data class ReplaySnapshotRequest

Represents request frame that can be used with LayerTree#replaySnapshot operation call.

ReplaySnapshotResponse

data class ReplaySnapshotResponse

Represents response frame that is returned from LayerTree#replaySnapshot operation call. Replays the layer snapshot and returns the resulting bitmap.

ScrollRect

data class ScrollRect

Rectangle where scrolling happens on the main thread.

SnapshotCommandLogRequest

data class SnapshotCommandLogRequest

Represents request frame that can be used with LayerTree#snapshotCommandLog operation call.

SnapshotCommandLogResponse

data class SnapshotCommandLogResponse

Represents response frame that is returned from LayerTree#snapshotCommandLog operation call. Replays the layer snapshot and returns canvas log.

StickyPositionConstraint

data class StickyPositionConstraint

Sticky position constraints.

Type Aliases

LayerId

typealias LayerId = String

Unique Layer identifier.

PaintProfile

typealias PaintProfile = List<Double>

Array of timings, one per paint step.

SnapshotId

typealias SnapshotId = String

Unique snapshot identifier.