pl.wendigo.chrome.domain.css

Package pl.wendigo.chrome.domain.css

Types

AddRuleRequest

data class AddRuleRequest

Represents request frame that can be used with CSS.addRule method call.

AddRuleResponse

data class AddRuleResponse

Represents response frame for CSS.addRule method call.

CollectClassNamesRequest

data class CollectClassNamesRequest

Represents request frame that can be used with CSS.collectClassNames method call.

CollectClassNamesResponse

data class CollectClassNamesResponse

Represents response frame for CSS.collectClassNames method call.

CreateStyleSheetRequest

data class CreateStyleSheetRequest

Represents request frame that can be used with CSS.createStyleSheet method call.

CreateStyleSheetResponse

data class CreateStyleSheetResponse

Represents response frame for CSS.createStyleSheet method call.

CSSComputedStyleProperty

data class CSSComputedStyleProperty

CSSDomain

class CSSDomain

This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles) have an associated id used in subsequent operations on the related object. Each object type has a specific id structure, and those are not interchangeable between objects of different kinds. CSS objects can be loaded using the get*ForNode() calls (which accept a DOM node id). A client can also keep track of stylesheets via the styleSheetAdded/styleSheetRemoved events and subsequently load the required stylesheet contents using the getStyleSheet[Text]() methods.

CSSKeyframeRule

data class CSSKeyframeRule

CSS keyframe rule representation.

CSSKeyframesRule

data class CSSKeyframesRule

CSS keyframes rule representation.

CSSMedia

data class CSSMedia

CSS media rule descriptor.

CSSProperty

data class CSSProperty

CSS property declaration data.

CSSRule

data class CSSRule

CSS rule representation.

CSSStyle

data class CSSStyle

CSS style representation.

CSSStyleSheetHeader

data class CSSStyleSheetHeader

CSS stylesheet metainformation.

FontFace

data class FontFace

Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions

FontsUpdatedEvent

data class FontsUpdatedEvent : ProtocolEvent

Represents event frames for CSS.fontsUpdated

ForcePseudoStateRequest

data class ForcePseudoStateRequest

Represents request frame that can be used with CSS.forcePseudoState method call.

GetBackgroundColorsRequest

data class GetBackgroundColorsRequest

Represents request frame that can be used with CSS.getBackgroundColors method call.

GetBackgroundColorsResponse

data class GetBackgroundColorsResponse

Represents response frame for CSS.getBackgroundColors method call.

GetComputedStyleForNodeRequest

data class GetComputedStyleForNodeRequest

Represents request frame that can be used with CSS.getComputedStyleForNode method call.

GetComputedStyleForNodeResponse

data class GetComputedStyleForNodeResponse

Represents response frame for CSS.getComputedStyleForNode method call.

GetInlineStylesForNodeRequest

data class GetInlineStylesForNodeRequest

Represents request frame that can be used with CSS.getInlineStylesForNode method call.

GetInlineStylesForNodeResponse

data class GetInlineStylesForNodeResponse

Represents response frame for CSS.getInlineStylesForNode method call.

GetMatchedStylesForNodeRequest

data class GetMatchedStylesForNodeRequest

Represents request frame that can be used with CSS.getMatchedStylesForNode method call.

GetMatchedStylesForNodeResponse

data class GetMatchedStylesForNodeResponse

Represents response frame for CSS.getMatchedStylesForNode method call.

GetMediaQueriesResponse

data class GetMediaQueriesResponse

Represents response frame for CSS.getMediaQueries method call.

GetPlatformFontsForNodeRequest

data class GetPlatformFontsForNodeRequest

Represents request frame that can be used with CSS.getPlatformFontsForNode method call.

GetPlatformFontsForNodeResponse

data class GetPlatformFontsForNodeResponse

Represents response frame for CSS.getPlatformFontsForNode method call.

GetStyleSheetTextRequest

data class GetStyleSheetTextRequest

Represents request frame that can be used with CSS.getStyleSheetText method call.

GetStyleSheetTextResponse

data class GetStyleSheetTextResponse

Represents response frame for CSS.getStyleSheetText method call.

InheritedStyleEntry

data class InheritedStyleEntry

Inherited CSS rule collection from ancestor node.

MediaQuery

data class MediaQuery

Media query descriptor.

MediaQueryExpression

data class MediaQueryExpression

Media query expression descriptor.

PlatformFontUsage

data class PlatformFontUsage

Information about amount of glyphs that were rendered with given font.

PseudoElementMatches

data class PseudoElementMatches

CSS rule collection for a single pseudo style.

RuleMatch

data class RuleMatch

Match data for a CSS rule.

RuleUsage

data class RuleUsage

CSS coverage information.

SelectorList

data class SelectorList

Selector list data.

SetEffectivePropertyValueForNodeRequest

data class SetEffectivePropertyValueForNodeRequest

Represents request frame that can be used with CSS.setEffectivePropertyValueForNode method call.

SetKeyframeKeyRequest

data class SetKeyframeKeyRequest

Represents request frame that can be used with CSS.setKeyframeKey method call.

SetKeyframeKeyResponse

data class SetKeyframeKeyResponse

Represents response frame for CSS.setKeyframeKey method call.

SetMediaTextRequest

data class SetMediaTextRequest

Represents request frame that can be used with CSS.setMediaText method call.

SetMediaTextResponse

data class SetMediaTextResponse

Represents response frame for CSS.setMediaText method call.

SetRuleSelectorRequest

data class SetRuleSelectorRequest

Represents request frame that can be used with CSS.setRuleSelector method call.

SetRuleSelectorResponse

data class SetRuleSelectorResponse

Represents response frame for CSS.setRuleSelector method call.

SetStyleSheetTextRequest

data class SetStyleSheetTextRequest

Represents request frame that can be used with CSS.setStyleSheetText method call.

SetStyleSheetTextResponse

data class SetStyleSheetTextResponse

Represents response frame for CSS.setStyleSheetText method call.

SetStyleTextsRequest

data class SetStyleTextsRequest

Represents request frame that can be used with CSS.setStyleTexts method call.

SetStyleTextsResponse

data class SetStyleTextsResponse

Represents response frame for CSS.setStyleTexts method call.

ShorthandEntry

data class ShorthandEntry

SourceRange

data class SourceRange

Text range within a resource. All numbers are zero-based.

StopRuleUsageTrackingResponse

data class StopRuleUsageTrackingResponse

Represents response frame for CSS.stopRuleUsageTracking method call.

StyleDeclarationEdit

data class StyleDeclarationEdit

A descriptor of operation to mutate style declaration text.

StyleSheetAddedEvent

data class StyleSheetAddedEvent : ProtocolEvent

Represents event frames for CSS.styleSheetAdded

StyleSheetChangedEvent

data class StyleSheetChangedEvent : ProtocolEvent

Represents event frames for CSS.styleSheetChanged

StyleSheetOrigin

enum class StyleSheetOrigin

Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via inspector" rules), "regular" for regular stylesheets.

StyleSheetRemovedEvent

data class StyleSheetRemovedEvent : ProtocolEvent

Represents event frames for CSS.styleSheetRemoved

TakeCoverageDeltaResponse

data class TakeCoverageDeltaResponse

Represents response frame for CSS.takeCoverageDelta method call.

Value

data class Value

Data for a simple selector (these are delimited by commas in a selector list).

Type Aliases

StyleSheetId

typealias StyleSheetId = String