chromedp/cdp/layertree/events.go
Kenneth Shaw 7fbfef7cf1 Adding synthesized "HAR" domain to protocol generation
* Added "HAR" domain
* Fixed issue with omitempty on domain types
2017-07-02 18:44:34 +07:00

26 lines
668 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"` // The id of the painted layer.
Clip *dom.Rect `json:"clip"` // Clip rectangle.
}
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventLayerTreeLayerTreeDidChange,
cdp.EventLayerTreeLayerPainted,
}