rendering

package
v0.0.0-...-9e9a0cf Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2017 License: MIT Imports: 6 Imported by: 0

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

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

func (p *SetShowFPSCounterParams) Do(ctxt context.Context, h cdp.Handler) (err error)

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

func (p *SetShowPaintRectsParams) Do(ctxt context.Context, h cdp.Handler) (err error)

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL