diff --git a/cdp/cdp.go b/cdp/cdp.go
index 3df01f2..9ae18f3 100644
--- a/cdp/cdp.go
+++ b/cdp/cdp.go
@@ -79,6 +79,7 @@ const (
CommandPageRemoveScriptToEvaluateOnNewDocument MethodType = "Page.removeScriptToEvaluateOnNewDocument"
CommandPageSetAutoAttachToCreatedPages MethodType = "Page.setAutoAttachToCreatedPages"
CommandPageReload MethodType = "Page.reload"
+ CommandPageSetAdBlockingEnabled MethodType = "Page.setAdBlockingEnabled"
CommandPageNavigate MethodType = "Page.navigate"
CommandPageStopLoading MethodType = "Page.stopLoading"
CommandPageGetNavigationHistory MethodType = "Page.getNavigationHistory"
@@ -99,8 +100,10 @@ const (
CommandPageProcessNavigation MethodType = "Page.processNavigation"
CommandPageGetLayoutMetrics MethodType = "Page.getLayoutMetrics"
CommandPageCreateIsolatedWorld MethodType = "Page.createIsolatedWorld"
+ CommandPageBringToFront MethodType = "Page.bringToFront"
EventOverlayNodeHighlightRequested MethodType = "Overlay.nodeHighlightRequested"
EventOverlayInspectNodeRequested MethodType = "Overlay.inspectNodeRequested"
+ EventOverlayScreenshotRequested MethodType = "Overlay.screenshotRequested"
CommandOverlayEnable MethodType = "Overlay.enable"
CommandOverlayDisable MethodType = "Overlay.disable"
CommandOverlaySetShowPaintRects MethodType = "Overlay.setShowPaintRects"
@@ -544,6 +547,8 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = CommandPageSetAutoAttachToCreatedPages
case CommandPageReload:
*t = CommandPageReload
+ case CommandPageSetAdBlockingEnabled:
+ *t = CommandPageSetAdBlockingEnabled
case CommandPageNavigate:
*t = CommandPageNavigate
case CommandPageStopLoading:
@@ -584,10 +589,14 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) {
*t = CommandPageGetLayoutMetrics
case CommandPageCreateIsolatedWorld:
*t = CommandPageCreateIsolatedWorld
+ case CommandPageBringToFront:
+ *t = CommandPageBringToFront
case EventOverlayNodeHighlightRequested:
*t = EventOverlayNodeHighlightRequested
case EventOverlayInspectNodeRequested:
*t = EventOverlayInspectNodeRequested
+ case EventOverlayScreenshotRequested:
+ *t = EventOverlayScreenshotRequested
case CommandOverlayEnable:
*t = CommandOverlayEnable
case CommandOverlayDisable:
diff --git a/cdp/cdputil/cdputil.go b/cdp/cdputil/cdputil.go
index a1beca4..919c65b 100644
--- a/cdp/cdputil/cdputil.go
+++ b/cdp/cdputil/cdputil.go
@@ -89,6 +89,9 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.CommandPageReload:
return emptyVal, nil
+ case cdp.CommandPageSetAdBlockingEnabled:
+ return emptyVal, nil
+
case cdp.CommandPageNavigate:
v = new(page.NavigateReturns)
@@ -149,6 +152,9 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.CommandPageCreateIsolatedWorld:
v = new(page.CreateIsolatedWorldReturns)
+ case cdp.CommandPageBringToFront:
+ return emptyVal, nil
+
case cdp.EventPageDomContentEventFired:
v = new(page.EventDomContentEventFired)
@@ -254,6 +260,9 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) {
case cdp.EventOverlayInspectNodeRequested:
v = new(overlay.EventInspectNodeRequested)
+ case cdp.EventOverlayScreenshotRequested:
+ v = new(overlay.EventScreenshotRequested)
+
case cdp.CommandEmulationSetDeviceMetricsOverride:
return emptyVal, nil
diff --git a/cdp/io/easyjson.go b/cdp/io/easyjson.go
index 30230bd..27aecc4 100644
--- a/cdp/io/easyjson.go
+++ b/cdp/io/easyjson.go
@@ -173,6 +173,8 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpIo2(in *jlexer.Lexer, out *Rea
continue
}
switch key {
+ case "base64Encoded":
+ out.Base64encoded = bool(in.Bool())
case "data":
out.Data = string(in.String())
case "eof":
@@ -191,6 +193,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpIo2(out *jwriter.Writer, in Re
out.RawByte('{')
first := true
_ = first
+ if in.Base64encoded {
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"base64Encoded\":")
+ out.Bool(bool(in.Base64encoded))
+ }
if in.Data != "" {
if !first {
out.RawByte(',')
diff --git a/cdp/io/io.go b/cdp/io/io.go
index 19f65fd..70ee548 100644
--- a/cdp/io/io.go
+++ b/cdp/io/io.go
@@ -48,8 +48,9 @@ func (p ReadParams) WithSize(size int64) *ReadParams {
// ReadReturns return values.
type ReadReturns struct {
- Data string `json:"data,omitempty"` // Data that were read.
- EOF bool `json:"eof,omitempty"` // Set if the end-of-file condition occurred while reading.
+ Base64encoded bool `json:"base64Encoded,omitempty"` // Set if the data is base64-encoded
+ Data string `json:"data,omitempty"` // Data that were read.
+ EOF bool `json:"eof,omitempty"` // Set if the end-of-file condition occurred while reading.
}
// Do executes IO.read against the provided context and
diff --git a/cdp/io/types.go b/cdp/io/types.go
index d6fc687..86b1957 100644
--- a/cdp/io/types.go
+++ b/cdp/io/types.go
@@ -2,7 +2,8 @@ package io
// Code generated by chromedp-gen. DO NOT EDIT.
-// StreamHandle [no description].
+// StreamHandle this is either obtained from another method or specified as
+// blob:<uuid> where <uuid> is an UUID of a Blob.
type StreamHandle string
// String returns the StreamHandle as string value.
diff --git a/cdp/layertree/easyjson.go b/cdp/layertree/easyjson.go
index b26f967..5a45c42 100644
--- a/cdp/layertree/easyjson.go
+++ b/cdp/layertree/easyjson.go
@@ -18,7 +18,126 @@ var (
_ easyjson.Marshaler
)
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(in *jlexer.Lexer, out *SnapshotCommandLogReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(in *jlexer.Lexer, out *StickyPositionConstraint) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "stickyBoxRect":
+ if in.IsNull() {
+ in.Skip()
+ out.StickyBoxRect = nil
+ } else {
+ if out.StickyBoxRect == nil {
+ out.StickyBoxRect = new(dom.Rect)
+ }
+ (*out.StickyBoxRect).UnmarshalEasyJSON(in)
+ }
+ case "containingBlockRect":
+ if in.IsNull() {
+ in.Skip()
+ out.ContainingBlockRect = nil
+ } else {
+ if out.ContainingBlockRect == nil {
+ out.ContainingBlockRect = new(dom.Rect)
+ }
+ (*out.ContainingBlockRect).UnmarshalEasyJSON(in)
+ }
+ case "nearestLayerShiftingStickyBox":
+ out.NearestLayerShiftingStickyBox = LayerID(in.String())
+ case "nearestLayerShiftingContainingBlock":
+ out.NearestLayerShiftingContainingBlock = LayerID(in.String())
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(out *jwriter.Writer, in StickyPositionConstraint) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"stickyBoxRect\":")
+ if in.StickyBoxRect == nil {
+ out.RawString("null")
+ } else {
+ (*in.StickyBoxRect).MarshalEasyJSON(out)
+ }
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"containingBlockRect\":")
+ if in.ContainingBlockRect == nil {
+ out.RawString("null")
+ } else {
+ (*in.ContainingBlockRect).MarshalEasyJSON(out)
+ }
+ if in.NearestLayerShiftingStickyBox != "" {
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"nearestLayerShiftingStickyBox\":")
+ out.String(string(in.NearestLayerShiftingStickyBox))
+ }
+ if in.NearestLayerShiftingContainingBlock != "" {
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"nearestLayerShiftingContainingBlock\":")
+ out.String(string(in.NearestLayerShiftingContainingBlock))
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v StickyPositionConstraint) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v StickyPositionConstraint) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *StickyPositionConstraint) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *StickyPositionConstraint) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(in *jlexer.Lexer, out *SnapshotCommandLogReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -70,7 +189,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(out *jwriter.Writer, in SnapshotCommandLogReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(out *jwriter.Writer, in SnapshotCommandLogReturns) {
out.RawByte('{')
first := true
_ = first
@@ -99,27 +218,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v SnapshotCommandLogReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v SnapshotCommandLogReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *SnapshotCommandLogReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *SnapshotCommandLogReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(in *jlexer.Lexer, out *SnapshotCommandLogParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(in *jlexer.Lexer, out *SnapshotCommandLogParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -150,7 +269,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(out *jwriter.Writer, in SnapshotCommandLogParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(out *jwriter.Writer, in SnapshotCommandLogParams) {
out.RawByte('{')
first := true
_ = first
@@ -166,27 +285,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v SnapshotCommandLogParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v SnapshotCommandLogParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree1(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *SnapshotCommandLogParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *SnapshotCommandLogParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree1(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(in *jlexer.Lexer, out *ScrollRect) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(in *jlexer.Lexer, out *ScrollRect) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -227,7 +346,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(out *jwriter.Writer, in ScrollRect) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(out *jwriter.Writer, in ScrollRect) {
out.RawByte('{')
first := true
_ = first
@@ -253,27 +372,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ScrollRect) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ScrollRect) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree2(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ScrollRect) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ScrollRect) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree2(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(in *jlexer.Lexer, out *ReplaySnapshotReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(in *jlexer.Lexer, out *ReplaySnapshotReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -304,7 +423,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(out *jwriter.Writer, in ReplaySnapshotReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(out *jwriter.Writer, in ReplaySnapshotReturns) {
out.RawByte('{')
first := true
_ = first
@@ -322,27 +441,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ReplaySnapshotReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReplaySnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree3(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReplaySnapshotReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReplaySnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree3(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(in *jlexer.Lexer, out *ReplaySnapshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(in *jlexer.Lexer, out *ReplaySnapshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -379,7 +498,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(out *jwriter.Writer, in ReplaySnapshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(out *jwriter.Writer, in ReplaySnapshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -419,27 +538,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ReplaySnapshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReplaySnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree4(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReplaySnapshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReplaySnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree4(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(in *jlexer.Lexer, out *ReleaseSnapshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(in *jlexer.Lexer, out *ReleaseSnapshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -470,7 +589,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(out *jwriter.Writer, in ReleaseSnapshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(out *jwriter.Writer, in ReleaseSnapshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -486,27 +605,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ReleaseSnapshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReleaseSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree5(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReleaseSnapshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReleaseSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree5(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(in *jlexer.Lexer, out *ProfileSnapshotReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(in *jlexer.Lexer, out *ProfileSnapshotReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -579,7 +698,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(out *jwriter.Writer, in ProfileSnapshotReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(out *jwriter.Writer, in ProfileSnapshotReturns) {
out.RawByte('{')
first := true
_ = first
@@ -619,27 +738,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ProfileSnapshotReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ProfileSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree6(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ProfileSnapshotReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ProfileSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree6(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(in *jlexer.Lexer, out *ProfileSnapshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(in *jlexer.Lexer, out *ProfileSnapshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -684,7 +803,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(out *jwriter.Writer, in ProfileSnapshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(out *jwriter.Writer, in ProfileSnapshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -728,27 +847,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v ProfileSnapshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ProfileSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree7(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ProfileSnapshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ProfileSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree7(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(in *jlexer.Lexer, out *PictureTile) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(in *jlexer.Lexer, out *PictureTile) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -783,7 +902,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(out *jwriter.Writer, in PictureTile) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(out *jwriter.Writer, in PictureTile) {
out.RawByte('{')
first := true
_ = first
@@ -811,27 +930,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v PictureTile) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v PictureTile) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree8(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *PictureTile) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *PictureTile) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree8(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(in *jlexer.Lexer, out *MakeSnapshotReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(in *jlexer.Lexer, out *MakeSnapshotReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -862,7 +981,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(in *jlexer.Lexer, o
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(out *jwriter.Writer, in MakeSnapshotReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(out *jwriter.Writer, in MakeSnapshotReturns) {
out.RawByte('{')
first := true
_ = first
@@ -880,27 +999,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(out *jwriter.Writer
// MarshalJSON supports json.Marshaler interface
func (v MakeSnapshotReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v MakeSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree9(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *MakeSnapshotReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *MakeSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree9(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(in *jlexer.Lexer, out *MakeSnapshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(in *jlexer.Lexer, out *MakeSnapshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -931,7 +1050,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(out *jwriter.Writer, in MakeSnapshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(out *jwriter.Writer, in MakeSnapshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -947,27 +1066,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v MakeSnapshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v MakeSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree10(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *MakeSnapshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *MakeSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree10(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(in *jlexer.Lexer, out *LoadSnapshotReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(in *jlexer.Lexer, out *LoadSnapshotReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -998,7 +1117,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(out *jwriter.Writer, in LoadSnapshotReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(out *jwriter.Writer, in LoadSnapshotReturns) {
out.RawByte('{')
first := true
_ = first
@@ -1016,27 +1135,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v LoadSnapshotReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v LoadSnapshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree11(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *LoadSnapshotReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *LoadSnapshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree11(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(in *jlexer.Lexer, out *LoadSnapshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(in *jlexer.Lexer, out *LoadSnapshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1096,7 +1215,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(out *jwriter.Writer, in LoadSnapshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(out *jwriter.Writer, in LoadSnapshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -1127,27 +1246,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v LoadSnapshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v LoadSnapshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree12(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *LoadSnapshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *LoadSnapshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree12(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(in *jlexer.Lexer, out *Layer) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(in *jlexer.Lexer, out *Layer) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1246,6 +1365,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(in *jlexer.Lexer,
}
in.Delim(']')
}
+ case "stickyPositionConstraint":
+ if in.IsNull() {
+ in.Skip()
+ out.StickyPositionConstraint = nil
+ } else {
+ if out.StickyPositionConstraint == nil {
+ out.StickyPositionConstraint = new(StickyPositionConstraint)
+ }
+ (*out.StickyPositionConstraint).UnmarshalEasyJSON(in)
+ }
default:
in.SkipRecursive()
}
@@ -1256,7 +1385,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(out *jwriter.Writer, in Layer) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(out *jwriter.Writer, in Layer) {
out.RawByte('{')
first := true
_ = first
@@ -1392,33 +1521,45 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(out *jwriter.Write
out.RawByte(']')
}
}
+ if in.StickyPositionConstraint != nil {
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"stickyPositionConstraint\":")
+ if in.StickyPositionConstraint == nil {
+ out.RawString("null")
+ } else {
+ (*in.StickyPositionConstraint).MarshalEasyJSON(out)
+ }
+ }
out.RawByte('}')
}
// MarshalJSON supports json.Marshaler interface
func (v Layer) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v Layer) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree13(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *Layer) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *Layer) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree13(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(in *jlexer.Lexer, out *EventLayerTreeDidChange) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(in *jlexer.Lexer, out *EventLayerTreeDidChange) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1478,7 +1619,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(out *jwriter.Writer, in EventLayerTreeDidChange) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(out *jwriter.Writer, in EventLayerTreeDidChange) {
out.RawByte('{')
first := true
_ = first
@@ -1511,27 +1652,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v EventLayerTreeDidChange) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventLayerTreeDidChange) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree14(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventLayerTreeDidChange) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventLayerTreeDidChange) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree14(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(in *jlexer.Lexer, out *EventLayerPainted) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(in *jlexer.Lexer, out *EventLayerPainted) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1572,7 +1713,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(out *jwriter.Writer, in EventLayerPainted) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(out *jwriter.Writer, in EventLayerPainted) {
out.RawByte('{')
first := true
_ = first
@@ -1598,27 +1739,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v EventLayerPainted) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventLayerPainted) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree15(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventLayerPainted) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventLayerPainted) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree15(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(in *jlexer.Lexer, out *EnableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(in *jlexer.Lexer, out *EnableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1647,7 +1788,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(out *jwriter.Writer, in EnableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(out *jwriter.Writer, in EnableParams) {
out.RawByte('{')
first := true
_ = first
@@ -1657,27 +1798,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree16(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree16(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(in *jlexer.Lexer, out *DisableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(in *jlexer.Lexer, out *DisableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1706,7 +1847,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(out *jwriter.Writer, in DisableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(out *jwriter.Writer, in DisableParams) {
out.RawByte('{')
first := true
_ = first
@@ -1716,27 +1857,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree17(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree17(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(in *jlexer.Lexer, out *CompositingReasonsReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(in *jlexer.Lexer, out *CompositingReasonsReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1788,7 +1929,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(out *jwriter.Writer, in CompositingReasonsReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(out *jwriter.Writer, in CompositingReasonsReturns) {
out.RawByte('{')
first := true
_ = first
@@ -1817,27 +1958,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v CompositingReasonsReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CompositingReasonsReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree18(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CompositingReasonsReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CompositingReasonsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree18(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(in *jlexer.Lexer, out *CompositingReasonsParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree20(in *jlexer.Lexer, out *CompositingReasonsParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1868,7 +2009,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(in *jlexer.Lexer,
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(out *jwriter.Writer, in CompositingReasonsParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree20(out *jwriter.Writer, in CompositingReasonsParams) {
out.RawByte('{')
first := true
_ = first
@@ -1884,23 +2025,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(out *jwriter.Write
// MarshalJSON supports json.Marshaler interface
func (v CompositingReasonsParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree20(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CompositingReasonsParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree19(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpLayertree20(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CompositingReasonsParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree20(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CompositingReasonsParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree19(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpLayertree20(l, v)
}
diff --git a/cdp/layertree/types.go b/cdp/layertree/types.go
index 99a2d81..7bec764 100644
--- a/cdp/layertree/types.go
+++ b/cdp/layertree/types.go
@@ -34,6 +34,14 @@ type ScrollRect struct {
Type ScrollRectType `json:"type"` // Reason for rectangle to force scrolling on the main thread
}
+// StickyPositionConstraint sticky position constraints.
+type StickyPositionConstraint struct {
+ StickyBoxRect *dom.Rect `json:"stickyBoxRect"` // Layout rectangle of the sticky element before being shifted
+ ContainingBlockRect *dom.Rect `json:"containingBlockRect"` // Layout rectangle of the containing block of the sticky element
+ NearestLayerShiftingStickyBox LayerID `json:"nearestLayerShiftingStickyBox,omitempty"` // The nearest sticky layer that shifts the sticky box
+ NearestLayerShiftingContainingBlock LayerID `json:"nearestLayerShiftingContainingBlock,omitempty"` // The nearest sticky layer that shifts the containing block
+}
+
// PictureTile serialized fragment of layer picture along with its offset
// within the layer.
type PictureTile struct {
@@ -44,21 +52,22 @@ type PictureTile struct {
// Layer information about a compositing layer.
type Layer struct {
- LayerID LayerID `json:"layerId"` // The unique id for this layer.
- ParentLayerID LayerID `json:"parentLayerId,omitempty"` // The id of parent (not present for root).
- BackendNodeID cdp.BackendNodeID `json:"backendNodeId,omitempty"` // The backend id for the node associated with this layer.
- OffsetX float64 `json:"offsetX"` // Offset from parent layer, X coordinate.
- OffsetY float64 `json:"offsetY"` // Offset from parent layer, Y coordinate.
- Width float64 `json:"width"` // Layer width.
- Height float64 `json:"height"` // Layer height.
- Transform []float64 `json:"transform,omitempty"` // Transformation matrix for layer, default is identity matrix
- AnchorX float64 `json:"anchorX,omitempty"` // Transform anchor point X, absent if no transform specified
- AnchorY float64 `json:"anchorY,omitempty"` // Transform anchor point Y, absent if no transform specified
- AnchorZ float64 `json:"anchorZ,omitempty"` // Transform anchor point Z, absent if no transform specified
- PaintCount int64 `json:"paintCount"` // Indicates how many time this layer has painted.
- DrawsContent bool `json:"drawsContent"` // Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
- Invisible bool `json:"invisible,omitempty"` // Set if layer is not visible.
- ScrollRects []*ScrollRect `json:"scrollRects,omitempty"` // Rectangles scrolling on main thread only.
+ LayerID LayerID `json:"layerId"` // The unique id for this layer.
+ ParentLayerID LayerID `json:"parentLayerId,omitempty"` // The id of parent (not present for root).
+ BackendNodeID cdp.BackendNodeID `json:"backendNodeId,omitempty"` // The backend id for the node associated with this layer.
+ OffsetX float64 `json:"offsetX"` // Offset from parent layer, X coordinate.
+ OffsetY float64 `json:"offsetY"` // Offset from parent layer, Y coordinate.
+ Width float64 `json:"width"` // Layer width.
+ Height float64 `json:"height"` // Layer height.
+ Transform []float64 `json:"transform,omitempty"` // Transformation matrix for layer, default is identity matrix
+ AnchorX float64 `json:"anchorX,omitempty"` // Transform anchor point X, absent if no transform specified
+ AnchorY float64 `json:"anchorY,omitempty"` // Transform anchor point Y, absent if no transform specified
+ AnchorZ float64 `json:"anchorZ,omitempty"` // Transform anchor point Z, absent if no transform specified
+ PaintCount int64 `json:"paintCount"` // Indicates how many time this layer has painted.
+ DrawsContent bool `json:"drawsContent"` // Indicates whether this layer hosts any content, rather than being used for transform/scrolling purposes only.
+ Invisible bool `json:"invisible,omitempty"` // Set if layer is not visible.
+ ScrollRects []*ScrollRect `json:"scrollRects,omitempty"` // Rectangles scrolling on main thread only.
+ StickyPositionConstraint *StickyPositionConstraint `json:"stickyPositionConstraint,omitempty"` // Sticky position constraint information
}
// PaintProfile array of timings, one per paint step.
diff --git a/cdp/overlay/easyjson.go b/cdp/overlay/easyjson.go
index 773ce10..4c56f52 100644
--- a/cdp/overlay/easyjson.go
+++ b/cdp/overlay/easyjson.go
@@ -6,6 +6,7 @@ import (
json "encoding/json"
cdp "github.com/knq/chromedp/cdp"
dom "github.com/knq/chromedp/cdp/dom"
+ page "github.com/knq/chromedp/cdp/page"
runtime "github.com/knq/chromedp/cdp/runtime"
easyjson "github.com/mailru/easyjson"
jlexer "github.com/mailru/easyjson/jlexer"
@@ -1536,7 +1537,86 @@ func (v *GetHighlightObjectForTestParams) UnmarshalJSON(data []byte) error {
func (v *GetHighlightObjectForTestParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay15(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(in *jlexer.Lexer, out *EventNodeHighlightRequested) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(in *jlexer.Lexer, out *EventScreenshotRequested) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "viewport":
+ if in.IsNull() {
+ in.Skip()
+ out.Viewport = nil
+ } else {
+ if out.Viewport == nil {
+ out.Viewport = new(page.Viewport)
+ }
+ (*out.Viewport).UnmarshalEasyJSON(in)
+ }
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(out *jwriter.Writer, in EventScreenshotRequested) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"viewport\":")
+ if in.Viewport == nil {
+ out.RawString("null")
+ } else {
+ (*in.Viewport).MarshalEasyJSON(out)
+ }
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v EventScreenshotRequested) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v EventScreenshotRequested) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *EventScreenshotRequested) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *EventScreenshotRequested) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(in *jlexer.Lexer, out *EventNodeHighlightRequested) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1567,7 +1647,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(out *jwriter.Writer, in EventNodeHighlightRequested) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(out *jwriter.Writer, in EventNodeHighlightRequested) {
out.RawByte('{')
first := true
_ = first
@@ -1583,27 +1663,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventNodeHighlightRequested) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNodeHighlightRequested) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay16(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventNodeHighlightRequested) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNodeHighlightRequested) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay16(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(in *jlexer.Lexer, out *EventInspectNodeRequested) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(in *jlexer.Lexer, out *EventInspectNodeRequested) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1634,7 +1714,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(out *jwriter.Writer, in EventInspectNodeRequested) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(out *jwriter.Writer, in EventInspectNodeRequested) {
out.RawByte('{')
first := true
_ = first
@@ -1650,27 +1730,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EventInspectNodeRequested) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventInspectNodeRequested) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay17(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventInspectNodeRequested) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventInspectNodeRequested) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay17(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(in *jlexer.Lexer, out *EnableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(in *jlexer.Lexer, out *EnableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1699,7 +1779,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(out *jwriter.Writer, in EnableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(out *jwriter.Writer, in EnableParams) {
out.RawByte('{')
first := true
_ = first
@@ -1709,27 +1789,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay18(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay18(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(in *jlexer.Lexer, out *DisableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay20(in *jlexer.Lexer, out *DisableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1758,7 +1838,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(in *jlexer.Lexer, ou
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(out *jwriter.Writer, in DisableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay20(out *jwriter.Writer, in DisableParams) {
out.RawByte('{')
first := true
_ = first
@@ -1768,23 +1848,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(out *jwriter.Writer,
// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay20(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay19(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpOverlay20(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay20(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay19(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpOverlay20(l, v)
}
diff --git a/cdp/overlay/events.go b/cdp/overlay/events.go
index bf23726..df30c5b 100644
--- a/cdp/overlay/events.go
+++ b/cdp/overlay/events.go
@@ -4,6 +4,7 @@ package overlay
import (
cdp "github.com/knq/chromedp/cdp"
+ "github.com/knq/chromedp/cdp/page"
)
// EventNodeHighlightRequested fired when the node should be highlighted.
@@ -19,8 +20,15 @@ type EventInspectNodeRequested struct {
BackendNodeID cdp.BackendNodeID `json:"backendNodeId"` // Id of the node to inspect.
}
+// EventScreenshotRequested fired when user asks to capture screenshot of
+// some area on the page.
+type EventScreenshotRequested struct {
+ Viewport *page.Viewport `json:"viewport"` // Viewport to capture, in CSS.
+}
+
// EventTypes all event types in the domain.
var EventTypes = []cdp.MethodType{
cdp.EventOverlayNodeHighlightRequested,
cdp.EventOverlayInspectNodeRequested,
+ cdp.EventOverlayScreenshotRequested,
}
diff --git a/cdp/page/easyjson.go b/cdp/page/easyjson.go
index 90d81a9..d23ad64 100644
--- a/cdp/page/easyjson.go
+++ b/cdp/page/easyjson.go
@@ -671,7 +671,74 @@ func (v *SetAutoAttachToCreatedPagesParams) UnmarshalJSON(data []byte) error {
func (v *SetAutoAttachToCreatedPagesParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SearchInResourceReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SetAdBlockingEnabledParams) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ case "enabled":
+ out.Enabled = bool(in.Bool())
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SetAdBlockingEnabledParams) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"enabled\":")
+ out.Bool(bool(in.Enabled))
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v SetAdBlockingEnabledParams) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v SetAdBlockingEnabledParams) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *SetAdBlockingEnabledParams) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *SetAdBlockingEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *SearchInResourceReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -731,7 +798,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *S
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SearchInResourceReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in SearchInResourceReturns) {
out.RawByte('{')
first := true
_ = first
@@ -764,27 +831,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *SearchInResourceParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *SearchInResourceParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -823,7 +890,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *S
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in SearchInResourceParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in SearchInResourceParams) {
out.RawByte('{')
first := true
_ = first
@@ -867,27 +934,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v SearchInResourceParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *SearchInResourceParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *ScreencastFrameMetadata) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *ScreencastFrameMetadata) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -938,7 +1005,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in ScreencastFrameMetadata) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in ScreencastFrameMetadata) {
out.RawByte('{')
first := true
_ = first
@@ -996,27 +1063,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v ScreencastFrameMetadata) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ScreencastFrameMetadata) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *ScreencastFrameAckParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *ScreencastFrameAckParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1047,7 +1114,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in ScreencastFrameAckParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in ScreencastFrameAckParams) {
out.RawByte('{')
first := true
_ = first
@@ -1063,27 +1130,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v ScreencastFrameAckParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ScreencastFrameAckParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *RequestAppBannerParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *RequestAppBannerParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1112,7 +1179,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in RequestAppBannerParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in RequestAppBannerParams) {
out.RawByte('{')
first := true
_ = first
@@ -1122,27 +1189,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v RequestAppBannerParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RequestAppBannerParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RequestAppBannerParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RequestAppBannerParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1173,7 +1240,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) {
out.RawByte('{')
first := true
_ = first
@@ -1189,27 +1256,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *ReloadParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *ReloadParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1242,7 +1309,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in ReloadParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in ReloadParams) {
out.RawByte('{')
first := true
_ = first
@@ -1268,27 +1335,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v ReloadParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ReloadParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ReloadParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *ProcessNavigationParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *ProcessNavigationParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1321,7 +1388,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in ProcessNavigationParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in ProcessNavigationParams) {
out.RawByte('{')
first := true
_ = first
@@ -1343,27 +1410,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v ProcessNavigationParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v ProcessNavigationParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *ProcessNavigationParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *ProcessNavigationParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *PrintToPDFReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *PrintToPDFReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1394,7 +1461,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in PrintToPDFReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in PrintToPDFReturns) {
out.RawByte('{')
first := true
_ = first
@@ -1412,27 +1479,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v PrintToPDFReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v PrintToPDFReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *PrintToPDFReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *PrintToPDFReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *PrintToPDFParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *PrintToPDFParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1485,7 +1552,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in PrintToPDFParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in PrintToPDFParams) {
out.RawByte('{')
first := true
_ = first
@@ -1591,27 +1658,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v PrintToPDFParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v PrintToPDFParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *PrintToPDFParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *PrintToPDFParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *NavigationEntry) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigationEntry) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1650,7 +1717,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in NavigationEntry) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigationEntry) {
out.RawByte('{')
first := true
_ = first
@@ -1690,27 +1757,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v NavigationEntry) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NavigationEntry) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *NavigationEntry) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NavigationEntry) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1741,7 +1808,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigateToHistoryEntryParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateToHistoryEntryParams) {
out.RawByte('{')
first := true
_ = first
@@ -1757,27 +1824,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v NavigateToHistoryEntryParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NavigateToHistoryEntryParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *NavigateToHistoryEntryParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NavigateToHistoryEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *NavigateReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1808,7 +1875,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in NavigateReturns) {
out.RawByte('{')
first := true
_ = first
@@ -1826,27 +1893,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v NavigateReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NavigateReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *NavigateReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NavigateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *NavigateParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *NavigateParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1881,7 +1948,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in NavigateParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in NavigateParams) {
out.RawByte('{')
first := true
_ = first
@@ -1913,27 +1980,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v NavigateParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v NavigateParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *NavigateParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *NavigateParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *LayoutViewport) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *LayoutViewport) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -1970,7 +2037,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in LayoutViewport) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in LayoutViewport) {
out.RawByte('{')
first := true
_ = first
@@ -2004,27 +2071,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v LayoutViewport) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v LayoutViewport) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *LayoutViewport) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *LayoutViewport) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2057,7 +2124,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in HandleJavaScriptDialogParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in HandleJavaScriptDialogParams) {
out.RawByte('{')
first := true
_ = first
@@ -2081,27 +2148,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v HandleJavaScriptDialogParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v HandleJavaScriptDialogParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *HandleJavaScriptDialogParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *HandleJavaScriptDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *GetResourceTreeReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceTreeReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2140,7 +2207,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in GetResourceTreeReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceTreeReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2162,27 +2229,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetResourceTreeReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetResourceTreeReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetResourceTreeReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetResourceTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceTreeParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceTreeParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2211,7 +2278,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceTreeParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceTreeParams) {
out.RawByte('{')
first := true
_ = first
@@ -2221,27 +2288,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetResourceTreeParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetResourceTreeParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetResourceTreeParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetResourceTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceContentReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetResourceContentReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2274,7 +2341,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceContentReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetResourceContentReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2300,27 +2367,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetResourceContentReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetResourceContentReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetResourceContentReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetResourceContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetResourceContentParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetResourceContentParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2353,7 +2420,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetResourceContentParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetResourceContentParams) {
out.RawByte('{')
first := true
_ = first
@@ -2375,27 +2442,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetResourceContentParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetResourceContentParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetResourceContentParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetResourceContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetNavigationHistoryReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetNavigationHistoryReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2457,7 +2524,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetNavigationHistoryReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetNavigationHistoryReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2498,27 +2565,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetNavigationHistoryReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetNavigationHistoryReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetNavigationHistoryReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetNavigationHistoryReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetNavigationHistoryParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetNavigationHistoryParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2547,7 +2614,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetNavigationHistoryParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetNavigationHistoryParams) {
out.RawByte('{')
first := true
_ = first
@@ -2557,27 +2624,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetNavigationHistoryParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetNavigationHistoryParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetLayoutMetricsReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetLayoutMetricsReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2636,7 +2703,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetLayoutMetricsReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetLayoutMetricsReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2682,27 +2749,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetLayoutMetricsReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetLayoutMetricsReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetLayoutMetricsReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetLayoutMetricsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetLayoutMetricsParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetLayoutMetricsParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2731,7 +2798,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetLayoutMetricsParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetLayoutMetricsParams) {
out.RawByte('{')
first := true
_ = first
@@ -2741,27 +2808,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetLayoutMetricsParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetLayoutMetricsParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetLayoutMetricsParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetLayoutMetricsParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetAppManifestReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *GetAppManifestReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2825,7 +2892,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetAppManifestReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in GetAppManifestReturns) {
out.RawByte('{')
first := true
_ = first
@@ -2874,27 +2941,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetAppManifestReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetAppManifestReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetAppManifestReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetAppManifestReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *GetAppManifestParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *GetAppManifestParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -2923,7 +2990,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in GetAppManifestParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in GetAppManifestParams) {
out.RawByte('{')
first := true
_ = first
@@ -2933,27 +3000,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v GetAppManifestParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v GetAppManifestParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *GetAppManifestParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *GetAppManifestParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *FrameResourceTree) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *FrameResourceTree) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3054,7 +3121,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in FrameResourceTree) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in FrameResourceTree) {
out.RawByte('{')
first := true
_ = first
@@ -3118,27 +3185,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v FrameResourceTree) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v FrameResourceTree) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *FrameResourceTree) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *FrameResourceTree) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *FrameResource) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *FrameResource) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3189,7 +3256,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in FrameResource) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in FrameResource) {
out.RawByte('{')
first := true
_ = first
@@ -3253,27 +3320,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v FrameResource) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v FrameResource) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *FrameResource) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *FrameResource) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3304,7 +3371,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in EventScreencastVisibilityChanged) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventScreencastVisibilityChanged) {
out.RawByte('{')
first := true
_ = first
@@ -3320,27 +3387,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventScreencastVisibilityChanged) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventScreencastVisibilityChanged) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventScreencastVisibilityChanged) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventScreencastVisibilityChanged) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventScreencastFrame) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventScreencastFrame) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3383,7 +3450,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventScreencastFrame) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventScreencastFrame) {
out.RawByte('{')
first := true
_ = first
@@ -3415,27 +3482,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventScreencastFrame) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventScreencastFrame) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventNavigationRequested) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventNavigationRequested) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3472,7 +3539,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventNavigationRequested) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventNavigationRequested) {
out.RawByte('{')
first := true
_ = first
@@ -3506,27 +3573,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventNavigationRequested) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventNavigationRequested) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventNavigationRequested) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventNavigationRequested) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventLoadEventFired) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventLoadEventFired) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3565,7 +3632,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventLoadEventFired) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventLoadEventFired) {
out.RawByte('{')
first := true
_ = first
@@ -3585,27 +3652,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventLoadEventFired) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventLoadEventFired) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventLoadEventFired) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventLoadEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventJavascriptDialogOpening) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventJavascriptDialogOpening) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3638,7 +3705,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventJavascriptDialogOpening) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventJavascriptDialogOpening) {
out.RawByte('{')
first := true
_ = first
@@ -3660,27 +3727,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventJavascriptDialogOpening) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventJavascriptDialogOpening) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventJavascriptDialogOpening) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventJavascriptDialogOpening) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventJavascriptDialogClosed) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventJavascriptDialogClosed) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3711,7 +3778,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventJavascriptDialogClosed) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventJavascriptDialogClosed) {
out.RawByte('{')
first := true
_ = first
@@ -3727,27 +3794,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventJavascriptDialogClosed) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventJavascriptDialogClosed) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventJavascriptDialogClosed) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventJavascriptDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventInterstitialShown) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventInterstitialShown) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3776,7 +3843,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventInterstitialShown) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventInterstitialShown) {
out.RawByte('{')
first := true
_ = first
@@ -3786,27 +3853,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventInterstitialShown) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventInterstitialShown) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventInterstitialShown) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventInterstitialShown) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventInterstitialHidden) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventInterstitialHidden) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3835,7 +3902,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventInterstitialHidden) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventInterstitialHidden) {
out.RawByte('{')
first := true
_ = first
@@ -3845,27 +3912,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventInterstitialHidden) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventInterstitialHidden) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventInterstitialHidden) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventInterstitialHidden) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventFrameStoppedLoading) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameStoppedLoading) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3896,7 +3963,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventFrameStoppedLoading) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameStoppedLoading) {
out.RawByte('{')
first := true
_ = first
@@ -3912,27 +3979,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameStoppedLoading) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameStoppedLoading) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameStoppedLoading) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameStoppedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameStartedLoading) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameStartedLoading) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -3963,7 +4030,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameStartedLoading) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameStartedLoading) {
out.RawByte('{')
first := true
_ = first
@@ -3979,27 +4046,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameStartedLoading) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameStartedLoading) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameStartedLoading) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameStartedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameScheduledNavigation) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameScheduledNavigation) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4022,6 +4089,10 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *
(out.FrameID).UnmarshalEasyJSON(in)
case "delay":
out.Delay = float64(in.Float64())
+ case "reason":
+ (out.Reason).UnmarshalEasyJSON(in)
+ case "url":
+ out.URL = string(in.String())
default:
in.SkipRecursive()
}
@@ -4032,7 +4103,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameScheduledNavigation) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameScheduledNavigation) {
out.RawByte('{')
first := true
_ = first
@@ -4048,33 +4119,45 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in
first = false
out.RawString("\"delay\":")
out.Float64(float64(in.Delay))
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"reason\":")
+ (in.Reason).MarshalEasyJSON(out)
+ if !first {
+ out.RawByte(',')
+ }
+ first = false
+ out.RawString("\"url\":")
+ out.String(string(in.URL))
out.RawByte('}')
}
// MarshalJSON supports json.Marshaler interface
func (v EventFrameScheduledNavigation) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameScheduledNavigation) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameResized) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameResized) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4103,7 +4186,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameResized) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameResized) {
out.RawByte('{')
first := true
_ = first
@@ -4113,27 +4196,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameResized) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameResized) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameResized) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameResized) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameNavigated) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameNavigated) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4172,7 +4255,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameNavigated) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameNavigated) {
out.RawByte('{')
first := true
_ = first
@@ -4192,27 +4275,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameNavigated) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameNavigated) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameNavigated) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameNavigated) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameDetached) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventFrameDetached) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4243,7 +4326,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameDetached) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventFrameDetached) {
out.RawByte('{')
first := true
_ = first
@@ -4259,27 +4342,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameDetached) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameDetached) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameDetached) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameDetached) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4310,7 +4393,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) {
out.RawByte('{')
first := true
_ = first
@@ -4326,27 +4409,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameClearedScheduledNavigation) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameClearedScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameClearedScheduledNavigation) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameClearedScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EventFrameAttached) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *EventFrameAttached) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4389,7 +4472,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EventFrameAttached) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in EventFrameAttached) {
out.RawByte('{')
first := true
_ = first
@@ -4423,27 +4506,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventFrameAttached) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventFrameAttached) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventFrameAttached) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventFrameAttached) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *EventDomContentEventFired) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *EventDomContentEventFired) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4482,7 +4565,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in EventDomContentEventFired) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in EventDomContentEventFired) {
out.RawByte('{')
first := true
_ = first
@@ -4502,27 +4585,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EventDomContentEventFired) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EventDomContentEventFired) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EventDomContentEventFired) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EventDomContentEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *EnableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *EnableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4551,7 +4634,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in EnableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in EnableParams) {
out.RawByte('{')
first := true
_ = first
@@ -4561,27 +4644,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v EnableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v EnableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *EnableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *DisableParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *DisableParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4610,7 +4693,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in DisableParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in DisableParams) {
out.RawByte('{')
first := true
_ = first
@@ -4620,27 +4703,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v DisableParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v DisableParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *DisableParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4671,7 +4754,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in CreateIsolatedWorldReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CreateIsolatedWorldReturns) {
out.RawByte('{')
first := true
_ = first
@@ -4689,27 +4772,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v CreateIsolatedWorldReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CreateIsolatedWorldReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CreateIsolatedWorldReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CreateIsolatedWorldReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CreateIsolatedWorldParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *CreateIsolatedWorldParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4744,7 +4827,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CreateIsolatedWorldParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in CreateIsolatedWorldParams) {
out.RawByte('{')
first := true
_ = first
@@ -4776,27 +4859,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v CreateIsolatedWorldParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CreateIsolatedWorldParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CreateIsolatedWorldParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CreateIsolatedWorldParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *CaptureScreenshotReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *CaptureScreenshotReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4827,7 +4910,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in CaptureScreenshotReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in CaptureScreenshotReturns) {
out.RawByte('{')
first := true
_ = first
@@ -4845,27 +4928,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v CaptureScreenshotReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CaptureScreenshotReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CaptureScreenshotReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CaptureScreenshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *CaptureScreenshotParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *CaptureScreenshotParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -4910,7 +4993,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in CaptureScreenshotParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in CaptureScreenshotParams) {
out.RawByte('{')
first := true
_ = first
@@ -4956,27 +5039,86 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v CaptureScreenshotParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v CaptureScreenshotParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *CaptureScreenshotParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *CaptureScreenshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *AppManifestError) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *BringToFrontParams) {
+ isTopLevel := in.IsStart()
+ if in.IsNull() {
+ if isTopLevel {
+ in.Consumed()
+ }
+ in.Skip()
+ return
+ }
+ in.Delim('{')
+ for !in.IsDelim('}') {
+ key := in.UnsafeString()
+ in.WantColon()
+ if in.IsNull() {
+ in.Skip()
+ in.WantComma()
+ continue
+ }
+ switch key {
+ default:
+ in.SkipRecursive()
+ }
+ in.WantComma()
+ }
+ in.Delim('}')
+ if isTopLevel {
+ in.Consumed()
+ }
+}
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in BringToFrontParams) {
+ out.RawByte('{')
+ first := true
+ _ = first
+ out.RawByte('}')
+}
+
+// MarshalJSON supports json.Marshaler interface
+func (v BringToFrontParams) MarshalJSON() ([]byte, error) {
+ w := jwriter.Writer{}
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v)
+ return w.Buffer.BuildBytes(), w.Error
+}
+
+// MarshalEasyJSON supports easyjson.Marshaler interface
+func (v BringToFrontParams) MarshalEasyJSON(w *jwriter.Writer) {
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v)
+}
+
+// UnmarshalJSON supports json.Unmarshaler interface
+func (v *BringToFrontParams) UnmarshalJSON(data []byte) error {
+ r := jlexer.Lexer{Data: data}
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v)
+ return r.Error()
+}
+
+// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
+func (v *BringToFrontParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v)
+}
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(in *jlexer.Lexer, out *AppManifestError) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -5013,7 +5155,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in AppManifestError) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(out *jwriter.Writer, in AppManifestError) {
out.RawByte('{')
first := true
_ = first
@@ -5047,27 +5189,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v AppManifestError) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v AppManifestError) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *AppManifestError) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AppManifestError) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -5098,7 +5240,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) {
out.RawByte('{')
first := true
_ = first
@@ -5116,27 +5258,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage62(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage62(l, v)
}
-func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) {
+func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage63(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) {
isTopLevel := in.IsStart()
if in.IsNull() {
if isTopLevel {
@@ -5167,7 +5309,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(in *jlexer.Lexer, out *
in.Consumed()
}
}
-func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) {
+func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage63(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) {
out.RawByte('{')
first := true
_ = first
@@ -5183,23 +5325,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(out *jwriter.Writer, in
// MarshalJSON supports json.Marshaler interface
func (v AddScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) {
w := jwriter.Writer{}
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(&w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage63(&w, v)
return w.Buffer.BuildBytes(), w.Error
}
// MarshalEasyJSON supports easyjson.Marshaler interface
func (v AddScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) {
- easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(w, v)
+ easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage63(w, v)
}
// UnmarshalJSON supports json.Unmarshaler interface
func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error {
r := jlexer.Lexer{Data: data}
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(&r, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage63(&r, v)
return r.Error()
}
// UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) {
- easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(l, v)
+ easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage63(l, v)
}
diff --git a/cdp/page/events.go b/cdp/page/events.go
index e9d436d..3db7898 100644
--- a/cdp/page/events.go
+++ b/cdp/page/events.go
@@ -48,8 +48,10 @@ type EventFrameStoppedLoading struct {
// EventFrameScheduledNavigation fired when frame schedules a potential
// navigation.
type EventFrameScheduledNavigation struct {
- FrameID cdp.FrameID `json:"frameId"` // Id of the frame that has scheduled a navigation.
- Delay float64 `json:"delay"` // Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start.
+ FrameID cdp.FrameID `json:"frameId"` // Id of the frame that has scheduled a navigation.
+ Delay float64 `json:"delay"` // Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start.
+ Reason FrameScheduledNavigationReason `json:"reason"` // The reason for the navigation.
+ URL string `json:"url"` // The destination URL for the scheduled navigation.
}
// EventFrameClearedScheduledNavigation fired when frame no longer has a
diff --git a/cdp/page/page.go b/cdp/page/page.go
index 3a002c1..4d5d83a 100644
--- a/cdp/page/page.go
+++ b/cdp/page/page.go
@@ -163,6 +163,28 @@ func (p *ReloadParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
return h.Execute(ctxt, cdp.CommandPageReload, p, nil)
}
+// SetAdBlockingEnabledParams enable Chrome's experimental ad filter on all
+// sites.
+type SetAdBlockingEnabledParams struct {
+ Enabled bool `json:"enabled"` // Whether to block ads.
+}
+
+// SetAdBlockingEnabled enable Chrome's experimental ad filter on all sites.
+//
+// parameters:
+// enabled - Whether to block ads.
+func SetAdBlockingEnabled(enabled bool) *SetAdBlockingEnabledParams {
+ return &SetAdBlockingEnabledParams{
+ Enabled: enabled,
+ }
+}
+
+// Do executes Page.setAdBlockingEnabled against the provided context and
+// target handler.
+func (p *SetAdBlockingEnabledParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
+ return h.Execute(ctxt, cdp.CommandPageSetAdBlockingEnabled, p, nil)
+}
+
// NavigateParams navigates current page to the given URL.
type NavigateParams struct {
URL string `json:"url"` // URL to navigate the page to.
@@ -936,3 +958,17 @@ func (p *CreateIsolatedWorldParams) Do(ctxt context.Context, h cdp.Handler) (exe
return res.ExecutionContextID, nil
}
+
+// BringToFrontParams brings page to front (activates tab).
+type BringToFrontParams struct{}
+
+// BringToFront brings page to front (activates tab).
+func BringToFront() *BringToFrontParams {
+ return &BringToFrontParams{}
+}
+
+// Do executes Page.bringToFront against the provided context and
+// target handler.
+func (p *BringToFrontParams) Do(ctxt context.Context, h cdp.Handler) (err error) {
+ return h.Execute(ctxt, cdp.CommandPageBringToFront, nil, nil)
+}
diff --git a/cdp/page/types.go b/cdp/page/types.go
index 253d88b..8853402 100644
--- a/cdp/page/types.go
+++ b/cdp/page/types.go
@@ -336,6 +336,60 @@ type Viewport struct {
Scale float64 `json:"scale"` // Page scale factor.
}
+// FrameScheduledNavigationReason the reason for the navigation.
+type FrameScheduledNavigationReason string
+
+// String returns the FrameScheduledNavigationReason as string value.
+func (t FrameScheduledNavigationReason) String() string {
+ return string(t)
+}
+
+// FrameScheduledNavigationReason values.
+const (
+ FrameScheduledNavigationReasonFormSubmission FrameScheduledNavigationReason = "formSubmission"
+ FrameScheduledNavigationReasonHTTPHeaderRefresh FrameScheduledNavigationReason = "httpHeaderRefresh"
+ FrameScheduledNavigationReasonScriptInitiated FrameScheduledNavigationReason = "scriptInitiated"
+ FrameScheduledNavigationReasonMetaTagRefresh FrameScheduledNavigationReason = "metaTagRefresh"
+ FrameScheduledNavigationReasonPageBlockInterstitial FrameScheduledNavigationReason = "pageBlockInterstitial"
+ FrameScheduledNavigationReasonReload FrameScheduledNavigationReason = "reload"
+)
+
+// MarshalEasyJSON satisfies easyjson.Marshaler.
+func (t FrameScheduledNavigationReason) MarshalEasyJSON(out *jwriter.Writer) {
+ out.String(string(t))
+}
+
+// MarshalJSON satisfies json.Marshaler.
+func (t FrameScheduledNavigationReason) MarshalJSON() ([]byte, error) {
+ return easyjson.Marshal(t)
+}
+
+// UnmarshalEasyJSON satisfies easyjson.Unmarshaler.
+func (t *FrameScheduledNavigationReason) UnmarshalEasyJSON(in *jlexer.Lexer) {
+ switch FrameScheduledNavigationReason(in.String()) {
+ case FrameScheduledNavigationReasonFormSubmission:
+ *t = FrameScheduledNavigationReasonFormSubmission
+ case FrameScheduledNavigationReasonHTTPHeaderRefresh:
+ *t = FrameScheduledNavigationReasonHTTPHeaderRefresh
+ case FrameScheduledNavigationReasonScriptInitiated:
+ *t = FrameScheduledNavigationReasonScriptInitiated
+ case FrameScheduledNavigationReasonMetaTagRefresh:
+ *t = FrameScheduledNavigationReasonMetaTagRefresh
+ case FrameScheduledNavigationReasonPageBlockInterstitial:
+ *t = FrameScheduledNavigationReasonPageBlockInterstitial
+ case FrameScheduledNavigationReasonReload:
+ *t = FrameScheduledNavigationReasonReload
+
+ default:
+ in.AddError(errors.New("unknown FrameScheduledNavigationReason value"))
+ }
+}
+
+// UnmarshalJSON satisfies json.Unmarshaler.
+func (t *FrameScheduledNavigationReason) UnmarshalJSON(buf []byte) error {
+ return easyjson.Unmarshal(buf, t)
+}
+
// CaptureScreenshotFormat image compression format (defaults to png).
type CaptureScreenshotFormat string
diff --git a/cmd/chromedp-gen/protocol.json b/cmd/chromedp-gen/protocol.json
index e106c7d..2f4a1dc 100644
--- a/cmd/chromedp-gen/protocol.json
+++ b/cmd/chromedp-gen/protocol.json
@@ -619,6 +619,18 @@
],
"description": "Reloads given page optionally ignoring the cache."
},
+ {
+ "name": "setAdBlockingEnabled",
+ "description": "Enable Chrome's experimental ad filter on all sites.",
+ "parameters": [
+ {
+ "name": "enabled",
+ "type": "boolean",
+ "description": "Whether to block ads."
+ }
+ ],
+ "experimental": true
+ },
{
"name": "navigate",
"parameters": [
@@ -1294,6 +1306,10 @@
"description": "Execution context of the isolated world."
}
]
+ },
+ {
+ "name": "bringToFront",
+ "description": "Brings page to front (activates tab)."
}
],
"events": [
@@ -1397,6 +1413,26 @@
"name": "delay",
"type": "number",
"description": "Delay (in seconds) until the navigation is scheduled to begin. The navigation is not guaranteed to start."
+ },
+ {
+ "name": "reason",
+ "type": "string",
+ "experimental": true,
+ "enum": [
+ "formSubmission",
+ "httpHeaderRefresh",
+ "scriptInitiated",
+ "metaTagRefresh",
+ "pageBlockInterstitial",
+ "reload"
+ ],
+ "description": "The reason for the navigation."
+ },
+ {
+ "name": "url",
+ "type": "string",
+ "experimental": true,
+ "description": "The destination URL for the scheduled navigation."
}
],
"experimental": true
@@ -1870,6 +1906,17 @@
"description": "Id of the node to inspect."
}
]
+ },
+ {
+ "name": "screenshotRequested",
+ "description": "Fired when user asks to capture screenshot of some area on the page.",
+ "parameters": [
+ {
+ "name": "viewport",
+ "$ref": "Page.Viewport",
+ "description": "Viewport to capture, in CSS."
+ }
+ ]
}
]
},
@@ -7829,14 +7876,12 @@
{
"domain": "IO",
"description": "Input/Output operations for streams produced by DevTools.",
- "dependencies": [
- "Runtime"
- ],
"experimental": true,
"types": [
{
"id": "StreamHandle",
- "type": "string"
+ "type": "string",
+ "description": "This is either obtained from another method or specifed as blob:<uuid>
where <uuid>
is an UUID of a Blob."
}
],
"commands": [
@@ -7863,6 +7908,12 @@
}
],
"returns": [
+ {
+ "name": "base64Encoded",
+ "type": "boolean",
+ "optional": true,
+ "description": "Set if the data is base64-encoded"
+ },
{
"name": "data",
"type": "string",
@@ -9324,6 +9375,35 @@
}
]
},
+ {
+ "id": "StickyPositionConstraint",
+ "type": "object",
+ "description": "Sticky position constraints.",
+ "properties": [
+ {
+ "name": "stickyBoxRect",
+ "$ref": "DOM.Rect",
+ "description": "Layout rectangle of the sticky element before being shifted"
+ },
+ {
+ "name": "containingBlockRect",
+ "$ref": "DOM.Rect",
+ "description": "Layout rectangle of the containing block of the sticky element"
+ },
+ {
+ "name": "nearestLayerShiftingStickyBox",
+ "$ref": "LayerId",
+ "optional": true,
+ "description": "The nearest sticky layer that shifts the sticky box"
+ },
+ {
+ "name": "nearestLayerShiftingContainingBlock",
+ "$ref": "LayerId",
+ "optional": true,
+ "description": "The nearest sticky layer that shifts the containing block"
+ }
+ ]
+ },
{
"id": "PictureTile",
"type": "object",
@@ -9441,6 +9521,12 @@
},
"optional": true,
"description": "Rectangles scrolling on main thread only."
+ },
+ {
+ "name": "stickyPositionConstraint",
+ "$ref": "StickyPositionConstraint",
+ "optional": true,
+ "description": "Sticky position constraint information"
}
]
},
diff --git a/kb/keys.go b/kb/keys.go
index 53aeeba..f65b0d6 100644
--- a/kb/keys.go
+++ b/kb/keys.go
@@ -363,7 +363,7 @@ var Keys = map[rune]*Key{
'\u0d2f': {"MediaPlay", "MediaPlay", "", "", 0, 0, false, false},
'\u0d30': {"MediaRecord", "MediaRecord", "", "", 0, 0, false, false},
'\u0d31': {"MediaRewind", "MediaRewind", "", "", 0, 0, false, false},
- '\u0d43': {"Settings", "Settings", "", "", 0, 0, false, false},
+ '\u0d43': {"LaunchControlPanel", "Settings", "", "", 154, 0, false, false},
'\u0d4e': {"ZoomToggle", "ZoomToggle", "", "", 251, 251, false, false},
'\u0e02': {"AudioBassBoostToggle", "AudioBassBoostToggle", "", "", 0, 0, false, false},
'\u0f02': {"SpeechInputToggle", "SpeechInputToggle", "", "", 0, 0, false, false},