44 lines
823 B
Go
44 lines
823 B
Go
package layertree
|
|
|
|
// AUTOGENERATED. DO NOT EDIT.
|
|
|
|
import (
|
|
. "github.com/knq/chromedp/cdp"
|
|
"github.com/knq/chromedp/cdp/dom"
|
|
)
|
|
|
|
var (
|
|
_ BackendNode
|
|
_ BackendNodeID
|
|
_ ComputedProperty
|
|
_ ErrorType
|
|
_ Frame
|
|
_ FrameID
|
|
_ LoaderID
|
|
_ Message
|
|
_ MessageError
|
|
_ MethodType
|
|
_ Node
|
|
_ NodeID
|
|
_ NodeType
|
|
_ PseudoType
|
|
_ RGBA
|
|
_ ShadowRootType
|
|
_ Timestamp
|
|
)
|
|
|
|
type EventLayerTreeDidChange struct {
|
|
Layers []*Layer `json:"layers,omitempty"` // Layer tree, absent if not in the comspositing mode.
|
|
}
|
|
|
|
type EventLayerPainted struct {
|
|
LayerID LayerID `json:"layerId,omitempty"` // The id of the painted layer.
|
|
Clip *dom.Rect `json:"clip,omitempty"` // Clip rectangle.
|
|
}
|
|
|
|
// EventTypes is all event types in the domain.
|
|
var EventTypes = []MethodType{
|
|
EventLayerTreeLayerTreeDidChange,
|
|
EventLayerTreeLayerPainted,
|
|
}
|