chromedp/cdp/layertree/events.go
2017-01-26 14:28:34 +07:00

26 lines
688 B
Go

package layertree
// AUTOGENERATED. DO NOT EDIT.
import (
cdp "github.com/knq/chromedp/cdp"
"github.com/knq/chromedp/cdp/dom"
)
// EventLayerTreeDidChange [no description].
type EventLayerTreeDidChange struct {
Layers []*Layer `json:"layers,omitempty"` // Layer tree, absent if not in the comspositing mode.
}
// EventLayerPainted [no description].
type EventLayerPainted struct {
LayerID LayerID `json:"layerId,omitempty"` // The id of the painted layer.
Clip *dom.Rect `json:"clip,omitempty"` // Clip rectangle.
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventLayerTreeLayerTreeDidChange,
cdp.EventLayerTreeLayerPainted,
}