chromedp/cdp/domstorage/events.go

42 lines
1.1 KiB
Go
Raw Normal View History

2017-01-24 15:09:23 +00:00
package domstorage
// 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-01-26 07:28:34 +00:00
// EventDomStorageItemsCleared [no description].
2017-01-24 15:09:23 +00:00
type EventDomStorageItemsCleared struct {
StorageID *StorageID `json:"storageId"`
2017-01-24 15:09:23 +00:00
}
2017-01-26 07:28:34 +00:00
// EventDomStorageItemRemoved [no description].
2017-01-24 15:09:23 +00:00
type EventDomStorageItemRemoved struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
2017-01-24 15:09:23 +00:00
}
2017-01-26 07:28:34 +00:00
// EventDomStorageItemAdded [no description].
2017-01-24 15:09:23 +00:00
type EventDomStorageItemAdded struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
NewValue string `json:"newValue"`
2017-01-24 15:09:23 +00:00
}
2017-01-26 07:28:34 +00:00
// EventDomStorageItemUpdated [no description].
2017-01-24 15:09:23 +00:00
type EventDomStorageItemUpdated struct {
StorageID *StorageID `json:"storageId"`
Key string `json:"key"`
OldValue string `json:"oldValue"`
NewValue string `json:"newValue"`
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.EventDOMStorageDomStorageItemsCleared,
cdp.EventDOMStorageDomStorageItemRemoved,
cdp.EventDOMStorageDomStorageItemAdded,
cdp.EventDOMStorageDomStorageItemUpdated,
2017-01-24 15:09:23 +00:00
}