chromedp/cdp/profiler/events.go

50 lines
1.3 KiB
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package profiler
// AUTOGENERATED. DO NOT EDIT.
import (
. "github.com/knq/chromedp/cdp"
"github.com/knq/chromedp/cdp/debugger"
)
var (
_ BackendNode
_ BackendNodeID
_ ComputedProperty
_ ErrorType
_ Frame
_ FrameID
_ LoaderID
_ Message
_ MessageError
_ MethodType
_ Node
_ NodeID
_ NodeType
_ PseudoType
_ RGBA
_ ShadowRootType
_ Timestamp
)
// EventConsoleProfileStarted sent when new profile recodring is started
// using console.profile() call.
type EventConsoleProfileStarted struct {
ID string `json:"id,omitempty"`
Location *debugger.Location `json:"location,omitempty"` // Location of console.profile().
Title string `json:"title,omitempty"` // Profile title passed as an argument to console.profile().
}
type EventConsoleProfileFinished struct {
ID string `json:"id,omitempty"`
Location *debugger.Location `json:"location,omitempty"` // Location of console.profileEnd().
Profile *Profile `json:"profile,omitempty"`
Title string `json:"title,omitempty"` // Profile title passed as an argument to console.profile().
}
// EventTypes is all event types in the domain.
var EventTypes = []MethodType{
EventProfilerConsoleProfileStarted,
EventProfilerConsoleProfileFinished,
}