diff --git a/cdp/cdp.go b/cdp/cdp.go index c798208..faae4f2 100644 --- a/cdp/cdp.go +++ b/cdp/cdp.go @@ -120,11 +120,8 @@ const ( EventEmulationVirtualTimeBudgetExpired MethodType = "Emulation.virtualTimeBudgetExpired" CommandEmulationSetDeviceMetricsOverride MethodType = "Emulation.setDeviceMetricsOverride" CommandEmulationClearDeviceMetricsOverride MethodType = "Emulation.clearDeviceMetricsOverride" - CommandEmulationForceViewport MethodType = "Emulation.forceViewport" - CommandEmulationResetViewport MethodType = "Emulation.resetViewport" CommandEmulationResetPageScaleFactor MethodType = "Emulation.resetPageScaleFactor" CommandEmulationSetPageScaleFactor MethodType = "Emulation.setPageScaleFactor" - CommandEmulationSetVisibleSize MethodType = "Emulation.setVisibleSize" CommandEmulationSetScriptExecutionDisabled MethodType = "Emulation.setScriptExecutionDisabled" CommandEmulationSetGeolocationOverride MethodType = "Emulation.setGeolocationOverride" CommandEmulationClearGeolocationOverride MethodType = "Emulation.clearGeolocationOverride" @@ -627,16 +624,10 @@ func (t *MethodType) UnmarshalEasyJSON(in *jlexer.Lexer) { *t = CommandEmulationSetDeviceMetricsOverride case CommandEmulationClearDeviceMetricsOverride: *t = CommandEmulationClearDeviceMetricsOverride - case CommandEmulationForceViewport: - *t = CommandEmulationForceViewport - case CommandEmulationResetViewport: - *t = CommandEmulationResetViewport case CommandEmulationResetPageScaleFactor: *t = CommandEmulationResetPageScaleFactor case CommandEmulationSetPageScaleFactor: *t = CommandEmulationSetPageScaleFactor - case CommandEmulationSetVisibleSize: - *t = CommandEmulationSetVisibleSize case CommandEmulationSetScriptExecutionDisabled: *t = CommandEmulationSetScriptExecutionDisabled case CommandEmulationSetGeolocationOverride: diff --git a/cdp/cdputil/cdputil.go b/cdp/cdputil/cdputil.go index b5c0033..6a2d4b9 100644 --- a/cdp/cdputil/cdputil.go +++ b/cdp/cdputil/cdputil.go @@ -260,21 +260,12 @@ func UnmarshalMessage(msg *cdp.Message) (interface{}, error) { case cdp.CommandEmulationClearDeviceMetricsOverride: return emptyVal, nil - case cdp.CommandEmulationForceViewport: - return emptyVal, nil - - case cdp.CommandEmulationResetViewport: - return emptyVal, nil - case cdp.CommandEmulationResetPageScaleFactor: return emptyVal, nil case cdp.CommandEmulationSetPageScaleFactor: return emptyVal, nil - case cdp.CommandEmulationSetVisibleSize: - return emptyVal, nil - case cdp.CommandEmulationSetScriptExecutionDisabled: return emptyVal, nil diff --git a/cdp/emulation/easyjson.go b/cdp/emulation/easyjson.go index da58c77..7b5d7c4 100644 --- a/cdp/emulation/easyjson.go +++ b/cdp/emulation/easyjson.go @@ -18,82 +18,7 @@ var ( _ easyjson.Marshaler ) -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(in *jlexer.Lexer, out *SetVisibleSizeParams) { - 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 "width": - out.Width = int64(in.Int64()) - case "height": - out.Height = int64(in.Int64()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(out *jwriter.Writer, in SetVisibleSizeParams) { - out.RawByte('{') - first := true - _ = first - if !first { - out.RawByte(',') - } - first = false - out.RawString("\"width\":") - out.Int64(int64(in.Width)) - if !first { - out.RawByte(',') - } - first = false - out.RawString("\"height\":") - out.Int64(int64(in.Height)) - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v SetVisibleSizeParams) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v SetVisibleSizeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *SetVisibleSizeParams) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *SetVisibleSizeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(l, v) -} -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(in *jlexer.Lexer, out *SetVirtualTimePolicyParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(in *jlexer.Lexer, out *SetVirtualTimePolicyParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -126,7 +51,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(out *jwriter.Writer, in SetVirtualTimePolicyParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(out *jwriter.Writer, in SetVirtualTimePolicyParams) { out.RawByte('{') first := true _ = first @@ -150,27 +75,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetVirtualTimePolicyParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetVirtualTimePolicyParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetVirtualTimePolicyParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetVirtualTimePolicyParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(in *jlexer.Lexer, out *SetTouchEmulationEnabledParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(in *jlexer.Lexer, out *SetTouchEmulationEnabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -203,7 +128,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(out *jwriter.Writer, in SetTouchEmulationEnabledParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(out *jwriter.Writer, in SetTouchEmulationEnabledParams) { out.RawByte('{') first := true _ = first @@ -227,27 +152,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetTouchEmulationEnabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetTouchEmulationEnabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation1(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetTouchEmulationEnabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetTouchEmulationEnabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation1(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(in *jlexer.Lexer, out *SetScriptExecutionDisabledParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(in *jlexer.Lexer, out *SetScriptExecutionDisabledParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -278,7 +203,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(out *jwriter.Writer, in SetScriptExecutionDisabledParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(out *jwriter.Writer, in SetScriptExecutionDisabledParams) { out.RawByte('{') first := true _ = first @@ -294,27 +219,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetScriptExecutionDisabledParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetScriptExecutionDisabledParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetScriptExecutionDisabledParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetScriptExecutionDisabledParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation2(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(in *jlexer.Lexer, out *SetPageScaleFactorParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(in *jlexer.Lexer, out *SetPageScaleFactorParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -345,7 +270,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(out *jwriter.Writer, in SetPageScaleFactorParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(out *jwriter.Writer, in SetPageScaleFactorParams) { out.RawByte('{') first := true _ = first @@ -361,27 +286,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetPageScaleFactorParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetPageScaleFactorParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetPageScaleFactorParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetPageScaleFactorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation3(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(in *jlexer.Lexer, out *SetGeolocationOverrideParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(in *jlexer.Lexer, out *SetGeolocationOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -416,7 +341,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(out *jwriter.Writer, in SetGeolocationOverrideParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(out *jwriter.Writer, in SetGeolocationOverrideParams) { out.RawByte('{') first := true _ = first @@ -450,27 +375,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetGeolocationOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetGeolocationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetGeolocationOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetGeolocationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation4(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(in *jlexer.Lexer, out *SetEmulatedMediaParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(in *jlexer.Lexer, out *SetEmulatedMediaParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -501,7 +426,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(out *jwriter.Writer, in SetEmulatedMediaParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(out *jwriter.Writer, in SetEmulatedMediaParams) { out.RawByte('{') first := true _ = first @@ -517,27 +442,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetEmulatedMediaParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetEmulatedMediaParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetEmulatedMediaParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetEmulatedMediaParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation5(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(in *jlexer.Lexer, out *SetDeviceMetricsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(in *jlexer.Lexer, out *SetDeviceMetricsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -596,7 +521,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(out *jwriter.Writer, in SetDeviceMetricsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(out *jwriter.Writer, in SetDeviceMetricsOverrideParams) { out.RawByte('{') first := true _ = first @@ -624,12 +549,14 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(out *jwriter.Writer first = false out.RawString("\"mobile\":") out.Bool(bool(in.Mobile)) - if !first { - out.RawByte(',') + if in.FitWindow { + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"fitWindow\":") + out.Bool(bool(in.FitWindow)) } - first = false - out.RawString("\"fitWindow\":") - out.Bool(bool(in.FitWindow)) if in.Scale != 0 { if !first { out.RawByte(',') @@ -688,27 +615,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation6(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(in *jlexer.Lexer, out *SetDefaultBackgroundColorOverrideParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(in *jlexer.Lexer, out *SetDefaultBackgroundColorOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -747,7 +674,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(out *jwriter.Writer, in SetDefaultBackgroundColorOverrideParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(out *jwriter.Writer, in SetDefaultBackgroundColorOverrideParams) { out.RawByte('{') first := true _ = first @@ -769,27 +696,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetDefaultBackgroundColorOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDefaultBackgroundColorOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDefaultBackgroundColorOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation7(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(in *jlexer.Lexer, out *SetCPUThrottlingRateParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(in *jlexer.Lexer, out *SetCPUThrottlingRateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -820,7 +747,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(in *jlexer.Lexer, o in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(out *jwriter.Writer, in SetCPUThrottlingRateParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(out *jwriter.Writer, in SetCPUThrottlingRateParams) { out.RawByte('{') first := true _ = first @@ -836,27 +763,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(out *jwriter.Writer // MarshalJSON supports json.Marshaler interface func (v SetCPUThrottlingRateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetCPUThrottlingRateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetCPUThrottlingRateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetCPUThrottlingRateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation8(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(in *jlexer.Lexer, out *ScreenOrientation) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(in *jlexer.Lexer, out *ScreenOrientation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -889,7 +816,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(out *jwriter.Writer, in ScreenOrientation) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(out *jwriter.Writer, in ScreenOrientation) { out.RawByte('{') first := true _ = first @@ -911,27 +838,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ScreenOrientation) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ScreenOrientation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreenOrientation) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ScreenOrientation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation9(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(in *jlexer.Lexer, out *ResetViewportParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(in *jlexer.Lexer, out *ResetPageScaleFactorParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -960,66 +887,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(out *jwriter.Writer, in ResetViewportParams) { - out.RawByte('{') - first := true - _ = first - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v ResetViewportParams) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v ResetViewportParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *ResetViewportParams) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ResetViewportParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(l, v) -} -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(in *jlexer.Lexer, out *ResetPageScaleFactorParams) { - 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 easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(out *jwriter.Writer, in ResetPageScaleFactorParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(out *jwriter.Writer, in ResetPageScaleFactorParams) { out.RawByte('{') first := true _ = first @@ -1029,110 +897,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ResetPageScaleFactorParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ResetPageScaleFactorParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ResetPageScaleFactorParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ResetPageScaleFactorParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation10(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(in *jlexer.Lexer, out *ForceViewportParams) { - 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 "x": - out.X = float64(in.Float64()) - case "y": - out.Y = float64(in.Float64()) - case "scale": - out.Scale = float64(in.Float64()) - default: - in.SkipRecursive() - } - in.WantComma() - } - in.Delim('}') - if isTopLevel { - in.Consumed() - } -} -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(out *jwriter.Writer, in ForceViewportParams) { - out.RawByte('{') - first := true - _ = first - if !first { - out.RawByte(',') - } - first = false - out.RawString("\"x\":") - out.Float64(float64(in.X)) - if !first { - out.RawByte(',') - } - first = false - out.RawString("\"y\":") - out.Float64(float64(in.Y)) - if !first { - out.RawByte(',') - } - first = false - out.RawString("\"scale\":") - out.Float64(float64(in.Scale)) - out.RawByte('}') -} - -// MarshalJSON supports json.Marshaler interface -func (v ForceViewportParams) MarshalJSON() ([]byte, error) { - w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(&w, v) - return w.Buffer.BuildBytes(), w.Error -} - -// MarshalEasyJSON supports easyjson.Marshaler interface -func (v ForceViewportParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(w, v) -} - -// UnmarshalJSON supports json.Unmarshaler interface -func (v *ForceViewportParams) UnmarshalJSON(data []byte) error { - r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(&r, v) - return r.Error() -} - -// UnmarshalEasyJSON supports easyjson.Unmarshaler interface -func (v *ForceViewportParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(l, v) -} -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(in *jlexer.Lexer, out *EventVirtualTimeBudgetExpired) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(in *jlexer.Lexer, out *EventVirtualTimeBudgetExpired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1161,7 +946,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(out *jwriter.Writer, in EventVirtualTimeBudgetExpired) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(out *jwriter.Writer, in EventVirtualTimeBudgetExpired) { out.RawByte('{') first := true _ = first @@ -1171,27 +956,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v EventVirtualTimeBudgetExpired) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v EventVirtualTimeBudgetExpired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventVirtualTimeBudgetExpired) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *EventVirtualTimeBudgetExpired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation11(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(in *jlexer.Lexer, out *ClearGeolocationOverrideParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(in *jlexer.Lexer, out *ClearGeolocationOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1220,7 +1005,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(out *jwriter.Writer, in ClearGeolocationOverrideParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(out *jwriter.Writer, in ClearGeolocationOverrideParams) { out.RawByte('{') first := true _ = first @@ -1230,27 +1015,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ClearGeolocationOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearGeolocationOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearGeolocationOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearGeolocationOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation12(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation16(in *jlexer.Lexer, out *ClearDeviceMetricsOverrideParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(in *jlexer.Lexer, out *ClearDeviceMetricsOverrideParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1279,7 +1064,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation16(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation16(out *jwriter.Writer, in ClearDeviceMetricsOverrideParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(out *jwriter.Writer, in ClearDeviceMetricsOverrideParams) { out.RawByte('{') first := true _ = first @@ -1289,27 +1074,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation16(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v ClearDeviceMetricsOverrideParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation16(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v ClearDeviceMetricsOverrideParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation16(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ClearDeviceMetricsOverrideParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation16(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *ClearDeviceMetricsOverrideParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation16(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation13(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation17(in *jlexer.Lexer, out *CanEmulateReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(in *jlexer.Lexer, out *CanEmulateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1340,7 +1125,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation17(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation17(out *jwriter.Writer, in CanEmulateReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(out *jwriter.Writer, in CanEmulateReturns) { out.RawByte('{') first := true _ = first @@ -1358,27 +1143,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation17(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v CanEmulateReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation17(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CanEmulateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation17(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CanEmulateReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation17(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CanEmulateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation17(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation14(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation18(in *jlexer.Lexer, out *CanEmulateParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(in *jlexer.Lexer, out *CanEmulateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1407,7 +1192,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation18(in *jlexer.Lexer, in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation18(out *jwriter.Writer, in CanEmulateParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(out *jwriter.Writer, in CanEmulateParams) { out.RawByte('{') first := true _ = first @@ -1417,23 +1202,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation18(out *jwriter.Write // MarshalJSON supports json.Marshaler interface func (v CanEmulateParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation18(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v CanEmulateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation18(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpEmulation15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CanEmulateParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation18(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *CanEmulateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation18(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpEmulation15(l, v) } diff --git a/cdp/emulation/emulation.go b/cdp/emulation/emulation.go index 65cf432..de79e9a 100644 --- a/cdp/emulation/emulation.go +++ b/cdp/emulation/emulation.go @@ -23,7 +23,7 @@ type SetDeviceMetricsOverrideParams struct { Height int64 `json:"height"` // Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override. DeviceScaleFactor float64 `json:"deviceScaleFactor"` // Overriding device scale factor value. 0 disables the override. Mobile bool `json:"mobile"` // Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more. - FitWindow bool `json:"fitWindow"` // Whether a view that exceeds the available browser window area should be scaled down to fit. + FitWindow bool `json:"fitWindow,omitempty"` // Whether a view that exceeds the available browser window area should be scaled down to fit. Scale float64 `json:"scale,omitempty"` // Scale to apply to resulting view image. Ignored in |fitWindow| mode. ScreenWidth int64 `json:"screenWidth,omitempty"` // Overriding screen width value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|. ScreenHeight int64 `json:"screenHeight,omitempty"` // Overriding screen height value in pixels (minimum 0, maximum 10000000). Only used for |mobile==true|. @@ -42,17 +42,22 @@ type SetDeviceMetricsOverrideParams struct { // height - Overriding height value in pixels (minimum 0, maximum 10000000). 0 disables the override. // deviceScaleFactor - Overriding device scale factor value. 0 disables the override. // mobile - Whether to emulate mobile device. This includes viewport meta tag, overlay scrollbars, text autosizing and more. -// fitWindow - Whether a view that exceeds the available browser window area should be scaled down to fit. -func SetDeviceMetricsOverride(width int64, height int64, deviceScaleFactor float64, mobile bool, fitWindow bool) *SetDeviceMetricsOverrideParams { +func SetDeviceMetricsOverride(width int64, height int64, deviceScaleFactor float64, mobile bool) *SetDeviceMetricsOverrideParams { return &SetDeviceMetricsOverrideParams{ Width: width, Height: height, DeviceScaleFactor: deviceScaleFactor, Mobile: mobile, - FitWindow: fitWindow, } } +// WithFitWindow whether a view that exceeds the available browser window +// area should be scaled down to fit. +func (p SetDeviceMetricsOverrideParams) WithFitWindow(fitWindow bool) *SetDeviceMetricsOverrideParams { + p.FitWindow = fitWindow + return &p +} + // WithScale scale to apply to resulting view image. Ignored in |fitWindow| // mode. func (p SetDeviceMetricsOverrideParams) WithScale(scale float64) *SetDeviceMetricsOverrideParams { @@ -114,55 +119,6 @@ func (p *ClearDeviceMetricsOverrideParams) Do(ctxt context.Context, h cdp.Handle return h.Execute(ctxt, cdp.CommandEmulationClearDeviceMetricsOverride, nil, nil) } -// ForceViewportParams overrides the visible area of the page. The change is -// hidden from the page, i.e. the observable scroll position and page scale does -// not change. In effect, the command moves the specified area of the page into -// the top-left corner of the frame. -type ForceViewportParams struct { - X float64 `json:"x"` // X coordinate of top-left corner of the area (CSS pixels). - Y float64 `json:"y"` // Y coordinate of top-left corner of the area (CSS pixels). - Scale float64 `json:"scale"` // Scale to apply to the area (relative to a page scale of 1.0). -} - -// ForceViewport overrides the visible area of the page. The change is hidden -// from the page, i.e. the observable scroll position and page scale does not -// change. In effect, the command moves the specified area of the page into the -// top-left corner of the frame. -// -// parameters: -// x - X coordinate of top-left corner of the area (CSS pixels). -// y - Y coordinate of top-left corner of the area (CSS pixels). -// scale - Scale to apply to the area (relative to a page scale of 1.0). -func ForceViewport(x float64, y float64, scale float64) *ForceViewportParams { - return &ForceViewportParams{ - X: x, - Y: y, - Scale: scale, - } -} - -// Do executes Emulation.forceViewport against the provided context and -// target handler. -func (p *ForceViewportParams) Do(ctxt context.Context, h cdp.Handler) (err error) { - return h.Execute(ctxt, cdp.CommandEmulationForceViewport, p, nil) -} - -// ResetViewportParams resets the visible area of the page to the original -// viewport, undoing any effects of the forceViewport command. -type ResetViewportParams struct{} - -// ResetViewport resets the visible area of the page to the original -// viewport, undoing any effects of the forceViewport command. -func ResetViewport() *ResetViewportParams { - return &ResetViewportParams{} -} - -// Do executes Emulation.resetViewport against the provided context and -// target handler. -func (p *ResetViewportParams) Do(ctxt context.Context, h cdp.Handler) (err error) { - return h.Execute(ctxt, cdp.CommandEmulationResetViewport, nil, nil) -} - // ResetPageScaleFactorParams requests that page scale factor is reset to // initial values. type ResetPageScaleFactorParams struct{} @@ -200,34 +156,6 @@ func (p *SetPageScaleFactorParams) Do(ctxt context.Context, h cdp.Handler) (err return h.Execute(ctxt, cdp.CommandEmulationSetPageScaleFactor, p, nil) } -// SetVisibleSizeParams resizes the frame/viewport of the page. Note that -// this does not affect the frame's container (e.g. browser window). Can be used -// to produce screenshots of the specified size. Not supported on Android. -type SetVisibleSizeParams struct { - Width int64 `json:"width"` // Frame width (DIP). - Height int64 `json:"height"` // Frame height (DIP). -} - -// SetVisibleSize resizes the frame/viewport of the page. Note that this does -// not affect the frame's container (e.g. browser window). Can be used to -// produce screenshots of the specified size. Not supported on Android. -// -// parameters: -// width - Frame width (DIP). -// height - Frame height (DIP). -func SetVisibleSize(width int64, height int64) *SetVisibleSizeParams { - return &SetVisibleSizeParams{ - Width: width, - Height: height, - } -} - -// Do executes Emulation.setVisibleSize against the provided context and -// target handler. -func (p *SetVisibleSizeParams) Do(ctxt context.Context, h cdp.Handler) (err error) { - return h.Execute(ctxt, cdp.CommandEmulationSetVisibleSize, p, nil) -} - // SetScriptExecutionDisabledParams switches script execution in the page. type SetScriptExecutionDisabledParams struct { Value bool `json:"value"` // Whether script execution should be disabled in the page. diff --git a/cdp/input/easyjson.go b/cdp/input/easyjson.go index 0cc8165..d2ce401 100644 --- a/cdp/input/easyjson.go +++ b/cdp/input/easyjson.go @@ -170,9 +170,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpInput1(in *jlexer.Lexer, out * } switch key { case "x": - out.X = int64(in.Int64()) + out.X = float64(in.Float64()) case "y": - out.Y = int64(in.Int64()) + out.Y = float64(in.Float64()) case "duration": out.Duration = int64(in.Int64()) case "tapCount": @@ -198,13 +198,13 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput1(out *jwriter.Writer, in } first = false out.RawString("\"x\":") - out.Int64(int64(in.X)) + out.Float64(float64(in.X)) if !first { out.RawByte(',') } first = false out.RawString("\"y\":") - out.Int64(int64(in.Y)) + out.Float64(float64(in.Y)) if in.Duration != 0 { if !first { out.RawByte(',') @@ -275,17 +275,17 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpInput2(in *jlexer.Lexer, out * } switch key { case "x": - out.X = int64(in.Int64()) + out.X = float64(in.Float64()) case "y": - out.Y = int64(in.Int64()) + out.Y = float64(in.Float64()) case "xDistance": - out.XDistance = int64(in.Int64()) + out.XDistance = float64(in.Float64()) case "yDistance": - out.YDistance = int64(in.Int64()) + out.YDistance = float64(in.Float64()) case "xOverscroll": - out.XOverscroll = int64(in.Int64()) + out.XOverscroll = float64(in.Float64()) case "yOverscroll": - out.YOverscroll = int64(in.Int64()) + out.YOverscroll = float64(in.Float64()) case "preventFling": out.PreventFling = bool(in.Bool()) case "speed": @@ -317,20 +317,20 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput2(out *jwriter.Writer, in } first = false out.RawString("\"x\":") - out.Int64(int64(in.X)) + out.Float64(float64(in.X)) if !first { out.RawByte(',') } first = false out.RawString("\"y\":") - out.Int64(int64(in.Y)) + out.Float64(float64(in.Y)) if in.XDistance != 0 { if !first { out.RawByte(',') } first = false out.RawString("\"xDistance\":") - out.Int64(int64(in.XDistance)) + out.Float64(float64(in.XDistance)) } if in.YDistance != 0 { if !first { @@ -338,7 +338,7 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput2(out *jwriter.Writer, in } first = false out.RawString("\"yDistance\":") - out.Int64(int64(in.YDistance)) + out.Float64(float64(in.YDistance)) } if in.XOverscroll != 0 { if !first { @@ -346,7 +346,7 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput2(out *jwriter.Writer, in } first = false out.RawString("\"xOverscroll\":") - out.Int64(int64(in.XOverscroll)) + out.Float64(float64(in.XOverscroll)) } if in.YOverscroll != 0 { if !first { @@ -354,7 +354,7 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput2(out *jwriter.Writer, in } first = false out.RawString("\"yOverscroll\":") - out.Int64(int64(in.YOverscroll)) + out.Float64(float64(in.YOverscroll)) } if in.PreventFling { if !first { @@ -450,9 +450,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpInput3(in *jlexer.Lexer, out * } switch key { case "x": - out.X = int64(in.Int64()) + out.X = float64(in.Float64()) case "y": - out.Y = int64(in.Int64()) + out.Y = float64(in.Float64()) case "scaleFactor": out.ScaleFactor = float64(in.Float64()) case "relativeSpeed": @@ -478,13 +478,13 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput3(out *jwriter.Writer, in } first = false out.RawString("\"x\":") - out.Int64(int64(in.X)) + out.Float64(float64(in.X)) if !first { out.RawByte(',') } first = false out.RawString("\"y\":") - out.Int64(int64(in.Y)) + out.Float64(float64(in.Y)) if !first { out.RawByte(',') } @@ -924,9 +924,9 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpInput7(in *jlexer.Lexer, out * case "type": (out.Type).UnmarshalEasyJSON(in) case "x": - out.X = int64(in.Int64()) + out.X = float64(in.Float64()) case "y": - out.Y = int64(in.Int64()) + out.Y = float64(in.Float64()) case "modifiers": (out.Modifiers).UnmarshalEasyJSON(in) case "timestamp": @@ -968,13 +968,13 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpInput7(out *jwriter.Writer, in } first = false out.RawString("\"x\":") - out.Int64(int64(in.X)) + out.Float64(float64(in.X)) if !first { out.RawByte(',') } first = false out.RawString("\"y\":") - out.Int64(int64(in.Y)) + out.Float64(float64(in.Y)) if in.Modifiers != 0 { if !first { out.RawByte(',') diff --git a/cdp/input/input.go b/cdp/input/input.go index 501eb7c..32cea51 100644 --- a/cdp/input/input.go +++ b/cdp/input/input.go @@ -152,8 +152,8 @@ func (p *DispatchKeyEventParams) Do(ctxt context.Context, h cdp.Handler) (err er // DispatchMouseEventParams dispatches a mouse event to the page. type DispatchMouseEventParams struct { Type MouseType `json:"type"` // Type of the mouse event. - X int64 `json:"x"` // X coordinate of the event relative to the main frame's viewport. - Y int64 `json:"y"` // Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. + X float64 `json:"x"` // X coordinate of the event relative to the main frame's viewport in CSS pixels. + Y float64 `json:"y"` // Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. Modifiers Modifier `json:"modifiers,omitempty"` // Bit field representing pressed modifier keys. Alt=1, Ctrl=2, Meta/Command=4, Shift=8 (default: 0). Timestamp *TimeSinceEpoch `json:"timestamp,omitempty"` // Time at which the event occurred. Button ButtonType `json:"button,omitempty"` // Mouse button (default: "none"). @@ -164,9 +164,9 @@ type DispatchMouseEventParams struct { // // parameters: // type - Type of the mouse event. -// x - X coordinate of the event relative to the main frame's viewport. -// y - Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. -func DispatchMouseEvent(typeVal MouseType, x int64, y int64) *DispatchMouseEventParams { +// x - X coordinate of the event relative to the main frame's viewport in CSS pixels. +// y - Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport. +func DispatchMouseEvent(typeVal MouseType, x float64, y float64) *DispatchMouseEventParams { return &DispatchMouseEventParams{ Type: typeVal, X: x, @@ -311,8 +311,8 @@ func (p *EmulateTouchFromMouseEventParams) Do(ctxt context.Context, h cdp.Handle // SynthesizePinchGestureParams synthesizes a pinch gesture over a time // period by issuing appropriate touch events. type SynthesizePinchGestureParams struct { - X int64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. - Y int64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. + X float64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. + Y float64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. ScaleFactor float64 `json:"scaleFactor"` // Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out). RelativeSpeed int64 `json:"relativeSpeed,omitempty"` // Relative pointer speed in pixels per second (default: 800). GestureSourceType GestureType `json:"gestureSourceType,omitempty"` // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). @@ -325,7 +325,7 @@ type SynthesizePinchGestureParams struct { // x - X coordinate of the start of the gesture in CSS pixels. // y - Y coordinate of the start of the gesture in CSS pixels. // scaleFactor - Relative scale factor after zooming (>1.0 zooms in, <1.0 zooms out). -func SynthesizePinchGesture(x int64, y int64, scaleFactor float64) *SynthesizePinchGestureParams { +func SynthesizePinchGesture(x float64, y float64, scaleFactor float64) *SynthesizePinchGestureParams { return &SynthesizePinchGestureParams{ X: x, Y: y, @@ -356,12 +356,12 @@ func (p *SynthesizePinchGestureParams) Do(ctxt context.Context, h cdp.Handler) ( // SynthesizeScrollGestureParams synthesizes a scroll gesture over a time // period by issuing appropriate touch events. type SynthesizeScrollGestureParams struct { - X int64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. - Y int64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. - XDistance int64 `json:"xDistance,omitempty"` // The distance to scroll along the X axis (positive to scroll left). - YDistance int64 `json:"yDistance,omitempty"` // The distance to scroll along the Y axis (positive to scroll up). - XOverscroll int64 `json:"xOverscroll,omitempty"` // The number of additional pixels to scroll back along the X axis, in addition to the given distance. - YOverscroll int64 `json:"yOverscroll,omitempty"` // The number of additional pixels to scroll back along the Y axis, in addition to the given distance. + X float64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. + Y float64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. + XDistance float64 `json:"xDistance,omitempty"` // The distance to scroll along the X axis (positive to scroll left). + YDistance float64 `json:"yDistance,omitempty"` // The distance to scroll along the Y axis (positive to scroll up). + XOverscroll float64 `json:"xOverscroll,omitempty"` // The number of additional pixels to scroll back along the X axis, in addition to the given distance. + YOverscroll float64 `json:"yOverscroll,omitempty"` // The number of additional pixels to scroll back along the Y axis, in addition to the given distance. PreventFling bool `json:"preventFling,omitempty"` // Prevent fling (default: true). Speed int64 `json:"speed,omitempty"` // Swipe speed in pixels per second (default: 800). GestureSourceType GestureType `json:"gestureSourceType,omitempty"` // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). @@ -376,7 +376,7 @@ type SynthesizeScrollGestureParams struct { // parameters: // x - X coordinate of the start of the gesture in CSS pixels. // y - Y coordinate of the start of the gesture in CSS pixels. -func SynthesizeScrollGesture(x int64, y int64) *SynthesizeScrollGestureParams { +func SynthesizeScrollGesture(x float64, y float64) *SynthesizeScrollGestureParams { return &SynthesizeScrollGestureParams{ X: x, Y: y, @@ -385,28 +385,28 @@ func SynthesizeScrollGesture(x int64, y int64) *SynthesizeScrollGestureParams { // WithXDistance the distance to scroll along the X axis (positive to scroll // left). -func (p SynthesizeScrollGestureParams) WithXDistance(xDistance int64) *SynthesizeScrollGestureParams { +func (p SynthesizeScrollGestureParams) WithXDistance(xDistance float64) *SynthesizeScrollGestureParams { p.XDistance = xDistance return &p } // WithYDistance the distance to scroll along the Y axis (positive to scroll // up). -func (p SynthesizeScrollGestureParams) WithYDistance(yDistance int64) *SynthesizeScrollGestureParams { +func (p SynthesizeScrollGestureParams) WithYDistance(yDistance float64) *SynthesizeScrollGestureParams { p.YDistance = yDistance return &p } // WithXOverscroll the number of additional pixels to scroll back along the X // axis, in addition to the given distance. -func (p SynthesizeScrollGestureParams) WithXOverscroll(xOverscroll int64) *SynthesizeScrollGestureParams { +func (p SynthesizeScrollGestureParams) WithXOverscroll(xOverscroll float64) *SynthesizeScrollGestureParams { p.XOverscroll = xOverscroll return &p } // WithYOverscroll the number of additional pixels to scroll back along the Y // axis, in addition to the given distance. -func (p SynthesizeScrollGestureParams) WithYOverscroll(yOverscroll int64) *SynthesizeScrollGestureParams { +func (p SynthesizeScrollGestureParams) WithYOverscroll(yOverscroll float64) *SynthesizeScrollGestureParams { p.YOverscroll = yOverscroll return &p } @@ -459,8 +459,8 @@ func (p *SynthesizeScrollGestureParams) Do(ctxt context.Context, h cdp.Handler) // SynthesizeTapGestureParams synthesizes a tap gesture over a time period by // issuing appropriate touch events. type SynthesizeTapGestureParams struct { - X int64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. - Y int64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. + X float64 `json:"x"` // X coordinate of the start of the gesture in CSS pixels. + Y float64 `json:"y"` // Y coordinate of the start of the gesture in CSS pixels. Duration int64 `json:"duration,omitempty"` // Duration between touchdown and touchup events in ms (default: 50). TapCount int64 `json:"tapCount,omitempty"` // Number of times to perform the tap (e.g. 2 for double tap, default: 1). GestureSourceType GestureType `json:"gestureSourceType,omitempty"` // Which type of input events to be generated (default: 'default', which queries the platform for the preferred input type). @@ -472,7 +472,7 @@ type SynthesizeTapGestureParams struct { // parameters: // x - X coordinate of the start of the gesture in CSS pixels. // y - Y coordinate of the start of the gesture in CSS pixels. -func SynthesizeTapGesture(x int64, y int64) *SynthesizeTapGestureParams { +func SynthesizeTapGesture(x float64, y float64) *SynthesizeTapGestureParams { return &SynthesizeTapGestureParams{ X: x, Y: y, diff --git a/cdp/page/easyjson.go b/cdp/page/easyjson.go index 4648bb2..f891104 100644 --- a/cdp/page/easyjson.go +++ b/cdp/page/easyjson.go @@ -136,7 +136,106 @@ func (v *VisualViewport) UnmarshalJSON(data []byte) error { func (v *VisualViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(in *jlexer.Lexer, out *StopScreencastParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(in *jlexer.Lexer, out *Viewport) { + 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 "x": + out.X = float64(in.Float64()) + case "y": + out.Y = float64(in.Float64()) + case "width": + out.Width = float64(in.Float64()) + case "height": + out.Height = float64(in.Float64()) + case "scale": + out.Scale = float64(in.Float64()) + default: + in.SkipRecursive() + } + in.WantComma() + } + in.Delim('}') + if isTopLevel { + in.Consumed() + } +} +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(out *jwriter.Writer, in Viewport) { + out.RawByte('{') + first := true + _ = first + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"x\":") + out.Float64(float64(in.X)) + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"y\":") + out.Float64(float64(in.Y)) + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"width\":") + out.Float64(float64(in.Width)) + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"height\":") + out.Float64(float64(in.Height)) + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"scale\":") + out.Float64(float64(in.Scale)) + out.RawByte('}') +} + +// MarshalJSON supports json.Marshaler interface +func (v Viewport) MarshalJSON() ([]byte, error) { + w := jwriter.Writer{} + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(&w, v) + return w.Buffer.BuildBytes(), w.Error +} + +// MarshalEasyJSON supports easyjson.Marshaler interface +func (v Viewport) MarshalEasyJSON(w *jwriter.Writer) { + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(w, v) +} + +// UnmarshalJSON supports json.Unmarshaler interface +func (v *Viewport) UnmarshalJSON(data []byte) error { + r := jlexer.Lexer{Data: data} + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(&r, v) + return r.Error() +} + +// UnmarshalEasyJSON supports easyjson.Unmarshaler interface +func (v *Viewport) UnmarshalEasyJSON(l *jlexer.Lexer) { + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(l, v) +} +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(in *jlexer.Lexer, out *StopScreencastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -165,7 +264,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(out *jwriter.Writer, in StopScreencastParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(out *jwriter.Writer, in StopScreencastParams) { out.RawByte('{') first := true _ = first @@ -175,27 +274,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StopScreencastParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StopScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage1(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StopScreencastParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StopScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage1(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(in *jlexer.Lexer, out *StopLoadingParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(in *jlexer.Lexer, out *StopLoadingParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -224,7 +323,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(out *jwriter.Writer, in StopLoadingParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(out *jwriter.Writer, in StopLoadingParams) { out.RawByte('{') first := true _ = first @@ -234,27 +333,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StopLoadingParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StopLoadingParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage2(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StopLoadingParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StopLoadingParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage2(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(in *jlexer.Lexer, out *StartScreencastParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(in *jlexer.Lexer, out *StartScreencastParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -293,7 +392,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(out *jwriter.Writer, in StartScreencastParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(out *jwriter.Writer, in StartScreencastParams) { out.RawByte('{') first := true _ = first @@ -343,27 +442,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v StartScreencastParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v StartScreencastParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage3(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *StartScreencastParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *StartScreencastParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage3(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(in *jlexer.Lexer, out *SetDocumentContentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *SetDocumentContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -396,7 +495,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(out *jwriter.Writer, in SetDocumentContentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in SetDocumentContentParams) { out.RawByte('{') first := true _ = first @@ -418,27 +517,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetDocumentContentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetDocumentContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage4(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetDocumentContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage4(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *SetControlNavigationsParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *SetControlNavigationsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -469,7 +568,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in SetControlNavigationsParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in SetControlNavigationsParams) { out.RawByte('{') first := true _ = first @@ -485,27 +584,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetControlNavigationsParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetControlNavigationsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage5(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetControlNavigationsParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetControlNavigationsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage5(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *SetAutoAttachToCreatedPagesParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *SetAutoAttachToCreatedPagesParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -536,7 +635,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in SetAutoAttachToCreatedPagesParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in SetAutoAttachToCreatedPagesParams) { out.RawByte('{') first := true _ = first @@ -552,27 +651,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SetAutoAttachToCreatedPagesParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SetAutoAttachToCreatedPagesParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage6(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SetAutoAttachToCreatedPagesParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SetAutoAttachToCreatedPagesParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage6(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *SearchInResourceReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SearchInResourceReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -632,7 +731,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in SearchInResourceReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SearchInResourceReturns) { out.RawByte('{') first := true _ = first @@ -665,27 +764,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SearchInResourceReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v SearchInResourceReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage7(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *SearchInResourceReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage7(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *SearchInResourceParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *SearchInResourceParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -724,7 +823,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in SearchInResourceParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in SearchInResourceParams) { out.RawByte('{') first := true _ = first @@ -768,27 +867,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v SearchInResourceParams) 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 SearchInResourceParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage8(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *SearchInResourceParams) 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 *SearchInResourceParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage8(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *ScreencastFrameMetadata) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *ScreencastFrameMetadata) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -839,7 +938,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(in *jlexer.Lexer, out *S in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in ScreencastFrameMetadata) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in ScreencastFrameMetadata) { out.RawByte('{') first := true _ = first @@ -897,27 +996,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameMetadata) 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 ScreencastFrameMetadata) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage9(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameMetadata) 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 *ScreencastFrameMetadata) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage9(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out *ScreencastFrameAckParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *ScreencastFrameAckParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -948,7 +1047,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in ScreencastFrameAckParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in ScreencastFrameAckParams) { out.RawByte('{') first := true _ = first @@ -964,27 +1063,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ScreencastFrameAckParams) 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 ScreencastFrameAckParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage10(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ScreencastFrameAckParams) 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 *ScreencastFrameAckParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage10(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out *RequestAppBannerParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *RequestAppBannerParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1013,7 +1112,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in RequestAppBannerParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in RequestAppBannerParams) { out.RawByte('{') first := true _ = first @@ -1023,27 +1122,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RequestAppBannerParams) 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 RequestAppBannerParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage11(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RequestAppBannerParams) 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 *RequestAppBannerParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage11(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *RemoveScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1074,7 +1173,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in RemoveScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -1090,27 +1189,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v RemoveScriptToEvaluateOnNewDocumentParams) 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 RemoveScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage12(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *RemoveScriptToEvaluateOnNewDocumentParams) 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 *RemoveScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage12(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out *ReloadParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *ReloadParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1143,7 +1242,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in ReloadParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in ReloadParams) { out.RawByte('{') first := true _ = first @@ -1169,27 +1268,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ReloadParams) 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 ReloadParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage13(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ReloadParams) 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 *ReloadParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage13(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out *ProcessNavigationParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *ProcessNavigationParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1222,7 +1321,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in ProcessNavigationParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in ProcessNavigationParams) { out.RawByte('{') first := true _ = first @@ -1244,27 +1343,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v ProcessNavigationParams) 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 ProcessNavigationParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage14(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *ProcessNavigationParams) 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 *ProcessNavigationParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage14(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out *PrintToPDFReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *PrintToPDFReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1295,7 +1394,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in PrintToPDFReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in PrintToPDFReturns) { out.RawByte('{') first := true _ = first @@ -1313,27 +1412,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PrintToPDFReturns) 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 PrintToPDFReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage15(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFReturns) 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 *PrintToPDFReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage15(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out *PrintToPDFParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *PrintToPDFParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1384,7 +1483,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in PrintToPDFParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in PrintToPDFParams) { out.RawByte('{') first := true _ = first @@ -1482,27 +1581,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v PrintToPDFParams) 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 PrintToPDFParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage16(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *PrintToPDFParams) 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 *PrintToPDFParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage16(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out *NavigationEntry) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *NavigationEntry) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1541,7 +1640,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in NavigationEntry) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in NavigationEntry) { out.RawByte('{') first := true _ = first @@ -1581,27 +1680,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigationEntry) 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 NavigationEntry) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage17(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigationEntry) 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 *NavigationEntry) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage17(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigateToHistoryEntryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1632,7 +1731,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in NavigateToHistoryEntryParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigateToHistoryEntryParams) { out.RawByte('{') first := true _ = first @@ -1648,27 +1747,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateToHistoryEntryParams) 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 NavigateToHistoryEntryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage18(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateToHistoryEntryParams) 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 *NavigateToHistoryEntryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage18(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out *NavigateReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1699,7 +1798,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in NavigateReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateReturns) { out.RawByte('{') first := true _ = first @@ -1717,27 +1816,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateReturns) 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 NavigateReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage19(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateReturns) 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 *NavigateReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage19(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out *NavigateParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *NavigateParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1772,7 +1871,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in NavigateParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in NavigateParams) { out.RawByte('{') first := true _ = first @@ -1804,27 +1903,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v NavigateParams) 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 NavigateParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage20(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *NavigateParams) 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 *NavigateParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage20(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out *LayoutViewport) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *LayoutViewport) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1861,7 +1960,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in LayoutViewport) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in LayoutViewport) { out.RawByte('{') first := true _ = first @@ -1895,27 +1994,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v LayoutViewport) 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 LayoutViewport) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage21(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *LayoutViewport) 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 *LayoutViewport) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage21(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *HandleJavaScriptDialogParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -1948,7 +2047,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in HandleJavaScriptDialogParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in HandleJavaScriptDialogParams) { out.RawByte('{') first := true _ = first @@ -1972,27 +2071,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v HandleJavaScriptDialogParams) 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 HandleJavaScriptDialogParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage22(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *HandleJavaScriptDialogParams) 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 *HandleJavaScriptDialogParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage22(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out *GetResourceTreeReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *GetResourceTreeReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2031,7 +2130,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in GetResourceTreeReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in GetResourceTreeReturns) { out.RawByte('{') first := true _ = first @@ -2053,27 +2152,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeReturns) 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 GetResourceTreeReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage23(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeReturns) 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 *GetResourceTreeReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage23(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out *GetResourceTreeParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceTreeParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2102,7 +2201,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in GetResourceTreeParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceTreeParams) { out.RawByte('{') first := true _ = first @@ -2112,27 +2211,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceTreeParams) 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 GetResourceTreeParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage24(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceTreeParams) 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 *GetResourceTreeParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage24(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out *GetResourceContentReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceContentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2165,7 +2264,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in GetResourceContentReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceContentReturns) { out.RawByte('{') first := true _ = first @@ -2191,27 +2290,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceContentReturns) 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 GetResourceContentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage25(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentReturns) 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 *GetResourceContentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage25(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out *GetResourceContentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetResourceContentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2244,7 +2343,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in GetResourceContentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetResourceContentParams) { out.RawByte('{') first := true _ = first @@ -2266,27 +2365,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetResourceContentParams) 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 GetResourceContentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage26(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetResourceContentParams) 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 *GetResourceContentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage26(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetNavigationHistoryReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2348,7 +2447,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in GetNavigationHistoryReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetNavigationHistoryReturns) { out.RawByte('{') first := true _ = first @@ -2389,27 +2488,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryReturns) 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 GetNavigationHistoryReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage27(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryReturns) 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 *GetNavigationHistoryReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage27(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out *GetNavigationHistoryParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetNavigationHistoryParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2438,7 +2537,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in GetNavigationHistoryParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetNavigationHistoryParams) { out.RawByte('{') first := true _ = first @@ -2448,27 +2547,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetNavigationHistoryParams) 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 GetNavigationHistoryParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage28(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetNavigationHistoryParams) 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 *GetNavigationHistoryParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage28(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetLayoutMetricsReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2527,7 +2626,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in GetLayoutMetricsReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetLayoutMetricsReturns) { out.RawByte('{') first := true _ = first @@ -2573,27 +2672,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsReturns) 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 GetLayoutMetricsReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage29(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsReturns) 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 *GetLayoutMetricsReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage29(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out *GetLayoutMetricsParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetLayoutMetricsParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2622,7 +2721,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in GetLayoutMetricsParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetLayoutMetricsParams) { out.RawByte('{') first := true _ = first @@ -2632,27 +2731,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetLayoutMetricsParams) 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 GetLayoutMetricsParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage30(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetLayoutMetricsParams) 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 *GetLayoutMetricsParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage30(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out *GetAppManifestReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetAppManifestReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2716,7 +2815,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in GetAppManifestReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetAppManifestReturns) { out.RawByte('{') first := true _ = first @@ -2765,27 +2864,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetAppManifestReturns) 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 GetAppManifestReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage31(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestReturns) 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 *GetAppManifestReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage31(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out *GetAppManifestParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *GetAppManifestParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2814,7 +2913,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in GetAppManifestParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in GetAppManifestParams) { out.RawByte('{') first := true _ = first @@ -2824,27 +2923,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v GetAppManifestParams) 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 GetAppManifestParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage32(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *GetAppManifestParams) 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 *GetAppManifestParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage32(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out *FrameResourceTree) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *FrameResourceTree) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -2945,7 +3044,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in FrameResourceTree) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in FrameResourceTree) { out.RawByte('{') first := true _ = first @@ -3009,27 +3108,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FrameResourceTree) 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 FrameResourceTree) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage33(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResourceTree) 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 *FrameResourceTree) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage33(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out *FrameResource) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *FrameResource) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3080,7 +3179,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in FrameResource) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in FrameResource) { out.RawByte('{') first := true _ = first @@ -3144,27 +3243,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v FrameResource) 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 FrameResource) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage34(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *FrameResource) 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 *FrameResource) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage34(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *EventScreencastVisibilityChanged) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3195,7 +3294,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in EventScreencastVisibilityChanged) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in EventScreencastVisibilityChanged) { out.RawByte('{') first := true _ = first @@ -3211,27 +3310,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventScreencastVisibilityChanged) 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 EventScreencastVisibilityChanged) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage35(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastVisibilityChanged) 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 *EventScreencastVisibilityChanged) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage35(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out *EventScreencastFrame) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventScreencastFrame) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3274,7 +3373,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in EventScreencastFrame) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventScreencastFrame) { out.RawByte('{') first := true _ = first @@ -3306,27 +3405,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventScreencastFrame) 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 EventScreencastFrame) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage36(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventScreencastFrame) 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 *EventScreencastFrame) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage36(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out *EventNavigationRequested) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventNavigationRequested) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3363,7 +3462,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in EventNavigationRequested) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventNavigationRequested) { out.RawByte('{') first := true _ = first @@ -3397,27 +3496,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventNavigationRequested) 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 EventNavigationRequested) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage37(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventNavigationRequested) 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 *EventNavigationRequested) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage37(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out *EventLoadEventFired) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventLoadEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3456,7 +3555,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in EventLoadEventFired) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventLoadEventFired) { out.RawByte('{') first := true _ = first @@ -3476,27 +3575,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventLoadEventFired) 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 EventLoadEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage38(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventLoadEventFired) 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 *EventLoadEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage38(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventJavascriptDialogOpening) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3529,7 +3628,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in EventJavascriptDialogOpening) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventJavascriptDialogOpening) { out.RawByte('{') first := true _ = first @@ -3551,27 +3650,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogOpening) 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 EventJavascriptDialogOpening) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage39(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogOpening) 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 *EventJavascriptDialogOpening) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage39(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventJavascriptDialogClosed) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3602,7 +3701,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in EventJavascriptDialogClosed) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventJavascriptDialogClosed) { out.RawByte('{') first := true _ = first @@ -3618,27 +3717,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventJavascriptDialogClosed) 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 EventJavascriptDialogClosed) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage40(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventJavascriptDialogClosed) 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 *EventJavascriptDialogClosed) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage40(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out *EventInterstitialShown) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventInterstitialShown) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3667,7 +3766,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in EventInterstitialShown) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventInterstitialShown) { out.RawByte('{') first := true _ = first @@ -3677,27 +3776,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventInterstitialShown) 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 EventInterstitialShown) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage41(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialShown) 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 *EventInterstitialShown) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage41(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out *EventInterstitialHidden) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventInterstitialHidden) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3726,7 +3825,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in EventInterstitialHidden) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventInterstitialHidden) { out.RawByte('{') first := true _ = first @@ -3736,27 +3835,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventInterstitialHidden) 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 EventInterstitialHidden) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage42(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventInterstitialHidden) 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 *EventInterstitialHidden) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage42(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out *EventFrameStoppedLoading) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventFrameStoppedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3787,7 +3886,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in EventFrameStoppedLoading) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventFrameStoppedLoading) { out.RawByte('{') first := true _ = first @@ -3803,27 +3902,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameStoppedLoading) 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 EventFrameStoppedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage43(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStoppedLoading) 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 *EventFrameStoppedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage43(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out *EventFrameStartedLoading) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameStartedLoading) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3854,7 +3953,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in EventFrameStartedLoading) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameStartedLoading) { out.RawByte('{') first := true _ = first @@ -3870,27 +3969,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameStartedLoading) 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 EventFrameStartedLoading) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage44(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameStartedLoading) 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 *EventFrameStartedLoading) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage44(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out *EventFrameScheduledNavigation) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameScheduledNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3923,7 +4022,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in EventFrameScheduledNavigation) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameScheduledNavigation) { out.RawByte('{') first := true _ = first @@ -3945,27 +4044,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameScheduledNavigation) 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 EventFrameScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage45(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameScheduledNavigation) 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 *EventFrameScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage45(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out *EventFrameResized) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameResized) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -3994,7 +4093,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in EventFrameResized) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameResized) { out.RawByte('{') first := true _ = first @@ -4004,27 +4103,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameResized) 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 EventFrameResized) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage46(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameResized) 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 *EventFrameResized) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage46(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out *EventFrameNavigated) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameNavigated) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4063,7 +4162,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in EventFrameNavigated) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameNavigated) { out.RawByte('{') first := true _ = first @@ -4083,27 +4182,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameNavigated) 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 EventFrameNavigated) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage47(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameNavigated) 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 *EventFrameNavigated) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage47(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out *EventFrameDetached) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameDetached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4134,7 +4233,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in EventFrameDetached) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameDetached) { out.RawByte('{') first := true _ = first @@ -4150,27 +4249,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameDetached) 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 EventFrameDetached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage48(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameDetached) 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 *EventFrameDetached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage48(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventFrameClearedScheduledNavigation) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4201,7 +4300,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventFrameClearedScheduledNavigation) { out.RawByte('{') first := true _ = first @@ -4217,27 +4316,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameClearedScheduledNavigation) 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 EventFrameClearedScheduledNavigation) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage49(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameClearedScheduledNavigation) 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 *EventFrameClearedScheduledNavigation) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage49(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out *EventFrameAttached) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EventFrameAttached) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4280,7 +4379,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in EventFrameAttached) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EventFrameAttached) { out.RawByte('{') first := true _ = first @@ -4314,27 +4413,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventFrameAttached) 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 EventFrameAttached) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage50(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventFrameAttached) 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 *EventFrameAttached) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage50(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out *EventDomContentEventFired) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *EventDomContentEventFired) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4373,7 +4472,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in EventDomContentEventFired) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in EventDomContentEventFired) { out.RawByte('{') first := true _ = first @@ -4393,27 +4492,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EventDomContentEventFired) 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 EventDomContentEventFired) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage51(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EventDomContentEventFired) 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 *EventDomContentEventFired) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage51(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out *EnableParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *EnableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4442,7 +4541,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in EnableParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in EnableParams) { out.RawByte('{') first := true _ = first @@ -4452,27 +4551,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v EnableParams) 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 EnableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage52(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *EnableParams) 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 *EnableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage52(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out *DisableParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *DisableParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4501,7 +4600,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in DisableParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in DisableParams) { out.RawByte('{') first := true _ = first @@ -4511,27 +4610,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v DisableParams) 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 DisableParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage53(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *DisableParams) 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 *DisableParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage53(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *CreateIsolatedWorldReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4562,7 +4661,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in CreateIsolatedWorldReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in CreateIsolatedWorldReturns) { out.RawByte('{') first := true _ = first @@ -4580,27 +4679,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldReturns) 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 CreateIsolatedWorldReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage54(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldReturns) 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 *CreateIsolatedWorldReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage54(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CreateIsolatedWorldParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4635,7 +4734,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in CreateIsolatedWorldParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CreateIsolatedWorldParams) { out.RawByte('{') first := true _ = first @@ -4667,27 +4766,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CreateIsolatedWorldParams) 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 CreateIsolatedWorldParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage55(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CreateIsolatedWorldParams) 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 *CreateIsolatedWorldParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage55(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out *CaptureScreenshotReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *CaptureScreenshotReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4718,7 +4817,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in CaptureScreenshotReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in CaptureScreenshotReturns) { out.RawByte('{') first := true _ = first @@ -4736,27 +4835,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotReturns) 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 CaptureScreenshotReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage56(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotReturns) 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 *CaptureScreenshotReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage56(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out *CaptureScreenshotParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *CaptureScreenshotParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4779,6 +4878,16 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out * (out.Format).UnmarshalEasyJSON(in) case "quality": out.Quality = int64(in.Int64()) + case "clip": + if in.IsNull() { + in.Skip() + out.Clip = nil + } else { + if out.Clip == nil { + out.Clip = new(Viewport) + } + (*out.Clip).UnmarshalEasyJSON(in) + } case "fromSurface": out.FromSurface = bool(in.Bool()) default: @@ -4791,7 +4900,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in CaptureScreenshotParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in CaptureScreenshotParams) { out.RawByte('{') first := true _ = first @@ -4811,6 +4920,18 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in out.RawString("\"quality\":") out.Int64(int64(in.Quality)) } + if in.Clip != nil { + if !first { + out.RawByte(',') + } + first = false + out.RawString("\"clip\":") + if in.Clip == nil { + out.RawString("null") + } else { + (*in.Clip).MarshalEasyJSON(out) + } + } if in.FromSurface { if !first { out.RawByte(',') @@ -4825,27 +4946,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v CaptureScreenshotParams) 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 CaptureScreenshotParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage57(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *CaptureScreenshotParams) 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 *CaptureScreenshotParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage57(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out *AppManifestError) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *AppManifestError) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4882,7 +5003,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in AppManifestError) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in AppManifestError) { out.RawByte('{') first := true _ = first @@ -4916,27 +5037,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AppManifestError) 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 AppManifestError) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage58(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AppManifestError) 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 *AppManifestError) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage58(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentReturns) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -4967,7 +5088,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentReturns) { out.RawByte('{') first := true _ = first @@ -4985,27 +5106,27 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentReturns) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage59(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentReturns) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage59(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v) } -func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(in *jlexer.Lexer, out *AddScriptToEvaluateOnNewDocumentParams) { isTopLevel := in.IsStart() if in.IsNull() { if isTopLevel { @@ -5036,7 +5157,7 @@ func easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(in *jlexer.Lexer, out * in.Consumed() } } -func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { +func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(out *jwriter.Writer, in AddScriptToEvaluateOnNewDocumentParams) { out.RawByte('{') first := true _ = first @@ -5052,23 +5173,23 @@ func easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(out *jwriter.Writer, in // MarshalJSON supports json.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalJSON() ([]byte, error) { w := jwriter.Writer{} - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(&w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(&w, v) return w.Buffer.BuildBytes(), w.Error } // MarshalEasyJSON supports easyjson.Marshaler interface func (v AddScriptToEvaluateOnNewDocumentParams) MarshalEasyJSON(w *jwriter.Writer) { - easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage60(w, v) + easyjsonC5a4559bEncodeGithubComKnqChromedpCdpPage61(w, v) } // UnmarshalJSON supports json.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalJSON(data []byte) error { r := jlexer.Lexer{Data: data} - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(&r, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(&r, v) return r.Error() } // UnmarshalEasyJSON supports easyjson.Unmarshaler interface func (v *AddScriptToEvaluateOnNewDocumentParams) UnmarshalEasyJSON(l *jlexer.Lexer) { - easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage60(l, v) + easyjsonC5a4559bDecodeGithubComKnqChromedpCdpPage61(l, v) } diff --git a/cdp/page/page.go b/cdp/page/page.go index fc8e09d..1370558 100644 --- a/cdp/page/page.go +++ b/cdp/page/page.go @@ -446,6 +446,7 @@ func (p *SetDocumentContentParams) Do(ctxt context.Context, h cdp.Handler) (err type CaptureScreenshotParams struct { Format CaptureScreenshotFormat `json:"format,omitempty"` // Image compression format (defaults to png). Quality int64 `json:"quality,omitempty"` // Compression quality from range [0..100] (jpeg only). + Clip *Viewport `json:"clip,omitempty"` // Capture the screenshot of a given region only. FromSurface bool `json:"fromSurface,omitempty"` // Capture the screenshot from the surface, rather than the view. Defaults to true. } @@ -468,6 +469,12 @@ func (p CaptureScreenshotParams) WithQuality(quality int64) *CaptureScreenshotPa return &p } +// WithClip capture the screenshot of a given region only. +func (p CaptureScreenshotParams) WithClip(clip *Viewport) *CaptureScreenshotParams { + p.Clip = clip + return &p +} + // WithFromSurface capture the screenshot from the surface, rather than the // view. Defaults to true. func (p CaptureScreenshotParams) WithFromSurface(fromSurface bool) *CaptureScreenshotParams { diff --git a/cdp/page/types.go b/cdp/page/types.go index 5d40087..253d88b 100644 --- a/cdp/page/types.go +++ b/cdp/page/types.go @@ -327,6 +327,15 @@ type VisualViewport struct { Scale float64 `json:"scale"` // Scale relative to the ideal viewport (size at width=device-width). } +// Viewport viewport for capturing screenshot. +type Viewport struct { + X float64 `json:"x"` // X offset in CSS pixels. + Y float64 `json:"y"` // Y offset in CSS pixels + Width float64 `json:"width"` // Rectangle width in CSS pixels + Height float64 `json:"height"` // Rectangle height in CSS pixels + Scale float64 `json:"scale"` // Page scale factor. +} + // 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 a63a52a..ade937e 100644 --- a/cmd/chromedp-gen/protocol.json +++ b/cmd/chromedp-gen/protocol.json @@ -478,6 +478,39 @@ "description": "Scale relative to the ideal viewport (size at width=device-width)." } ] + }, + { + "id": "Viewport", + "type": "object", + "description": "Viewport for capturing screenshot.", + "experimental": true, + "properties": [ + { + "name": "x", + "type": "number", + "description": "X offset in CSS pixels." + }, + { + "name": "y", + "type": "number", + "description": "Y offset in CSS pixels" + }, + { + "name": "width", + "type": "number", + "description": "Rectangle width in CSS pixels" + }, + { + "name": "height", + "type": "number", + "description": "Rectangle height in CSS pixels" + }, + { + "name": "scale", + "type": "number", + "description": "Page scale factor." + } + ] } ], "commands": [ @@ -812,6 +845,7 @@ { "name": "fitWindow", "type": "boolean", + "optional": true, "description": "Whether a view that exceeds the available browser window area should be scaled down to fit." }, { @@ -974,6 +1008,13 @@ "optional": true, "description": "Compression quality from range [0..100] (jpeg only)." }, + { + "name": "clip", + "$ref": "Viewport", + "optional": true, + "description": "Capture the screenshot of a given region only.", + "experimental": true + }, { "name": "fromSurface", "type": "boolean", @@ -1901,6 +1942,7 @@ { "name": "fitWindow", "type": "boolean", + "optional": true, "description": "Whether a view that exceeds the available browser window area should be scaled down to fit." }, { @@ -1966,33 +2008,6 @@ "name": "clearDeviceMetricsOverride", "description": "Clears the overriden device metrics." }, - { - "name": "forceViewport", - "description": "Overrides the visible area of the page. The change is hidden from the page, i.e. the observable scroll position and page scale does not change. In effect, the command moves the specified area of the page into the top-left corner of the frame.", - "experimental": true, - "parameters": [ - { - "name": "x", - "type": "number", - "description": "X coordinate of top-left corner of the area (CSS pixels)." - }, - { - "name": "y", - "type": "number", - "description": "Y coordinate of top-left corner of the area (CSS pixels)." - }, - { - "name": "scale", - "type": "number", - "description": "Scale to apply to the area (relative to a page scale of 1.0)." - } - ] - }, - { - "name": "resetViewport", - "description": "Resets the visible area of the page to the original viewport, undoing any effects of the forceViewport command.", - "experimental": true - }, { "name": "resetPageScaleFactor", "experimental": true, @@ -2012,8 +2027,9 @@ }, { "name": "setVisibleSize", - "description": "Resizes the frame/viewport of the page. Note that this does not affect the frame's container (e.g. browser window). Can be used to produce screenshots of the specified size. Not supported on Android.", + "description": "Deprecated, does nothing. Please use setDeviceMetricsOverride instead.", "experimental": true, + "deprecated": true, "parameters": [ { "name": "width", @@ -8821,13 +8837,13 @@ }, { "name": "x", - "type": "integer", - "description": "X coordinate of the event relative to the main frame's viewport." + "type": "number", + "description": "X coordinate of the event relative to the main frame's viewport in CSS pixels." }, { "name": "y", - "type": "integer", - "description": "Y coordinate of the event relative to the main frame's viewport. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport." + "type": "number", + "description": "Y coordinate of the event relative to the main frame's viewport in CSS pixels. 0 refers to the top of the viewport and Y increases as it proceeds towards the bottom of the viewport." }, { "name": "modifiers", @@ -8972,12 +8988,12 @@ "parameters": [ { "name": "x", - "type": "integer", + "type": "number", "description": "X coordinate of the start of the gesture in CSS pixels." }, { "name": "y", - "type": "integer", + "type": "number", "description": "Y coordinate of the start of the gesture in CSS pixels." }, { @@ -9006,35 +9022,35 @@ "parameters": [ { "name": "x", - "type": "integer", + "type": "number", "description": "X coordinate of the start of the gesture in CSS pixels." }, { "name": "y", - "type": "integer", + "type": "number", "description": "Y coordinate of the start of the gesture in CSS pixels." }, { "name": "xDistance", - "type": "integer", + "type": "number", "optional": true, "description": "The distance to scroll along the X axis (positive to scroll left)." }, { "name": "yDistance", - "type": "integer", + "type": "number", "optional": true, "description": "The distance to scroll along the Y axis (positive to scroll up)." }, { "name": "xOverscroll", - "type": "integer", + "type": "number", "optional": true, "description": "The number of additional pixels to scroll back along the X axis, in addition to the given distance." }, { "name": "yOverscroll", - "type": "integer", + "type": "number", "optional": true, "description": "The number of additional pixels to scroll back along the Y axis, in addition to the given distance." }, @@ -9083,12 +9099,12 @@ "parameters": [ { "name": "x", - "type": "integer", + "type": "number", "description": "X coordinate of the start of the gesture in CSS pixels." }, { "name": "y", - "type": "integer", + "type": "number", "description": "Y coordinate of the start of the gesture in CSS pixels." }, {