| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- package css
- // Code generated by cdproto-gen. DO NOT EDIT.
- import (
- "github.com/chromedp/cdproto/cdp"
- )
- // EventFontsUpdated fires whenever a web font is updated. A non-empty font
- // parameter indicates a successfully loaded web font.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-fontsUpdated
- type EventFontsUpdated struct {
- Font *FontFace `json:"font,omitempty,omitzero"` // The web font that has loaded.
- }
- // 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.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-mediaQueryResultChanged
- type EventMediaQueryResultChanged struct{}
- // EventStyleSheetAdded fired whenever an active document stylesheet is
- // added.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-styleSheetAdded
- type EventStyleSheetAdded struct {
- Header *StyleSheetHeader `json:"header"` // Added stylesheet metainfo.
- }
- // EventStyleSheetChanged fired whenever a stylesheet is changed as a result
- // of the client operation.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-styleSheetChanged
- type EventStyleSheetChanged struct {
- StyleSheetID StyleSheetID `json:"styleSheetId"`
- }
- // EventStyleSheetRemoved fired whenever an active document stylesheet is
- // removed.
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-styleSheetRemoved
- type EventStyleSheetRemoved struct {
- StyleSheetID StyleSheetID `json:"styleSheetId"` // Identifier of the removed stylesheet.
- }
- // EventComputedStyleUpdated [no description].
- //
- // See: https://chromedevtools.github.io/devtools-protocol/tot/CSS#event-computedStyleUpdated
- type EventComputedStyleUpdated struct {
- NodeID cdp.NodeID `json:"nodeId"` // The node id that has updated computed styles.
- }
|