Documentation ¶
Overview ¶
Package rendering provides the Chrome Debugging Protocol commands, types, and events for the Rendering domain.
This domain allows to control rendering of the page.
Generated by the chromedp-gen command.
Index ¶
- type SetShowDebugBordersParams
- func (p *SetShowDebugBordersParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetShowDebugBordersParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetShowDebugBordersParams) MarshalJSON() ([]byte, error)
- func (v *SetShowDebugBordersParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetShowDebugBordersParams) UnmarshalJSON(data []byte) error
- type SetShowFPSCounterParams
- func (p *SetShowFPSCounterParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetShowFPSCounterParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetShowFPSCounterParams) MarshalJSON() ([]byte, error)
- func (v *SetShowFPSCounterParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetShowFPSCounterParams) UnmarshalJSON(data []byte) error
- type SetShowPaintRectsParams
- func (p *SetShowPaintRectsParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetShowPaintRectsParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetShowPaintRectsParams) MarshalJSON() ([]byte, error)
- func (v *SetShowPaintRectsParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetShowPaintRectsParams) UnmarshalJSON(data []byte) error
- type SetShowScrollBottleneckRectsParams
- func (p *SetShowScrollBottleneckRectsParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetShowScrollBottleneckRectsParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetShowScrollBottleneckRectsParams) MarshalJSON() ([]byte, error)
- func (v *SetShowScrollBottleneckRectsParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetShowScrollBottleneckRectsParams) UnmarshalJSON(data []byte) error
- type SetShowViewportSizeOnResizeParams
- func (p *SetShowViewportSizeOnResizeParams) Do(ctxt context.Context, h cdp.Handler) (err error)
- func (v SetShowViewportSizeOnResizeParams) MarshalEasyJSON(w *jwriter.Writer)
- func (v SetShowViewportSizeOnResizeParams) MarshalJSON() ([]byte, error)
- func (v *SetShowViewportSizeOnResizeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
- func (v *SetShowViewportSizeOnResizeParams) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SetShowDebugBordersParams ¶
type SetShowDebugBordersParams struct {
Show bool `json:"show"` // True for showing debug borders
}
SetShowDebugBordersParams requests that backend shows debug borders on layers.
func SetShowDebugBorders ¶
func SetShowDebugBorders(show bool) *SetShowDebugBordersParams
SetShowDebugBorders requests that backend shows debug borders on layers.
parameters:
show - True for showing debug borders
func (*SetShowDebugBordersParams) Do ¶
Do executes Rendering.setShowDebugBorders against the provided context and target handler.
func (SetShowDebugBordersParams) MarshalEasyJSON ¶
func (v SetShowDebugBordersParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetShowDebugBordersParams) MarshalJSON ¶
func (v SetShowDebugBordersParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetShowDebugBordersParams) UnmarshalEasyJSON ¶
func (v *SetShowDebugBordersParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetShowDebugBordersParams) UnmarshalJSON ¶
func (v *SetShowDebugBordersParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SetShowFPSCounterParams ¶
type SetShowFPSCounterParams struct {
Show bool `json:"show"` // True for showing the FPS counter
}
SetShowFPSCounterParams requests that backend shows the FPS counter.
func SetShowFPSCounter ¶
func SetShowFPSCounter(show bool) *SetShowFPSCounterParams
SetShowFPSCounter requests that backend shows the FPS counter.
parameters:
show - True for showing the FPS counter
func (*SetShowFPSCounterParams) Do ¶
Do executes Rendering.setShowFPSCounter against the provided context and target handler.
func (SetShowFPSCounterParams) MarshalEasyJSON ¶
func (v SetShowFPSCounterParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetShowFPSCounterParams) MarshalJSON ¶
func (v SetShowFPSCounterParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetShowFPSCounterParams) UnmarshalEasyJSON ¶
func (v *SetShowFPSCounterParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetShowFPSCounterParams) UnmarshalJSON ¶
func (v *SetShowFPSCounterParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SetShowPaintRectsParams ¶
type SetShowPaintRectsParams struct {
Result bool `json:"result"` // True for showing paint rectangles
}
SetShowPaintRectsParams requests that backend shows paint rectangles.
func SetShowPaintRects ¶
func SetShowPaintRects(result bool) *SetShowPaintRectsParams
SetShowPaintRects requests that backend shows paint rectangles.
parameters:
result - True for showing paint rectangles
func (*SetShowPaintRectsParams) Do ¶
Do executes Rendering.setShowPaintRects against the provided context and target handler.
func (SetShowPaintRectsParams) MarshalEasyJSON ¶
func (v SetShowPaintRectsParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetShowPaintRectsParams) MarshalJSON ¶
func (v SetShowPaintRectsParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetShowPaintRectsParams) UnmarshalEasyJSON ¶
func (v *SetShowPaintRectsParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetShowPaintRectsParams) UnmarshalJSON ¶
func (v *SetShowPaintRectsParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SetShowScrollBottleneckRectsParams ¶
type SetShowScrollBottleneckRectsParams struct {
Show bool `json:"show"` // True for showing scroll bottleneck rects
}
SetShowScrollBottleneckRectsParams requests that backend shows scroll bottleneck rects.
func SetShowScrollBottleneckRects ¶
func SetShowScrollBottleneckRects(show bool) *SetShowScrollBottleneckRectsParams
SetShowScrollBottleneckRects requests that backend shows scroll bottleneck rects.
parameters:
show - True for showing scroll bottleneck rects
func (*SetShowScrollBottleneckRectsParams) Do ¶
Do executes Rendering.setShowScrollBottleneckRects against the provided context and target handler.
func (SetShowScrollBottleneckRectsParams) MarshalEasyJSON ¶
func (v SetShowScrollBottleneckRectsParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetShowScrollBottleneckRectsParams) MarshalJSON ¶
func (v SetShowScrollBottleneckRectsParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetShowScrollBottleneckRectsParams) UnmarshalEasyJSON ¶
func (v *SetShowScrollBottleneckRectsParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetShowScrollBottleneckRectsParams) UnmarshalJSON ¶
func (v *SetShowScrollBottleneckRectsParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface
type SetShowViewportSizeOnResizeParams ¶
type SetShowViewportSizeOnResizeParams struct {
Show bool `json:"show"` // Whether to paint size or not.
}
SetShowViewportSizeOnResizeParams paints viewport size upon main frame resize.
func SetShowViewportSizeOnResize ¶
func SetShowViewportSizeOnResize(show bool) *SetShowViewportSizeOnResizeParams
SetShowViewportSizeOnResize paints viewport size upon main frame resize.
parameters:
show - Whether to paint size or not.
func (*SetShowViewportSizeOnResizeParams) Do ¶
Do executes Rendering.setShowViewportSizeOnResize against the provided context and target handler.
func (SetShowViewportSizeOnResizeParams) MarshalEasyJSON ¶
func (v SetShowViewportSizeOnResizeParams) MarshalEasyJSON(w *jwriter.Writer)
MarshalEasyJSON supports easyjson.Marshaler interface
func (SetShowViewportSizeOnResizeParams) MarshalJSON ¶
func (v SetShowViewportSizeOnResizeParams) MarshalJSON() ([]byte, error)
MarshalJSON supports json.Marshaler interface
func (*SetShowViewportSizeOnResizeParams) UnmarshalEasyJSON ¶
func (v *SetShowViewportSizeOnResizeParams) UnmarshalEasyJSON(l *jlexer.Lexer)
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*SetShowViewportSizeOnResizeParams) UnmarshalJSON ¶
func (v *SetShowViewportSizeOnResizeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON supports json.Unmarshaler interface