chromedp/cdp/applicationcache/events.go

26 lines
805 B
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package applicationcache
// AUTOGENERATED. DO NOT EDIT.
import (
2017-01-26 07:28:34 +00:00
cdp "github.com/knq/chromedp/cdp"
2017-01-24 15:09:23 +00:00
)
2017-01-26 07:28:34 +00:00
// EventApplicationCacheStatusUpdated [no description].
2017-01-24 15:09:23 +00:00
type EventApplicationCacheStatusUpdated struct {
FrameID cdp.FrameID `json:"frameId"` // Identifier of the frame containing document whose application cache updated status.
ManifestURL string `json:"manifestURL"` // Manifest URL.
Status int64 `json:"status"` // Updated application cache status.
2017-01-24 15:09:23 +00:00
}
2017-01-26 07:28:34 +00:00
// EventNetworkStateUpdated [no description].
2017-01-24 15:09:23 +00:00
type EventNetworkStateUpdated struct {
IsNowOnline bool `json:"isNowOnline"`
2017-01-24 15:09:23 +00:00
}
2017-01-26 07:28:34 +00:00
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventApplicationCacheApplicationCacheStatusUpdated,
cdp.EventApplicationCacheNetworkStateUpdated,
2017-01-24 15:09:23 +00:00
}