stash/vendor/github.com/chromedp/cdproto/layertree/events.go
bnkai 4373f9bf01
Add cdp support for xpath scrapers (#625)
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
2020-08-04 10:42:40 +10:00

22 lines
690 B
Go

package layertree
// Code generated by cdproto-gen. DO NOT EDIT.
import (
"github.com/chromedp/cdproto/dom"
)
// EventLayerPainted [no description].
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#event-layerPainted
type EventLayerPainted struct {
LayerID LayerID `json:"layerId"` // The id of the painted layer.
Clip *dom.Rect `json:"clip"` // Clip rectangle.
}
// EventLayerTreeDidChange [no description].
//
// See: https://chromedevtools.github.io/devtools-protocol/tot/LayerTree#event-layerTreeDidChange
type EventLayerTreeDidChange struct {
Layers []*Layer `json:"layers,omitempty"` // Layer tree, absent if not in the comspositing mode.
}