overlay

package
Version: v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 14, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CommandOverlayDisable                      = "Overlay.disable"
	CommandOverlayEnable                       = "Overlay.enable"
	CommandOverlayGetHighlightObjectForTest    = "Overlay.getHighlightObjectForTest"
	CommandOverlayHideHighlight                = "Overlay.hideHighlight"
	CommandOverlayHighlightFrame               = "Overlay.highlightFrame"
	CommandOverlayHighlightNode                = "Overlay.highlightNode"
	CommandOverlayHighlightQuad                = "Overlay.highlightQuad"
	CommandOverlayHighlightRect                = "Overlay.highlightRect"
	CommandOverlaySetInspectMode               = "Overlay.setInspectMode"
	CommandOverlaySetShowAdHighlights          = "Overlay.setShowAdHighlights"
	CommandOverlaySetPausedInDebuggerMessage   = "Overlay.setPausedInDebuggerMessage"
	CommandOverlaySetShowDebugBorders          = "Overlay.setShowDebugBorders"
	CommandOverlaySetShowFPSCounter            = "Overlay.setShowFPSCounter"
	CommandOverlaySetShowPaintRects            = "Overlay.setShowPaintRects"
	CommandOverlaySetShowLayoutShiftRegions    = "Overlay.setShowLayoutShiftRegions"
	CommandOverlaySetShowScrollBottleneckRects = "Overlay.setShowScrollBottleneckRects"
	CommandOverlaySetShowHitTestBorders        = "Overlay.setShowHitTestBorders"
	CommandOverlaySetShowViewportSizeOnResize  = "Overlay.setShowViewportSizeOnResize"
)
View Source
const (
	EventOverlayInspectNodeRequested   = "Overlay.inspectNodeRequested"
	EventOverlayNodeHighlightRequested = "Overlay.nodeHighlightRequested"
	EventOverlayScreenshotRequested    = "Overlay.screenshotRequested"
	EventOverlayInspectModeCanceled    = "Overlay.inspectModeCanceled"
)

Variables

Functions

func GetEventReply

func GetEventReply(event string) (json.Unmarshaler, bool)

Types

type DisableArgs

type DisableArgs struct {
}

DisableArgs represents the arguments for Disable in the Overlay domain.

func (*DisableArgs) MarshalJSON

func (a *DisableArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for Disable in the Overlay domain.

func (*DisableArgs) UnmarshalJSON

func (a *DisableArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Disable in the Overlay domain.

type DisableReply

type DisableReply struct {
}

DisableReply represents the return values for Disable in the Overlay domain.

func (*DisableReply) GetFrameID

func (a *DisableReply) GetFrameID() string

DisableReply returns the FrameID value for Disable in the Overlay domain.

func (*DisableReply) MatchFrameID

func (a *DisableReply) MatchFrameID(frameID string, m []byte) (bool, error)

DisableReply returns whether or not the FrameID matches the reply value for Disable in the Overlay domain.

func (*DisableReply) UnmarshalJSON

func (a *DisableReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Disable in the Overlay domain.

type EnableArgs

type EnableArgs struct {
}

EnableArgs represents the arguments for Enable in the Overlay domain.

func (*EnableArgs) MarshalJSON

func (a *EnableArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for Enable in the Overlay domain.

func (*EnableArgs) UnmarshalJSON

func (a *EnableArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Enable in the Overlay domain.

type EnableReply

type EnableReply struct {
}

EnableReply represents the return values for Enable in the Overlay domain.

func (*EnableReply) GetFrameID

func (a *EnableReply) GetFrameID() string

EnableReply returns the FrameID value for Enable in the Overlay domain.

func (*EnableReply) MatchFrameID

func (a *EnableReply) MatchFrameID(frameID string, m []byte) (bool, error)

EnableReply returns whether or not the FrameID matches the reply value for Enable in the Overlay domain.

func (*EnableReply) UnmarshalJSON

func (a *EnableReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for Enable in the Overlay domain.

type GetHighlightObjectForTestArgs

type GetHighlightObjectForTestArgs struct {
	NodeID          dom.NodeID `json:"nodeId"`                    // Id of the node to get highlight object for.
	IncludeDistance bool       `json:"includeDistance,omitempty"` // Whether to include distance info.
	IncludeStyle    bool       `json:"includeStyle,omitempty"`    // Whether to include style info.
}

GetHighlightObjectForTestArgs represents the arguments for GetHighlightObjectForTest in the Overlay domain.

func (*GetHighlightObjectForTestArgs) MarshalJSON

func (a *GetHighlightObjectForTestArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for GetHighlightObjectForTest in the Overlay domain.

func (*GetHighlightObjectForTestArgs) UnmarshalJSON

func (a *GetHighlightObjectForTestArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetHighlightObjectForTest in the Overlay domain.

type GetHighlightObjectForTestReply

type GetHighlightObjectForTestReply struct {
	Highlight json.RawMessage `json:"highlight"` // Highlight data for the node.
}

GetHighlightObjectForTestReply represents the return values for GetHighlightObjectForTest in the Overlay domain.

func (*GetHighlightObjectForTestReply) GetFrameID

func (a *GetHighlightObjectForTestReply) GetFrameID() string

GetHighlightObjectForTestReply returns the FrameID value for GetHighlightObjectForTest in the Overlay domain.

func (*GetHighlightObjectForTestReply) MatchFrameID

func (a *GetHighlightObjectForTestReply) MatchFrameID(frameID string, m []byte) (bool, error)

GetHighlightObjectForTestReply returns whether or not the FrameID matches the reply value for GetHighlightObjectForTest in the Overlay domain.

func (*GetHighlightObjectForTestReply) UnmarshalJSON

func (a *GetHighlightObjectForTestReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for GetHighlightObjectForTest in the Overlay domain.

type HideHighlightArgs

type HideHighlightArgs struct {
}

HideHighlightArgs represents the arguments for HideHighlight in the Overlay domain.

func (*HideHighlightArgs) MarshalJSON

func (a *HideHighlightArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for HideHighlight in the Overlay domain.

func (*HideHighlightArgs) UnmarshalJSON

func (a *HideHighlightArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HideHighlight in the Overlay domain.

type HideHighlightReply

type HideHighlightReply struct {
}

HideHighlightReply represents the return values for HideHighlight in the Overlay domain.

func (*HideHighlightReply) GetFrameID

func (a *HideHighlightReply) GetFrameID() string

HideHighlightReply returns the FrameID value for HideHighlight in the Overlay domain.

func (*HideHighlightReply) MatchFrameID

func (a *HideHighlightReply) MatchFrameID(frameID string, m []byte) (bool, error)

HideHighlightReply returns whether or not the FrameID matches the reply value for HideHighlight in the Overlay domain.

func (*HideHighlightReply) UnmarshalJSON

func (a *HideHighlightReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HideHighlight in the Overlay domain.

type HighlightConfig

type HighlightConfig struct {
	ShowInfo           bool      `json:"showInfo,omitempty"`           // Whether the node info tooltip should be shown (default: false).
	ShowStyles         bool      `json:"showStyles,omitempty"`         // Whether the node styles in the tooltip (default: false).
	ShowRulers         bool      `json:"showRulers,omitempty"`         // Whether the rulers should be shown (default: false).
	ShowExtensionLines bool      `json:"showExtensionLines,omitempty"` // Whether the extension lines from node to the rulers should be shown (default: false).
	ContentColor       *dom.RGBA `json:"contentColor,omitempty"`       // The content box highlight fill color (default: transparent).
	PaddingColor       *dom.RGBA `json:"paddingColor,omitempty"`       // The padding highlight fill color (default: transparent).
	BorderColor        *dom.RGBA `json:"borderColor,omitempty"`        // The border highlight fill color (default: transparent).
	MarginColor        *dom.RGBA `json:"marginColor,omitempty"`        // The margin highlight fill color (default: transparent).
	EventTargetColor   *dom.RGBA `json:"eventTargetColor,omitempty"`   // The event target element highlight fill color (default: transparent).
	ShapeColor         *dom.RGBA `json:"shapeColor,omitempty"`         // The shape outside fill color (default: transparent).
	ShapeMarginColor   *dom.RGBA `json:"shapeMarginColor,omitempty"`   // The shape margin fill color (default: transparent).
	CSSGridColor       *dom.RGBA `json:"cssGridColor,omitempty"`       // The grid layout color (default: transparent).
}

HighlightConfig Configuration data for the highlighting of page elements.

type HighlightFrameArgs

type HighlightFrameArgs struct {
	FrameID             shared.FrameID `json:"frameId"`                       // Identifier of the frame to highlight.
	ContentColor        *dom.RGBA      `json:"contentColor,omitempty"`        // The content box highlight fill color (default: transparent).
	ContentOutlineColor *dom.RGBA      `json:"contentOutlineColor,omitempty"` // The content box highlight outline color (default: transparent).
}

HighlightFrameArgs represents the arguments for HighlightFrame in the Overlay domain.

func (*HighlightFrameArgs) MarshalJSON

func (a *HighlightFrameArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for HighlightFrame in the Overlay domain.

func (*HighlightFrameArgs) UnmarshalJSON

func (a *HighlightFrameArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightFrame in the Overlay domain.

type HighlightFrameReply

type HighlightFrameReply struct {
}

HighlightFrameReply represents the return values for HighlightFrame in the Overlay domain.

func (*HighlightFrameReply) GetFrameID

func (a *HighlightFrameReply) GetFrameID() string

HighlightFrameReply returns the FrameID value for HighlightFrame in the Overlay domain.

func (*HighlightFrameReply) MatchFrameID

func (a *HighlightFrameReply) MatchFrameID(frameID string, m []byte) (bool, error)

HighlightFrameReply returns whether or not the FrameID matches the reply value for HighlightFrame in the Overlay domain.

func (*HighlightFrameReply) UnmarshalJSON

func (a *HighlightFrameReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightFrame in the Overlay domain.

type HighlightNodeArgs

type HighlightNodeArgs struct {
	HighlightConfig HighlightConfig       `json:"highlightConfig"`         // A descriptor for the highlight appearance.
	NodeID          dom.NodeID            `json:"nodeId,omitempty"`        // Identifier of the node to highlight.
	BackendNodeID   dom.BackendNodeID     `json:"backendNodeId,omitempty"` // Identifier of the backend node to highlight.
	ObjectID        shared.RemoteObjectID `json:"objectId,omitempty"`      // JavaScript object id of the node to be highlighted.
	Selector        string                `json:"selector,omitempty"`      // Selectors to highlight relevant nodes.
}

HighlightNodeArgs represents the arguments for HighlightNode in the Overlay domain.

func (*HighlightNodeArgs) MarshalJSON

func (a *HighlightNodeArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for HighlightNode in the Overlay domain.

func (*HighlightNodeArgs) UnmarshalJSON

func (a *HighlightNodeArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightNode in the Overlay domain.

type HighlightNodeReply

type HighlightNodeReply struct {
}

HighlightNodeReply represents the return values for HighlightNode in the Overlay domain.

func (*HighlightNodeReply) GetFrameID

func (a *HighlightNodeReply) GetFrameID() string

HighlightNodeReply returns the FrameID value for HighlightNode in the Overlay domain.

func (*HighlightNodeReply) MatchFrameID

func (a *HighlightNodeReply) MatchFrameID(frameID string, m []byte) (bool, error)

HighlightNodeReply returns whether or not the FrameID matches the reply value for HighlightNode in the Overlay domain.

func (*HighlightNodeReply) UnmarshalJSON

func (a *HighlightNodeReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightNode in the Overlay domain.

type HighlightQuadArgs

type HighlightQuadArgs struct {
	Quad         dom.Quad  `json:"quad"`                   // Quad to highlight
	Color        *dom.RGBA `json:"color,omitempty"`        // The highlight fill color (default: transparent).
	OutlineColor *dom.RGBA `json:"outlineColor,omitempty"` // The highlight outline color (default: transparent).
}

HighlightQuadArgs represents the arguments for HighlightQuad in the Overlay domain.

func (*HighlightQuadArgs) MarshalJSON

func (a *HighlightQuadArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for HighlightQuad in the Overlay domain.

func (*HighlightQuadArgs) UnmarshalJSON

func (a *HighlightQuadArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightQuad in the Overlay domain.

type HighlightQuadReply

type HighlightQuadReply struct {
}

HighlightQuadReply represents the return values for HighlightQuad in the Overlay domain.

func (*HighlightQuadReply) GetFrameID

func (a *HighlightQuadReply) GetFrameID() string

HighlightQuadReply returns the FrameID value for HighlightQuad in the Overlay domain.

func (*HighlightQuadReply) MatchFrameID

func (a *HighlightQuadReply) MatchFrameID(frameID string, m []byte) (bool, error)

HighlightQuadReply returns whether or not the FrameID matches the reply value for HighlightQuad in the Overlay domain.

func (*HighlightQuadReply) UnmarshalJSON

func (a *HighlightQuadReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightQuad in the Overlay domain.

type HighlightRectArgs

type HighlightRectArgs struct {
	X            int       `json:"x"`                      // X coordinate
	Y            int       `json:"y"`                      // Y coordinate
	Width        int       `json:"width"`                  // Rectangle width
	Height       int       `json:"height"`                 // Rectangle height
	Color        *dom.RGBA `json:"color,omitempty"`        // The highlight fill color (default: transparent).
	OutlineColor *dom.RGBA `json:"outlineColor,omitempty"` // The highlight outline color (default: transparent).
}

HighlightRectArgs represents the arguments for HighlightRect in the Overlay domain.

func (*HighlightRectArgs) MarshalJSON

func (a *HighlightRectArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for HighlightRect in the Overlay domain.

func (*HighlightRectArgs) UnmarshalJSON

func (a *HighlightRectArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightRect in the Overlay domain.

type HighlightRectReply

type HighlightRectReply struct {
}

HighlightRectReply represents the return values for HighlightRect in the Overlay domain.

func (*HighlightRectReply) GetFrameID

func (a *HighlightRectReply) GetFrameID() string

HighlightRectReply returns the FrameID value for HighlightRect in the Overlay domain.

func (*HighlightRectReply) MatchFrameID

func (a *HighlightRectReply) MatchFrameID(frameID string, m []byte) (bool, error)

HighlightRectReply returns whether or not the FrameID matches the reply value for HighlightRect in the Overlay domain.

func (*HighlightRectReply) UnmarshalJSON

func (a *HighlightRectReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for HighlightRect in the Overlay domain.

type InspectMode

type InspectMode string

InspectMode

const (
	InspectModeNotSet                InspectMode = ""
	InspectModeSearchForNode         InspectMode = "searchForNode"
	InspectModeSearchForUAShadowDOM  InspectMode = "searchForUAShadowDOM"
	InspectModeCaptureAreaScreenshot InspectMode = "captureAreaScreenshot"
	InspectModeShowDistances         InspectMode = "showDistances"
	InspectModeNone                  InspectMode = "none"
)

InspectMode as enums.

func (InspectMode) String

func (e InspectMode) String() string

func (InspectMode) Valid

func (e InspectMode) Valid() bool

type InspectModeCanceledReply

type InspectModeCanceledReply struct {
}

InspectModeCanceledReply is the reply for InspectModeCanceled events.

func (*InspectModeCanceledReply) GetFrameID

func (a *InspectModeCanceledReply) GetFrameID() string

InspectModeCanceledReply returns the FrameID for InspectModeCanceled in the Overlay domain.

func (*InspectModeCanceledReply) MatchFrameID

func (a *InspectModeCanceledReply) MatchFrameID(frameID string, m []byte) (bool, error)

InspectModeCanceledReply returns whether or not the FrameID matches the reply value for InspectModeCanceled in the Overlay domain.

func (*InspectModeCanceledReply) UnmarshalJSON

func (a *InspectModeCanceledReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for InspectModeCanceled in the Overlay domain.

type InspectNodeRequestedReply

type InspectNodeRequestedReply struct {
	BackendNodeID dom.BackendNodeID `json:"backendNodeId"` // Id of the node to inspect.
}

InspectNodeRequestedReply is the reply for InspectNodeRequested events.

func (*InspectNodeRequestedReply) GetFrameID

func (a *InspectNodeRequestedReply) GetFrameID() string

InspectNodeRequestedReply returns the FrameID for InspectNodeRequested in the Overlay domain.

func (*InspectNodeRequestedReply) MatchFrameID

func (a *InspectNodeRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error)

InspectNodeRequestedReply returns whether or not the FrameID matches the reply value for InspectNodeRequested in the Overlay domain.

func (*InspectNodeRequestedReply) UnmarshalJSON

func (a *InspectNodeRequestedReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for InspectNodeRequested in the Overlay domain.

type NodeHighlightRequestedReply

type NodeHighlightRequestedReply struct {
	NodeID dom.NodeID `json:"nodeId"` // No description.
}

NodeHighlightRequestedReply is the reply for NodeHighlightRequested events.

func (*NodeHighlightRequestedReply) GetFrameID

func (a *NodeHighlightRequestedReply) GetFrameID() string

NodeHighlightRequestedReply returns the FrameID for NodeHighlightRequested in the Overlay domain.

func (*NodeHighlightRequestedReply) MatchFrameID

func (a *NodeHighlightRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error)

NodeHighlightRequestedReply returns whether or not the FrameID matches the reply value for NodeHighlightRequested in the Overlay domain.

func (*NodeHighlightRequestedReply) UnmarshalJSON

func (a *NodeHighlightRequestedReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for NodeHighlightRequested in the Overlay domain.

type ScreenshotRequestedReply

type ScreenshotRequestedReply struct {
	Viewport page.Viewport `json:"viewport"` // Viewport to capture, in device independent pixels (dip).
}

ScreenshotRequestedReply is the reply for ScreenshotRequested events.

func (*ScreenshotRequestedReply) GetFrameID

func (a *ScreenshotRequestedReply) GetFrameID() string

ScreenshotRequestedReply returns the FrameID for ScreenshotRequested in the Overlay domain.

func (*ScreenshotRequestedReply) MatchFrameID

func (a *ScreenshotRequestedReply) MatchFrameID(frameID string, m []byte) (bool, error)

ScreenshotRequestedReply returns whether or not the FrameID matches the reply value for ScreenshotRequested in the Overlay domain.

func (*ScreenshotRequestedReply) UnmarshalJSON

func (a *ScreenshotRequestedReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for ScreenshotRequested in the Overlay domain.

type SetInspectModeArgs

type SetInspectModeArgs struct {
	Mode            InspectMode      `json:"mode"`                      // Set an inspection mode.
	HighlightConfig *HighlightConfig `json:"highlightConfig,omitempty"` // A descriptor for the highlight appearance of hovered-over nodes. May be omitted if `enabled == false`.
}

SetInspectModeArgs represents the arguments for SetInspectMode in the Overlay domain.

func (*SetInspectModeArgs) MarshalJSON

func (a *SetInspectModeArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetInspectMode in the Overlay domain.

func (*SetInspectModeArgs) UnmarshalJSON

func (a *SetInspectModeArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetInspectMode in the Overlay domain.

type SetInspectModeReply

type SetInspectModeReply struct {
}

SetInspectModeReply represents the return values for SetInspectMode in the Overlay domain.

func (*SetInspectModeReply) GetFrameID

func (a *SetInspectModeReply) GetFrameID() string

SetInspectModeReply returns the FrameID value for SetInspectMode in the Overlay domain.

func (*SetInspectModeReply) MatchFrameID

func (a *SetInspectModeReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetInspectModeReply returns whether or not the FrameID matches the reply value for SetInspectMode in the Overlay domain.

func (*SetInspectModeReply) UnmarshalJSON

func (a *SetInspectModeReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetInspectMode in the Overlay domain.

type SetPausedInDebuggerMessageArgs

type SetPausedInDebuggerMessageArgs struct {
	Message string `json:"message,omitempty"` // The message to display, also triggers resume and step over controls.
}

SetPausedInDebuggerMessageArgs represents the arguments for SetPausedInDebuggerMessage in the Overlay domain.

func (*SetPausedInDebuggerMessageArgs) MarshalJSON

func (a *SetPausedInDebuggerMessageArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetPausedInDebuggerMessage in the Overlay domain.

func (*SetPausedInDebuggerMessageArgs) UnmarshalJSON

func (a *SetPausedInDebuggerMessageArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetPausedInDebuggerMessage in the Overlay domain.

type SetPausedInDebuggerMessageReply

type SetPausedInDebuggerMessageReply struct {
}

SetPausedInDebuggerMessageReply represents the return values for SetPausedInDebuggerMessage in the Overlay domain.

func (*SetPausedInDebuggerMessageReply) GetFrameID

func (a *SetPausedInDebuggerMessageReply) GetFrameID() string

SetPausedInDebuggerMessageReply returns the FrameID value for SetPausedInDebuggerMessage in the Overlay domain.

func (*SetPausedInDebuggerMessageReply) MatchFrameID

func (a *SetPausedInDebuggerMessageReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetPausedInDebuggerMessageReply returns whether or not the FrameID matches the reply value for SetPausedInDebuggerMessage in the Overlay domain.

func (*SetPausedInDebuggerMessageReply) UnmarshalJSON

func (a *SetPausedInDebuggerMessageReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetPausedInDebuggerMessage in the Overlay domain.

type SetShowAdHighlightsArgs

type SetShowAdHighlightsArgs struct {
	Show bool `json:"show"` // True for showing ad highlights
}

SetShowAdHighlightsArgs represents the arguments for SetShowAdHighlights in the Overlay domain.

func (*SetShowAdHighlightsArgs) MarshalJSON

func (a *SetShowAdHighlightsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowAdHighlights in the Overlay domain.

func (*SetShowAdHighlightsArgs) UnmarshalJSON

func (a *SetShowAdHighlightsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowAdHighlights in the Overlay domain.

type SetShowAdHighlightsReply

type SetShowAdHighlightsReply struct {
}

SetShowAdHighlightsReply represents the return values for SetShowAdHighlights in the Overlay domain.

func (*SetShowAdHighlightsReply) GetFrameID

func (a *SetShowAdHighlightsReply) GetFrameID() string

SetShowAdHighlightsReply returns the FrameID value for SetShowAdHighlights in the Overlay domain.

func (*SetShowAdHighlightsReply) MatchFrameID

func (a *SetShowAdHighlightsReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowAdHighlightsReply returns whether or not the FrameID matches the reply value for SetShowAdHighlights in the Overlay domain.

func (*SetShowAdHighlightsReply) UnmarshalJSON

func (a *SetShowAdHighlightsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowAdHighlights in the Overlay domain.

type SetShowDebugBordersArgs

type SetShowDebugBordersArgs struct {
	Show bool `json:"show"` // True for showing debug borders
}

SetShowDebugBordersArgs represents the arguments for SetShowDebugBorders in the Overlay domain.

func (*SetShowDebugBordersArgs) MarshalJSON

func (a *SetShowDebugBordersArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowDebugBorders in the Overlay domain.

func (*SetShowDebugBordersArgs) UnmarshalJSON

func (a *SetShowDebugBordersArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowDebugBorders in the Overlay domain.

type SetShowDebugBordersReply

type SetShowDebugBordersReply struct {
}

SetShowDebugBordersReply represents the return values for SetShowDebugBorders in the Overlay domain.

func (*SetShowDebugBordersReply) GetFrameID

func (a *SetShowDebugBordersReply) GetFrameID() string

SetShowDebugBordersReply returns the FrameID value for SetShowDebugBorders in the Overlay domain.

func (*SetShowDebugBordersReply) MatchFrameID

func (a *SetShowDebugBordersReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowDebugBordersReply returns whether or not the FrameID matches the reply value for SetShowDebugBorders in the Overlay domain.

func (*SetShowDebugBordersReply) UnmarshalJSON

func (a *SetShowDebugBordersReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowDebugBorders in the Overlay domain.

type SetShowFPSCounterArgs

type SetShowFPSCounterArgs struct {
	Show bool `json:"show"` // True for showing the FPS counter
}

SetShowFPSCounterArgs represents the arguments for SetShowFPSCounter in the Overlay domain.

func (*SetShowFPSCounterArgs) MarshalJSON

func (a *SetShowFPSCounterArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowFPSCounter in the Overlay domain.

func (*SetShowFPSCounterArgs) UnmarshalJSON

func (a *SetShowFPSCounterArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowFPSCounter in the Overlay domain.

type SetShowFPSCounterReply

type SetShowFPSCounterReply struct {
}

SetShowFPSCounterReply represents the return values for SetShowFPSCounter in the Overlay domain.

func (*SetShowFPSCounterReply) GetFrameID

func (a *SetShowFPSCounterReply) GetFrameID() string

SetShowFPSCounterReply returns the FrameID value for SetShowFPSCounter in the Overlay domain.

func (*SetShowFPSCounterReply) MatchFrameID

func (a *SetShowFPSCounterReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowFPSCounterReply returns whether or not the FrameID matches the reply value for SetShowFPSCounter in the Overlay domain.

func (*SetShowFPSCounterReply) UnmarshalJSON

func (a *SetShowFPSCounterReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowFPSCounter in the Overlay domain.

type SetShowHitTestBordersArgs

type SetShowHitTestBordersArgs struct {
	Show bool `json:"show"` // True for showing hit-test borders
}

SetShowHitTestBordersArgs represents the arguments for SetShowHitTestBorders in the Overlay domain.

func (*SetShowHitTestBordersArgs) MarshalJSON

func (a *SetShowHitTestBordersArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowHitTestBorders in the Overlay domain.

func (*SetShowHitTestBordersArgs) UnmarshalJSON

func (a *SetShowHitTestBordersArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowHitTestBorders in the Overlay domain.

type SetShowHitTestBordersReply

type SetShowHitTestBordersReply struct {
}

SetShowHitTestBordersReply represents the return values for SetShowHitTestBorders in the Overlay domain.

func (*SetShowHitTestBordersReply) GetFrameID

func (a *SetShowHitTestBordersReply) GetFrameID() string

SetShowHitTestBordersReply returns the FrameID value for SetShowHitTestBorders in the Overlay domain.

func (*SetShowHitTestBordersReply) MatchFrameID

func (a *SetShowHitTestBordersReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowHitTestBordersReply returns whether or not the FrameID matches the reply value for SetShowHitTestBorders in the Overlay domain.

func (*SetShowHitTestBordersReply) UnmarshalJSON

func (a *SetShowHitTestBordersReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowHitTestBorders in the Overlay domain.

type SetShowLayoutShiftRegionsArgs

type SetShowLayoutShiftRegionsArgs struct {
	Result bool `json:"result"` // True for showing layout shift regions
}

SetShowLayoutShiftRegionsArgs represents the arguments for SetShowLayoutShiftRegions in the Overlay domain.

func (*SetShowLayoutShiftRegionsArgs) MarshalJSON

func (a *SetShowLayoutShiftRegionsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowLayoutShiftRegions in the Overlay domain.

func (*SetShowLayoutShiftRegionsArgs) UnmarshalJSON

func (a *SetShowLayoutShiftRegionsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowLayoutShiftRegions in the Overlay domain.

type SetShowLayoutShiftRegionsReply

type SetShowLayoutShiftRegionsReply struct {
}

SetShowLayoutShiftRegionsReply represents the return values for SetShowLayoutShiftRegions in the Overlay domain.

func (*SetShowLayoutShiftRegionsReply) GetFrameID

func (a *SetShowLayoutShiftRegionsReply) GetFrameID() string

SetShowLayoutShiftRegionsReply returns the FrameID value for SetShowLayoutShiftRegions in the Overlay domain.

func (*SetShowLayoutShiftRegionsReply) MatchFrameID

func (a *SetShowLayoutShiftRegionsReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowLayoutShiftRegionsReply returns whether or not the FrameID matches the reply value for SetShowLayoutShiftRegions in the Overlay domain.

func (*SetShowLayoutShiftRegionsReply) UnmarshalJSON

func (a *SetShowLayoutShiftRegionsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowLayoutShiftRegions in the Overlay domain.

type SetShowPaintRectsArgs

type SetShowPaintRectsArgs struct {
	Result bool `json:"result"` // True for showing paint rectangles
}

SetShowPaintRectsArgs represents the arguments for SetShowPaintRects in the Overlay domain.

func (*SetShowPaintRectsArgs) MarshalJSON

func (a *SetShowPaintRectsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowPaintRects in the Overlay domain.

func (*SetShowPaintRectsArgs) UnmarshalJSON

func (a *SetShowPaintRectsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowPaintRects in the Overlay domain.

type SetShowPaintRectsReply

type SetShowPaintRectsReply struct {
}

SetShowPaintRectsReply represents the return values for SetShowPaintRects in the Overlay domain.

func (*SetShowPaintRectsReply) GetFrameID

func (a *SetShowPaintRectsReply) GetFrameID() string

SetShowPaintRectsReply returns the FrameID value for SetShowPaintRects in the Overlay domain.

func (*SetShowPaintRectsReply) MatchFrameID

func (a *SetShowPaintRectsReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowPaintRectsReply returns whether or not the FrameID matches the reply value for SetShowPaintRects in the Overlay domain.

func (*SetShowPaintRectsReply) UnmarshalJSON

func (a *SetShowPaintRectsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowPaintRects in the Overlay domain.

type SetShowScrollBottleneckRectsArgs

type SetShowScrollBottleneckRectsArgs struct {
	Show bool `json:"show"` // True for showing scroll bottleneck rects
}

SetShowScrollBottleneckRectsArgs represents the arguments for SetShowScrollBottleneckRects in the Overlay domain.

func (*SetShowScrollBottleneckRectsArgs) MarshalJSON

func (a *SetShowScrollBottleneckRectsArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowScrollBottleneckRects in the Overlay domain.

func (*SetShowScrollBottleneckRectsArgs) UnmarshalJSON

func (a *SetShowScrollBottleneckRectsArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowScrollBottleneckRects in the Overlay domain.

type SetShowScrollBottleneckRectsReply

type SetShowScrollBottleneckRectsReply struct {
}

SetShowScrollBottleneckRectsReply represents the return values for SetShowScrollBottleneckRects in the Overlay domain.

func (*SetShowScrollBottleneckRectsReply) GetFrameID

func (a *SetShowScrollBottleneckRectsReply) GetFrameID() string

SetShowScrollBottleneckRectsReply returns the FrameID value for SetShowScrollBottleneckRects in the Overlay domain.

func (*SetShowScrollBottleneckRectsReply) MatchFrameID

func (a *SetShowScrollBottleneckRectsReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowScrollBottleneckRectsReply returns whether or not the FrameID matches the reply value for SetShowScrollBottleneckRects in the Overlay domain.

func (*SetShowScrollBottleneckRectsReply) UnmarshalJSON

func (a *SetShowScrollBottleneckRectsReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowScrollBottleneckRects in the Overlay domain.

type SetShowViewportSizeOnResizeArgs

type SetShowViewportSizeOnResizeArgs struct {
	Show bool `json:"show"` // Whether to paint size or not.
}

SetShowViewportSizeOnResizeArgs represents the arguments for SetShowViewportSizeOnResize in the Overlay domain.

func (*SetShowViewportSizeOnResizeArgs) MarshalJSON

func (a *SetShowViewportSizeOnResizeArgs) MarshalJSON() ([]byte, error)

Marshall the byte array into a return value for SetShowViewportSizeOnResize in the Overlay domain.

func (*SetShowViewportSizeOnResizeArgs) UnmarshalJSON

func (a *SetShowViewportSizeOnResizeArgs) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowViewportSizeOnResize in the Overlay domain.

type SetShowViewportSizeOnResizeReply

type SetShowViewportSizeOnResizeReply struct {
}

SetShowViewportSizeOnResizeReply represents the return values for SetShowViewportSizeOnResize in the Overlay domain.

func (*SetShowViewportSizeOnResizeReply) GetFrameID

func (a *SetShowViewportSizeOnResizeReply) GetFrameID() string

SetShowViewportSizeOnResizeReply returns the FrameID value for SetShowViewportSizeOnResize in the Overlay domain.

func (*SetShowViewportSizeOnResizeReply) MatchFrameID

func (a *SetShowViewportSizeOnResizeReply) MatchFrameID(frameID string, m []byte) (bool, error)

SetShowViewportSizeOnResizeReply returns whether or not the FrameID matches the reply value for SetShowViewportSizeOnResize in the Overlay domain.

func (*SetShowViewportSizeOnResizeReply) UnmarshalJSON

func (a *SetShowViewportSizeOnResizeReply) UnmarshalJSON(b []byte) error

Unmarshal the byte array into a return value for SetShowViewportSizeOnResize in the Overlay domain.

type Unmarshaler

type Unmarshaler func() json.Unmarshaler

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL