2017-01-24 15:09:23 +00:00
package emulation
2017-07-09 02:05:19 +00:00
// 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-10-07 01:22:18 +00:00
// EventVirtualTimeAdvanced notification sent after the virtual time has
// advanced.
type EventVirtualTimeAdvanced struct {
2017-11-22 05:01:27 +00:00
VirtualTimeElapsed float64 ` json:"virtualTimeElapsed" ` // The amount of virtual time that has elapsed in milliseconds since virtual time was first enabled.
2017-10-07 01:22:18 +00:00
}
2017-12-18 00:23:14 +00:00
// EventVirtualTimeBudgetExpired notification sent after the virtual time
// 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 {
2017-11-22 05:01:27 +00:00
VirtualTimeElapsed float64 ` json:"virtualTimeElapsed" ` // The amount of virtual time that has elapsed in milliseconds since virtual time was first enabled.
2017-09-03 01:15:59 +00:00
}
2017-01-26 07:28:34 +00:00
// EventTypes all event types in the domain.
var EventTypes = [ ] cdp . MethodType {
2017-10-07 01:22:18 +00:00
cdp . EventEmulationVirtualTimeAdvanced ,
2017-12-18 00:23:14 +00:00
cdp . EventEmulationVirtualTimeBudgetExpired ,
2017-09-03 01:15:59 +00:00
cdp . EventEmulationVirtualTimePaused ,
2017-01-24 15:09:23 +00:00
}