2017-01-24 15:09:23 +00:00
|
|
|
package layertree
|
|
|
|
|
|
|
|
// AUTOGENERATED. DO NOT EDIT.
|
|
|
|
|
|
|
|
import (
|
2017-01-26 07:28:34 +00:00
|
|
|
cdp "github.com/knq/chromedp/cdp"
|
2017-01-24 15:09:23 +00:00
|
|
|
"github.com/knq/chromedp/cdp/dom"
|
|
|
|
)
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventLayerTreeDidChange [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventLayerTreeDidChange struct {
|
|
|
|
Layers []*Layer `json:"layers,omitempty"` // Layer tree, absent if not in the comspositing mode.
|
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventLayerPainted [no description].
|
2017-01-24 15:09:23 +00:00
|
|
|
type EventLayerPainted struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
LayerID LayerID `json:"layerId"` // The id of the painted layer.
|
|
|
|
Clip *dom.Rect `json:"clip"` // Clip rectangle.
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
2017-01-26 07:28:34 +00:00
|
|
|
// EventTypes all event types in the domain.
|
|
|
|
var EventTypes = []cdp.MethodType{
|
|
|
|
cdp.EventLayerTreeLayerTreeDidChange,
|
|
|
|
cdp.EventLayerTreeLayerPainted,
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|