2017-05-06 01:20:24 +00:00
|
|
|
package overlay
|
|
|
|
|
2017-07-09 02:05:19 +00:00
|
|
|
// Code generated by chromedp-gen. DO NOT EDIT.
|
2017-05-06 01:20:24 +00:00
|
|
|
|
|
|
|
import (
|
|
|
|
cdp "github.com/knq/chromedp/cdp"
|
|
|
|
)
|
|
|
|
|
|
|
|
// EventNodeHighlightRequested fired when the node should be highlighted.
|
|
|
|
// This happens after call to setInspectMode.
|
|
|
|
type EventNodeHighlightRequested struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
NodeID cdp.NodeID `json:"nodeId"`
|
2017-05-06 01:20:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// EventInspectNodeRequested fired when the node should be inspected. This
|
|
|
|
// happens after call to setInspectMode or when user manually inspects an
|
|
|
|
// element.
|
|
|
|
type EventInspectNodeRequested struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
BackendNodeID cdp.BackendNodeID `json:"backendNodeId"` // Id of the node to inspect.
|
2017-05-06 01:20:24 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// EventTypes all event types in the domain.
|
|
|
|
var EventTypes = []cdp.MethodType{
|
|
|
|
cdp.EventOverlayNodeHighlightRequested,
|
|
|
|
cdp.EventOverlayInspectNodeRequested,
|
|
|
|
}
|