2017-01-24 15:09:23 +00:00
|
|
|
package css
|
|
|
|
|
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
|
|
|
)
|
|
|
|
|
|
|
|
// EventMediaQueryResultChanged fires whenever a MediaQuery result changes
|
|
|
|
// (for example, after a browser window has been resized.) The current
|
|
|
|
// implementation considers only viewport-dependent media features.
|
|
|
|
type EventMediaQueryResultChanged struct{}
|
|
|
|
|
|
|
|
// EventFontsUpdated fires whenever a web font gets loaded.
|
|
|
|
type EventFontsUpdated struct{}
|
|
|
|
|
|
|
|
// EventStyleSheetChanged fired whenever a stylesheet is changed as a result
|
|
|
|
// of the client operation.
|
|
|
|
type EventStyleSheetChanged struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
StyleSheetID StyleSheetID `json:"styleSheetId"`
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// EventStyleSheetAdded fired whenever an active document stylesheet is
|
|
|
|
// added.
|
|
|
|
type EventStyleSheetAdded struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
Header *StyleSheetHeader `json:"header"` // Added stylesheet metainfo.
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// EventStyleSheetRemoved fired whenever an active document stylesheet is
|
|
|
|
// removed.
|
|
|
|
type EventStyleSheetRemoved struct {
|
2017-07-02 11:44:34 +00:00
|
|
|
StyleSheetID StyleSheetID `json:"styleSheetId"` // Identifier of the removed stylesheet.
|
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.EventCSSMediaQueryResultChanged,
|
|
|
|
cdp.EventCSSFontsUpdated,
|
|
|
|
cdp.EventCSSStyleSheetChanged,
|
|
|
|
cdp.EventCSSStyleSheetAdded,
|
|
|
|
cdp.EventCSSStyleSheetRemoved,
|
2017-01-24 15:09:23 +00:00
|
|
|
}
|