chromedp/cdp/emulation/events.go

24 lines
733 B
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package emulation
// Code generated by chromedp-gen. DO NOT EDIT.
2017-01-24 15:09:23 +00:00
import (
2017-01-26 07:28:34 +00:00
cdp "github.com/knq/chromedp/cdp"
2017-01-24 15:09:23 +00:00
)
2017-09-03 01:15:59 +00:00
// EventVirtualTimeBudgetExpired notification sent after the virtual time
2017-01-24 15:09:23 +00:00
// budget for the current VirtualTimePolicy has run out.
type EventVirtualTimeBudgetExpired struct{}
2017-09-03 01:15:59 +00:00
// EventVirtualTimePaused notification sent after the virtual time has
// paused.
type EventVirtualTimePaused struct {
VirtualTimeElapsed int64 `json:"virtualTimeElapsed"` // The amount of virtual time that has elapsed in milliseconds since virtual time was first enabled.
}
2017-01-26 07:28:34 +00:00
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventEmulationVirtualTimeBudgetExpired,
2017-09-03 01:15:59 +00:00
cdp.EventEmulationVirtualTimePaused,
2017-01-24 15:09:23 +00:00
}