58 lines
1.2 KiB
Go
58 lines
1.2 KiB
Go
|
package domstorage
|
||
|
|
||
|
// AUTOGENERATED. DO NOT EDIT.
|
||
|
|
||
|
import (
|
||
|
. "github.com/knq/chromedp/cdp"
|
||
|
)
|
||
|
|
||
|
var (
|
||
|
_ BackendNode
|
||
|
_ BackendNodeID
|
||
|
_ ComputedProperty
|
||
|
_ ErrorType
|
||
|
_ Frame
|
||
|
_ FrameID
|
||
|
_ LoaderID
|
||
|
_ Message
|
||
|
_ MessageError
|
||
|
_ MethodType
|
||
|
_ Node
|
||
|
_ NodeID
|
||
|
_ NodeType
|
||
|
_ PseudoType
|
||
|
_ RGBA
|
||
|
_ ShadowRootType
|
||
|
_ Timestamp
|
||
|
)
|
||
|
|
||
|
type EventDomStorageItemsCleared struct {
|
||
|
StorageID *StorageID `json:"storageId,omitempty"`
|
||
|
}
|
||
|
|
||
|
type EventDomStorageItemRemoved struct {
|
||
|
StorageID *StorageID `json:"storageId,omitempty"`
|
||
|
Key string `json:"key,omitempty"`
|
||
|
}
|
||
|
|
||
|
type EventDomStorageItemAdded struct {
|
||
|
StorageID *StorageID `json:"storageId,omitempty"`
|
||
|
Key string `json:"key,omitempty"`
|
||
|
NewValue string `json:"newValue,omitempty"`
|
||
|
}
|
||
|
|
||
|
type EventDomStorageItemUpdated struct {
|
||
|
StorageID *StorageID `json:"storageId,omitempty"`
|
||
|
Key string `json:"key,omitempty"`
|
||
|
OldValue string `json:"oldValue,omitempty"`
|
||
|
NewValue string `json:"newValue,omitempty"`
|
||
|
}
|
||
|
|
||
|
// EventTypes is all event types in the domain.
|
||
|
var EventTypes = []MethodType{
|
||
|
EventDOMStorageDomStorageItemsCleared,
|
||
|
EventDOMStorageDomStorageItemRemoved,
|
||
|
EventDOMStorageDomStorageItemAdded,
|
||
|
EventDOMStorageDomStorageItemUpdated,
|
||
|
}
|