Versions in this module Expand all Collapse all v0 v0.9.0 Jul 18, 2017 Changes in this version + func NewClient(conn *rpcc.Conn) *domainClient + type AddRuleArgs struct + Location SourceRange + RuleText string + StyleSheetID StyleSheetID + func NewAddRuleArgs(styleSheetID StyleSheetID, ruleText string, location SourceRange) *AddRuleArgs + type AddRuleReply struct + Rule Rule + type CollectClassNamesArgs struct + StyleSheetID StyleSheetID + func NewCollectClassNamesArgs(styleSheetID StyleSheetID) *CollectClassNamesArgs + type CollectClassNamesReply struct + ClassNames []string + type ComputedStyleProperty struct + Name string + Value string + type CreateStyleSheetArgs struct + FrameID page.FrameID + func NewCreateStyleSheetArgs(frameID page.FrameID) *CreateStyleSheetArgs + type CreateStyleSheetReply struct + StyleSheetID StyleSheetID + type FontsUpdatedClient interface + Recv func() (*FontsUpdatedReply, error) + type FontsUpdatedReply struct + type ForcePseudoStateArgs struct + ForcedPseudoClasses []string + NodeID dom.NodeID + func NewForcePseudoStateArgs(nodeID dom.NodeID, forcedPseudoClasses []string) *ForcePseudoStateArgs + type GetBackgroundColorsArgs struct + NodeID dom.NodeID + func NewGetBackgroundColorsArgs(nodeID dom.NodeID) *GetBackgroundColorsArgs + type GetBackgroundColorsReply struct + BackgroundColors []string + type GetComputedStyleForNodeArgs struct + NodeID dom.NodeID + func NewGetComputedStyleForNodeArgs(nodeID dom.NodeID) *GetComputedStyleForNodeArgs + type GetComputedStyleForNodeReply struct + ComputedStyle []ComputedStyleProperty + type GetInlineStylesForNodeArgs struct + NodeID dom.NodeID + func NewGetInlineStylesForNodeArgs(nodeID dom.NodeID) *GetInlineStylesForNodeArgs + type GetInlineStylesForNodeReply struct + AttributesStyle *Style + InlineStyle *Style + type GetMatchedStylesForNodeArgs struct + NodeID dom.NodeID + func NewGetMatchedStylesForNodeArgs(nodeID dom.NodeID) *GetMatchedStylesForNodeArgs + type GetMatchedStylesForNodeReply struct + AttributesStyle *Style + CSSKeyframesRules []KeyframesRule + Inherited []InheritedStyleEntry + InlineStyle *Style + MatchedCSSRules []RuleMatch + PseudoElements []PseudoElementMatches + type GetMediaQueriesReply struct + Medias []Media + type GetPlatformFontsForNodeArgs struct + NodeID dom.NodeID + func NewGetPlatformFontsForNodeArgs(nodeID dom.NodeID) *GetPlatformFontsForNodeArgs + type GetPlatformFontsForNodeReply struct + Fonts []PlatformFontUsage + type GetStyleSheetTextArgs struct + StyleSheetID StyleSheetID + func NewGetStyleSheetTextArgs(styleSheetID StyleSheetID) *GetStyleSheetTextArgs + type GetStyleSheetTextReply struct + Text string + type InheritedStyleEntry struct + InlineStyle *Style + MatchedCSSRules []RuleMatch + type InlineTextBox struct + BoundingBox dom.Rect + NumCharacters int + StartCharacterIndex int + type KeyframeRule struct + KeyText Value + Origin StyleSheetOrigin + Style Style + StyleSheetID *StyleSheetID + type KeyframesRule struct + AnimationName Value + Keyframes []KeyframeRule + type Media struct + MediaList []MediaQuery + Range *SourceRange + Source string + SourceURL *string + StyleSheetID *StyleSheetID + Text string + type MediaQuery struct + Active bool + Expressions []MediaQueryExpression + type MediaQueryExpression struct + ComputedLength *float64 + Feature string + Unit string + Value float64 + ValueRange *SourceRange + type MediaQueryResultChangedClient interface + Recv func() (*MediaQueryResultChangedReply, error) + type MediaQueryResultChangedReply struct + type PlatformFontUsage struct + FamilyName string + GlyphCount float64 + IsCustomFont bool + type Property struct + Disabled *bool + Implicit *bool + Important *bool + Name string + ParsedOk *bool + Range *SourceRange + Text *string + Value string + type PseudoElementMatches struct + Matches []RuleMatch + PseudoType dom.PseudoType + type Rule struct + Media []Media + Origin StyleSheetOrigin + SelectorList SelectorList + Style Style + StyleSheetID *StyleSheetID + type RuleMatch struct + MatchingSelectors []int + Rule Rule + type RuleUsage struct + EndOffset float64 + StartOffset float64 + StyleSheetID StyleSheetID + Used bool + type SelectorList struct + Selectors []Value + Text string + type SetEffectivePropertyValueForNodeArgs struct + NodeID dom.NodeID + PropertyName string + Value string + func NewSetEffectivePropertyValueForNodeArgs(nodeID dom.NodeID, propertyName string, value string) *SetEffectivePropertyValueForNodeArgs + type SetKeyframeKeyArgs struct + KeyText string + Range SourceRange + StyleSheetID StyleSheetID + func NewSetKeyframeKeyArgs(styleSheetID StyleSheetID, rang SourceRange, keyText string) *SetKeyframeKeyArgs + type SetKeyframeKeyReply struct + KeyText Value + type SetMediaTextArgs struct + Range SourceRange + StyleSheetID StyleSheetID + Text string + func NewSetMediaTextArgs(styleSheetID StyleSheetID, rang SourceRange, text string) *SetMediaTextArgs + type SetMediaTextReply struct + Media Media + type SetRuleSelectorArgs struct + Range SourceRange + Selector string + StyleSheetID StyleSheetID + func NewSetRuleSelectorArgs(styleSheetID StyleSheetID, rang SourceRange, selector string) *SetRuleSelectorArgs + type SetRuleSelectorReply struct + SelectorList SelectorList + type SetStyleSheetTextArgs struct + StyleSheetID StyleSheetID + Text string + func NewSetStyleSheetTextArgs(styleSheetID StyleSheetID, text string) *SetStyleSheetTextArgs + type SetStyleSheetTextReply struct + SourceMapURL *string + type SetStyleTextsArgs struct + Edits []StyleDeclarationEdit + func NewSetStyleTextsArgs(edits []StyleDeclarationEdit) *SetStyleTextsArgs + type SetStyleTextsReply struct + Styles []Style + type ShorthandEntry struct + Important *bool + Name string + Value string + type SourceRange struct + EndColumn int + EndLine int + StartColumn int + StartLine int + type StopRuleUsageTrackingReply struct + RuleUsage []RuleUsage + type Style struct + CSSProperties []Property + CSSText *string + Range *SourceRange + ShorthandEntries []ShorthandEntry + StyleSheetID *StyleSheetID + type StyleDeclarationEdit struct + Range SourceRange + StyleSheetID StyleSheetID + Text string + type StyleSheetAddedClient interface + Recv func() (*StyleSheetAddedReply, error) + type StyleSheetAddedReply struct + Header StyleSheetHeader + type StyleSheetChangedClient interface + Recv func() (*StyleSheetChangedReply, error) + type StyleSheetChangedReply struct + StyleSheetID StyleSheetID + type StyleSheetHeader struct + Disabled bool + FrameID page.FrameID + HasSourceURL *bool + IsInline bool + Length float64 + Origin StyleSheetOrigin + OwnerNode *dom.BackendNodeID + SourceMapURL *string + SourceURL string + StartColumn float64 + StartLine float64 + StyleSheetID StyleSheetID + Title string + type StyleSheetID string + type StyleSheetOrigin int + const StyleSheetOriginInjected + const StyleSheetOriginInspector + const StyleSheetOriginNotSet + const StyleSheetOriginRegular + const StyleSheetOriginUserAgent + func (e *StyleSheetOrigin) UnmarshalJSON(data []byte) error + func (e StyleSheetOrigin) MarshalJSON() ([]byte, error) + func (e StyleSheetOrigin) String() string + func (e StyleSheetOrigin) Valid() bool + type StyleSheetRemovedClient interface + Recv func() (*StyleSheetRemovedReply, error) + type StyleSheetRemovedReply struct + StyleSheetID StyleSheetID + type TakeCoverageDeltaReply struct + Coverage []RuleUsage + type Value struct + Range *SourceRange + Text string