package layertree
Import Path
github.com/chromedp/cdproto/layertree (on go.dev)
Dependency Relation
imports 8 packages, and imported by one package
Involved Source Files
easyjson.go
events.go
Package layertree provides the Chrome DevTools Protocol
commands, types, and events for the LayerTree domain.
Generated by the cdproto-gen command.
types.go
Package-Level Type Names (total 25)
CompositingReasonsParams provides the reasons why the given layer was
composited.
// The id of the layer for which we want to get the reasons it was composited.
Do executes LayerTree.compositingReasons against the provided context.
returns:
compositingReasons - A list of strings specifying reasons for the given layer to become composited.
compositingReasonIDs - A list of strings specifying reason IDs for the given layer to become composited.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CompositingReasonsParams : github.com/goccy/go-json.Marshaler
*CompositingReasonsParams : github.com/goccy/go-json.Unmarshaler
CompositingReasonsParams : github.com/mailru/easyjson.Marshaler
*CompositingReasonsParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*CompositingReasonsParams : github.com/mailru/easyjson.Unmarshaler
CompositingReasonsParams : encoding/json.Marshaler
*CompositingReasonsParams : encoding/json.Unmarshaler
func CompositingReasons(layerID LayerID) *CompositingReasonsParams
CompositingReasonsReturns return values.
// A list of strings specifying reason IDs for the given layer to become composited.
// A list of strings specifying reasons for the given layer to become composited.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
CompositingReasonsReturns : github.com/goccy/go-json.Marshaler
*CompositingReasonsReturns : github.com/goccy/go-json.Unmarshaler
CompositingReasonsReturns : github.com/mailru/easyjson.Marshaler
*CompositingReasonsReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*CompositingReasonsReturns : github.com/mailru/easyjson.Unmarshaler
CompositingReasonsReturns : encoding/json.Marshaler
*CompositingReasonsReturns : encoding/json.Unmarshaler
DisableParams disables compositing tree inspection.
Do executes LayerTree.disable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*DisableParams : github.com/chromedp/chromedp.Action
*DisableParams : github.com/chromedp/chromedp.CallAction
*DisableParams : github.com/chromedp/chromedp.EmulateAction
*DisableParams : github.com/chromedp/chromedp.EvaluateAction
*DisableParams : github.com/chromedp/chromedp.KeyAction
*DisableParams : github.com/chromedp/chromedp.MouseAction
*DisableParams : github.com/chromedp/chromedp.NavigateAction
*DisableParams : github.com/chromedp/chromedp.PollAction
*DisableParams : github.com/chromedp/chromedp.QueryAction
DisableParams : github.com/goccy/go-json.Marshaler
*DisableParams : github.com/goccy/go-json.Unmarshaler
DisableParams : github.com/mailru/easyjson.Marshaler
*DisableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*DisableParams : github.com/mailru/easyjson.Unmarshaler
DisableParams : encoding/json.Marshaler
*DisableParams : encoding/json.Unmarshaler
func Disable() *DisableParams
EnableParams enables compositing tree inspection.
Do executes LayerTree.enable against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*EnableParams : github.com/chromedp/chromedp.Action
*EnableParams : github.com/chromedp/chromedp.CallAction
*EnableParams : github.com/chromedp/chromedp.EmulateAction
*EnableParams : github.com/chromedp/chromedp.EvaluateAction
*EnableParams : github.com/chromedp/chromedp.KeyAction
*EnableParams : github.com/chromedp/chromedp.MouseAction
*EnableParams : github.com/chromedp/chromedp.NavigateAction
*EnableParams : github.com/chromedp/chromedp.PollAction
*EnableParams : github.com/chromedp/chromedp.QueryAction
EnableParams : github.com/goccy/go-json.Marshaler
*EnableParams : github.com/goccy/go-json.Unmarshaler
EnableParams : github.com/mailru/easyjson.Marshaler
*EnableParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*EnableParams : github.com/mailru/easyjson.Unmarshaler
EnableParams : encoding/json.Marshaler
*EnableParams : encoding/json.Unmarshaler
func Enable() *EnableParams
EventLayerPainted [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#event-layerPainted
// Clip rectangle.
// The id of the painted layer.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLayerPainted : github.com/goccy/go-json.Marshaler
*EventLayerPainted : github.com/goccy/go-json.Unmarshaler
EventLayerPainted : github.com/mailru/easyjson.Marshaler
*EventLayerPainted : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLayerPainted : github.com/mailru/easyjson.Unmarshaler
EventLayerPainted : encoding/json.Marshaler
*EventLayerPainted : encoding/json.Unmarshaler
EventLayerTreeDidChange [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#event-layerTreeDidChange
// Layer tree, absent if not in the comspositing mode.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
EventLayerTreeDidChange : github.com/goccy/go-json.Marshaler
*EventLayerTreeDidChange : github.com/goccy/go-json.Unmarshaler
EventLayerTreeDidChange : github.com/mailru/easyjson.Marshaler
*EventLayerTreeDidChange : github.com/mailru/easyjson.MarshalerUnmarshaler
*EventLayerTreeDidChange : github.com/mailru/easyjson.Unmarshaler
EventLayerTreeDidChange : encoding/json.Marshaler
*EventLayerTreeDidChange : encoding/json.Unmarshaler
Layer information about a compositing layer.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-Layer
// Transform anchor point X, absent if no transform specified
// Transform anchor point Y, absent if no transform specified
// Transform anchor point Z, absent if no transform specified
// The backend id for the node associated with this layer.
// Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
// Layer height.
// Set if layer is not visible.
// The unique id for this layer.
// Offset from parent layer, X coordinate.
// Offset from parent layer, Y coordinate.
// Indicates how many time this layer has painted.
// The id of parent (not present for root).
// Rectangles scrolling on main thread only.
// Sticky position constraint information
// Transformation matrix for layer, default is identity matrix
// Layer width.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
Layer : github.com/goccy/go-json.Marshaler
*Layer : github.com/goccy/go-json.Unmarshaler
Layer : github.com/mailru/easyjson.Marshaler
*Layer : github.com/mailru/easyjson.MarshalerUnmarshaler
*Layer : github.com/mailru/easyjson.Unmarshaler
Layer : encoding/json.Marshaler
*Layer : encoding/json.Unmarshaler
LayerID unique Layer identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-LayerId
String returns the LayerID as string value.
LayerID : expvar.Var
LayerID : fmt.Stringer
func CompositingReasons(layerID LayerID) *CompositingReasonsParams
func MakeSnapshot(layerID LayerID) *MakeSnapshotParams
LoadSnapshotParams returns the snapshot identifier.
// An array of tiles composing the snapshot.
Do executes LayerTree.loadSnapshot against the provided context.
returns:
snapshotID - The id of the snapshot.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
LoadSnapshotParams : github.com/goccy/go-json.Marshaler
*LoadSnapshotParams : github.com/goccy/go-json.Unmarshaler
LoadSnapshotParams : github.com/mailru/easyjson.Marshaler
*LoadSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*LoadSnapshotParams : github.com/mailru/easyjson.Unmarshaler
LoadSnapshotParams : encoding/json.Marshaler
*LoadSnapshotParams : encoding/json.Unmarshaler
func LoadSnapshot(tiles []*PictureTile) *LoadSnapshotParams
LoadSnapshotReturns return values.
// The id of the snapshot.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
LoadSnapshotReturns : github.com/goccy/go-json.Marshaler
*LoadSnapshotReturns : github.com/goccy/go-json.Unmarshaler
LoadSnapshotReturns : github.com/mailru/easyjson.Marshaler
*LoadSnapshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*LoadSnapshotReturns : github.com/mailru/easyjson.Unmarshaler
LoadSnapshotReturns : encoding/json.Marshaler
*LoadSnapshotReturns : encoding/json.Unmarshaler
MakeSnapshotParams returns the layer snapshot identifier.
// The id of the layer for which we want to get the reasons it was composited.
Do executes LayerTree.makeSnapshot against the provided context.
returns:
snapshotID - The id of the layer snapshot.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
MakeSnapshotParams : github.com/goccy/go-json.Marshaler
*MakeSnapshotParams : github.com/goccy/go-json.Unmarshaler
MakeSnapshotParams : github.com/mailru/easyjson.Marshaler
*MakeSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*MakeSnapshotParams : github.com/mailru/easyjson.Unmarshaler
MakeSnapshotParams : encoding/json.Marshaler
*MakeSnapshotParams : encoding/json.Unmarshaler
func MakeSnapshot(layerID LayerID) *MakeSnapshotParams
MakeSnapshotReturns return values.
// The id of the snapshot.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
MakeSnapshotReturns : github.com/goccy/go-json.Marshaler
*MakeSnapshotReturns : github.com/goccy/go-json.Unmarshaler
MakeSnapshotReturns : github.com/mailru/easyjson.Marshaler
*MakeSnapshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*MakeSnapshotReturns : github.com/mailru/easyjson.Unmarshaler
MakeSnapshotReturns : encoding/json.Marshaler
*MakeSnapshotReturns : encoding/json.Unmarshaler
PaintProfile array of timings, one per paint step.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-PaintProfile
func (*ProfileSnapshotParams).Do(ctx context.Context) (timings []PaintProfile, err error)
PictureTile serialized fragment of layer picture along with its offset
within the layer.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-PictureTile
// Base64-encoded snapshot data.
// Offset from owning layer left boundary
// Offset from owning layer top boundary
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
PictureTile : github.com/goccy/go-json.Marshaler
*PictureTile : github.com/goccy/go-json.Unmarshaler
PictureTile : github.com/mailru/easyjson.Marshaler
*PictureTile : github.com/mailru/easyjson.MarshalerUnmarshaler
*PictureTile : github.com/mailru/easyjson.Unmarshaler
PictureTile : encoding/json.Marshaler
*PictureTile : encoding/json.Unmarshaler
func LoadSnapshot(tiles []*PictureTile) *LoadSnapshotParams
ProfileSnapshotParams [no description].
// The clip rectangle to apply when replaying the snapshot.
// The minimum duration (in seconds) to replay the snapshot.
// The maximum number of times to replay the snapshot (1, if not specified).
// The id of the layer snapshot.
Do executes LayerTree.profileSnapshot against the provided context.
returns:
timings - The array of paint profiles, one per run.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithClipRect the clip rectangle to apply when replaying the snapshot.
WithMinDuration the minimum duration (in seconds) to replay the snapshot.
WithMinRepeatCount the maximum number of times to replay the snapshot (1,
if not specified).
ProfileSnapshotParams : github.com/goccy/go-json.Marshaler
*ProfileSnapshotParams : github.com/goccy/go-json.Unmarshaler
ProfileSnapshotParams : github.com/mailru/easyjson.Marshaler
*ProfileSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ProfileSnapshotParams : github.com/mailru/easyjson.Unmarshaler
ProfileSnapshotParams : encoding/json.Marshaler
*ProfileSnapshotParams : encoding/json.Unmarshaler
func ProfileSnapshot(snapshotID SnapshotID) *ProfileSnapshotParams
func ProfileSnapshotParams.WithClipRect(clipRect *dom.Rect) *ProfileSnapshotParams
func ProfileSnapshotParams.WithMinDuration(minDuration float64) *ProfileSnapshotParams
func ProfileSnapshotParams.WithMinRepeatCount(minRepeatCount int64) *ProfileSnapshotParams
ProfileSnapshotReturns return values.
// The array of paint profiles, one per run.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ProfileSnapshotReturns : github.com/goccy/go-json.Marshaler
*ProfileSnapshotReturns : github.com/goccy/go-json.Unmarshaler
ProfileSnapshotReturns : github.com/mailru/easyjson.Marshaler
*ProfileSnapshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*ProfileSnapshotReturns : github.com/mailru/easyjson.Unmarshaler
ProfileSnapshotReturns : encoding/json.Marshaler
*ProfileSnapshotReturns : encoding/json.Unmarshaler
ReleaseSnapshotParams releases layer snapshot captured by the back-end.
// The id of the layer snapshot.
Do executes LayerTree.releaseSnapshot against the provided context.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
*ReleaseSnapshotParams : github.com/chromedp/chromedp.Action
*ReleaseSnapshotParams : github.com/chromedp/chromedp.CallAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.EmulateAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.EvaluateAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.KeyAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.MouseAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.NavigateAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.PollAction
*ReleaseSnapshotParams : github.com/chromedp/chromedp.QueryAction
ReleaseSnapshotParams : github.com/goccy/go-json.Marshaler
*ReleaseSnapshotParams : github.com/goccy/go-json.Unmarshaler
ReleaseSnapshotParams : github.com/mailru/easyjson.Marshaler
*ReleaseSnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReleaseSnapshotParams : github.com/mailru/easyjson.Unmarshaler
ReleaseSnapshotParams : encoding/json.Marshaler
*ReleaseSnapshotParams : encoding/json.Unmarshaler
func ReleaseSnapshot(snapshotID SnapshotID) *ReleaseSnapshotParams
ReplaySnapshotParams replays the layer snapshot and returns the resulting
bitmap.
// The first step to replay from (replay from the very start if not specified).
// The scale to apply while replaying (defaults to 1).
// The id of the layer snapshot.
// The last step to replay to (replay till the end if not specified).
Do executes LayerTree.replaySnapshot against the provided context.
returns:
dataURL - A data: URL for resulting image.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
WithFromStep the first step to replay from (replay from the very start if
not specified).
WithScale the scale to apply while replaying (defaults to 1).
WithToStep the last step to replay to (replay till the end if not
specified).
ReplaySnapshotParams : github.com/goccy/go-json.Marshaler
*ReplaySnapshotParams : github.com/goccy/go-json.Unmarshaler
ReplaySnapshotParams : github.com/mailru/easyjson.Marshaler
*ReplaySnapshotParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReplaySnapshotParams : github.com/mailru/easyjson.Unmarshaler
ReplaySnapshotParams : encoding/json.Marshaler
*ReplaySnapshotParams : encoding/json.Unmarshaler
func ReplaySnapshot(snapshotID SnapshotID) *ReplaySnapshotParams
func ReplaySnapshotParams.WithFromStep(fromStep int64) *ReplaySnapshotParams
func ReplaySnapshotParams.WithScale(scale float64) *ReplaySnapshotParams
func ReplaySnapshotParams.WithToStep(toStep int64) *ReplaySnapshotParams
ReplaySnapshotReturns return values.
// A data: URL for resulting image.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ReplaySnapshotReturns : github.com/goccy/go-json.Marshaler
*ReplaySnapshotReturns : github.com/goccy/go-json.Unmarshaler
ReplaySnapshotReturns : github.com/mailru/easyjson.Marshaler
*ReplaySnapshotReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*ReplaySnapshotReturns : github.com/mailru/easyjson.Unmarshaler
ReplaySnapshotReturns : encoding/json.Marshaler
*ReplaySnapshotReturns : encoding/json.Unmarshaler
ScrollRect rectangle where scrolling happens on the main thread.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-ScrollRect
// Rectangle itself.
// Reason for rectangle to force scrolling on the main thread
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
ScrollRect : github.com/goccy/go-json.Marshaler
*ScrollRect : github.com/goccy/go-json.Unmarshaler
ScrollRect : github.com/mailru/easyjson.Marshaler
*ScrollRect : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScrollRect : github.com/mailru/easyjson.Unmarshaler
ScrollRect : encoding/json.Marshaler
*ScrollRect : encoding/json.Unmarshaler
ScrollRectType reason for rectangle to force scrolling on the main thread.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-ScrollRect
MarshalEasyJSON satisfies easyjson.Marshaler.
MarshalJSON satisfies json.Marshaler.
String returns the ScrollRectType as string value.
UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
UnmarshalJSON satisfies json.Unmarshaler.
ScrollRectType : github.com/goccy/go-json.Marshaler
*ScrollRectType : github.com/goccy/go-json.Unmarshaler
ScrollRectType : github.com/mailru/easyjson.Marshaler
*ScrollRectType : github.com/mailru/easyjson.MarshalerUnmarshaler
*ScrollRectType : github.com/mailru/easyjson.Unmarshaler
ScrollRectType : encoding/json.Marshaler
*ScrollRectType : encoding/json.Unmarshaler
ScrollRectType : expvar.Var
ScrollRectType : fmt.Stringer
const ScrollRectTypeRepaintsOnScroll
const ScrollRectTypeTouchEventHandler
const ScrollRectTypeWheelEventHandler
SnapshotCommandLogParams replays the layer snapshot and returns canvas
log.
// The id of the layer snapshot.
Do executes LayerTree.snapshotCommandLog against the provided context.
returns:
commandLog - The array of canvas function calls.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SnapshotCommandLogParams : github.com/goccy/go-json.Marshaler
*SnapshotCommandLogParams : github.com/goccy/go-json.Unmarshaler
SnapshotCommandLogParams : github.com/mailru/easyjson.Marshaler
*SnapshotCommandLogParams : github.com/mailru/easyjson.MarshalerUnmarshaler
*SnapshotCommandLogParams : github.com/mailru/easyjson.Unmarshaler
SnapshotCommandLogParams : encoding/json.Marshaler
*SnapshotCommandLogParams : encoding/json.Unmarshaler
func SnapshotCommandLog(snapshotID SnapshotID) *SnapshotCommandLogParams
SnapshotCommandLogReturns return values.
// The array of canvas function calls.
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
SnapshotCommandLogReturns : github.com/goccy/go-json.Marshaler
*SnapshotCommandLogReturns : github.com/goccy/go-json.Unmarshaler
SnapshotCommandLogReturns : github.com/mailru/easyjson.Marshaler
*SnapshotCommandLogReturns : github.com/mailru/easyjson.MarshalerUnmarshaler
*SnapshotCommandLogReturns : github.com/mailru/easyjson.Unmarshaler
SnapshotCommandLogReturns : encoding/json.Marshaler
*SnapshotCommandLogReturns : encoding/json.Unmarshaler
SnapshotID unique snapshot identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-SnapshotId
String returns the SnapshotID as string value.
SnapshotID : expvar.Var
SnapshotID : fmt.Stringer
func (*LoadSnapshotParams).Do(ctx context.Context) (snapshotID SnapshotID, err error)
func (*MakeSnapshotParams).Do(ctx context.Context) (snapshotID SnapshotID, err error)
func ProfileSnapshot(snapshotID SnapshotID) *ProfileSnapshotParams
func ReleaseSnapshot(snapshotID SnapshotID) *ReleaseSnapshotParams
func ReplaySnapshot(snapshotID SnapshotID) *ReplaySnapshotParams
func SnapshotCommandLog(snapshotID SnapshotID) *SnapshotCommandLogParams
StickyPositionConstraint sticky position constraints.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#type-StickyPositionConstraint
// Layout rectangle of the containing block of the sticky element
// The nearest sticky layer that shifts the containing block
// The nearest sticky layer that shifts the sticky box
// Layout rectangle of the sticky element before being shifted
MarshalEasyJSON supports easyjson.Marshaler interface
MarshalJSON supports json.Marshaler interface
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
UnmarshalJSON supports json.Unmarshaler interface
StickyPositionConstraint : github.com/goccy/go-json.Marshaler
*StickyPositionConstraint : github.com/goccy/go-json.Unmarshaler
StickyPositionConstraint : github.com/mailru/easyjson.Marshaler
*StickyPositionConstraint : github.com/mailru/easyjson.MarshalerUnmarshaler
*StickyPositionConstraint : github.com/mailru/easyjson.Unmarshaler
StickyPositionConstraint : encoding/json.Marshaler
*StickyPositionConstraint : encoding/json.Unmarshaler
Package-Level Functions (total 9)
CompositingReasons provides the reasons why the given layer was
composited.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-compositingReasons
parameters:
layerID - The id of the layer for which we want to get the reasons it was composited.
Disable disables compositing tree inspection.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-disable
Enable enables compositing tree inspection.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-enable
LoadSnapshot returns the snapshot identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-loadSnapshot
parameters:
tiles - An array of tiles composing the snapshot.
MakeSnapshot returns the layer snapshot identifier.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-makeSnapshot
parameters:
layerID - The id of the layer.
ProfileSnapshot [no description].
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-profileSnapshot
parameters:
snapshotID - The id of the layer snapshot.
ReleaseSnapshot releases layer snapshot captured by the back-end.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-releaseSnapshot
parameters:
snapshotID - The id of the layer snapshot.
ReplaySnapshot replays the layer snapshot and returns the resulting
bitmap.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-replaySnapshot
parameters:
snapshotID - The id of the layer snapshot.
SnapshotCommandLog replays the layer snapshot and returns canvas log.
See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#method-snapshotCommandLog
parameters:
snapshotID - The id of the layer snapshot.
Package-Level Constants (total 12)
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
Command names.
ScrollRectType values.
ScrollRectType values.
ScrollRectType values.
![]() |
The pages are generated with Golds v0.8.2. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |