chromedp/cdp/applicationcache/events.go
2017-01-26 14:28:34 +07:00

26 lines
845 B
Go

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