// Copyright © 2020 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
//
// **This code was generated by a tool, do not change directly**
// CHROMIUM VERSION 87.0.4280.141
namespace CefSharp.DevTools.Accessibility
{
///
/// Enum of possible property types.
///
public enum AXValueType
{
///
/// boolean
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("boolean")]
Boolean,
///
/// tristate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("tristate")]
Tristate,
///
/// booleanOrUndefined
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("booleanOrUndefined")]
BooleanOrUndefined,
///
/// idref
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("idref")]
Idref,
///
/// idrefList
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("idrefList")]
IdrefList,
///
/// integer
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("integer")]
Integer,
///
/// node
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("node")]
Node,
///
/// nodeList
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeList")]
NodeList,
///
/// number
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("number")]
Number,
///
/// string
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("string")]
String,
///
/// computedString
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("computedString")]
ComputedString,
///
/// token
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("token")]
Token,
///
/// tokenList
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("tokenList")]
TokenList,
///
/// domRelation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domRelation")]
DomRelation,
///
/// role
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("role")]
Role,
///
/// internalRole
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("internalRole")]
InternalRole,
///
/// valueUndefined
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valueUndefined")]
ValueUndefined
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// Enum of possible property sources.
///
public enum AXValueSourceType
{
///
/// attribute
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute")]
Attribute,
///
/// implicit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("implicit")]
Implicit,
///
/// style
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("style")]
Style,
///
/// contents
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contents")]
Contents,
///
/// placeholder
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("placeholder")]
Placeholder,
///
/// relatedElement
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("relatedElement")]
RelatedElement
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// Enum of possible native property sources (as a subtype of a particular AXValueSourceType).
///
public enum AXValueNativeSourceType
{
///
/// figcaption
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("figcaption")]
Figcaption,
///
/// label
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("label")]
Label,
///
/// labelfor
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("labelfor")]
Labelfor,
///
/// labelwrapped
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("labelwrapped")]
Labelwrapped,
///
/// legend
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("legend")]
Legend,
///
/// tablecaption
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("tablecaption")]
Tablecaption,
///
/// title
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
Title,
///
/// other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("other")]
Other
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// A single source for a computed AX property.
///
public class AXValueSource : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// What type of source this is.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
public CefSharp.DevTools.Accessibility.AXValueSourceType Type
{
get;
set;
}
///
/// The value of this property source.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Accessibility.AXValue Value
{
get;
set;
}
///
/// The name of the relevant attribute, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute")]
public string Attribute
{
get;
set;
}
///
/// The value of the relevant attribute, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributeValue")]
public CefSharp.DevTools.Accessibility.AXValue AttributeValue
{
get;
set;
}
///
/// Whether this source is superseded by a higher priority source.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("superseded")]
public bool? Superseded
{
get;
set;
}
///
/// The native markup source for this value, e.g. a <label> element.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nativeSource")]
public CefSharp.DevTools.Accessibility.AXValueNativeSourceType? NativeSource
{
get;
set;
}
///
/// The value, such as a node or node list, of the native source.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nativeSourceValue")]
public CefSharp.DevTools.Accessibility.AXValue NativeSourceValue
{
get;
set;
}
///
/// Whether the value for this property is invalid.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("invalid")]
public bool? Invalid
{
get;
set;
}
///
/// Reason for the value being invalid, if it is.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("invalidReason")]
public string InvalidReason
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// AXRelatedNode
///
public class AXRelatedNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The BackendNodeId of the related DOM node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendDOMNodeId")]
public int BackendDOMNodeId
{
get;
set;
}
///
/// The IDRef value provided, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("idref")]
public string Idref
{
get;
set;
}
///
/// The text alternative of this node in the current context.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
public string Text
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// AXProperty
///
public class AXProperty : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The name of this property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public CefSharp.DevTools.Accessibility.AXPropertyName Name
{
get;
set;
}
///
/// The value of this property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Accessibility.AXValue Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// A single computed AX property.
///
public class AXValue : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The type of this value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
public CefSharp.DevTools.Accessibility.AXValueType Type
{
get;
set;
}
///
/// The computed value of this property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public object Value
{
get;
set;
}
///
/// One or more related nodes, if applicable.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("relatedNodes")]
public System.Collections.Generic.IList RelatedNodes
{
get;
set;
}
///
/// The sources which contributed to the computation of this property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sources")]
public System.Collections.Generic.IList Sources
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// Values of AXProperty name:
/// - from 'busy' to 'roledescription': states which apply to every AX node
/// - from 'live' to 'root': attributes which apply to nodes in live regions
/// - from 'autocomplete' to 'valuetext': attributes which apply to widgets
/// - from 'checked' to 'selected': states which apply to widgets
/// - from 'activedescendant' to 'owns' - relationships between elements other than parent/child/sibling.
///
public enum AXPropertyName
{
///
/// busy
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("busy")]
Busy,
///
/// disabled
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")]
Disabled,
///
/// editable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("editable")]
Editable,
///
/// focusable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("focusable")]
Focusable,
///
/// focused
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("focused")]
Focused,
///
/// hidden
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hidden")]
Hidden,
///
/// hiddenRoot
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hiddenRoot")]
HiddenRoot,
///
/// invalid
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("invalid")]
Invalid,
///
/// keyshortcuts
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyshortcuts")]
Keyshortcuts,
///
/// settable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("settable")]
Settable,
///
/// roledescription
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("roledescription")]
Roledescription,
///
/// live
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("live")]
Live,
///
/// atomic
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("atomic")]
Atomic,
///
/// relevant
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("relevant")]
Relevant,
///
/// root
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("root")]
Root,
///
/// autocomplete
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("autocomplete")]
Autocomplete,
///
/// hasPopup
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPopup")]
HasPopup,
///
/// level
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("level")]
Level,
///
/// multiselectable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("multiselectable")]
Multiselectable,
///
/// orientation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("orientation")]
Orientation,
///
/// multiline
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("multiline")]
Multiline,
///
/// readonly
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("readonly")]
Readonly,
///
/// required
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("required")]
Required,
///
/// valuemin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valuemin")]
Valuemin,
///
/// valuemax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valuemax")]
Valuemax,
///
/// valuetext
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valuetext")]
Valuetext,
///
/// checked
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("checked")]
Checked,
///
/// expanded
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("expanded")]
Expanded,
///
/// modal
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("modal")]
Modal,
///
/// pressed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pressed")]
Pressed,
///
/// selected
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selected")]
Selected,
///
/// activedescendant
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("activedescendant")]
Activedescendant,
///
/// controls
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("controls")]
Controls,
///
/// describedby
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("describedby")]
Describedby,
///
/// details
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("details")]
Details,
///
/// errormessage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errormessage")]
Errormessage,
///
/// flowto
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("flowto")]
Flowto,
///
/// labelledby
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("labelledby")]
Labelledby,
///
/// owns
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("owns")]
Owns
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// A node in the accessibility tree.
///
public class AXNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Unique identifier for this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeId
{
get;
set;
}
///
/// Whether this node is ignored for accessibility
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ignored")]
public bool Ignored
{
get;
set;
}
///
/// Collection of reasons why this node is hidden.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ignoredReasons")]
public System.Collections.Generic.IList IgnoredReasons
{
get;
set;
}
///
/// This `Node`'s role, whether explicit or implicit.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("role")]
public CefSharp.DevTools.Accessibility.AXValue Role
{
get;
set;
}
///
/// The accessible name for this `Node`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public CefSharp.DevTools.Accessibility.AXValue Name
{
get;
set;
}
///
/// The accessible description for this `Node`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("description")]
public CefSharp.DevTools.Accessibility.AXValue Description
{
get;
set;
}
///
/// The value for this `Node`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Accessibility.AXValue Value
{
get;
set;
}
///
/// All other properties
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")]
public System.Collections.Generic.IList Properties
{
get;
set;
}
///
/// IDs for each of this node's child nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childIds")]
public string[] ChildIds
{
get;
set;
}
///
/// The backend ID for the associated DOM node, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendDOMNodeId")]
public int? BackendDOMNodeId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// Animation instance.
///
public class Animation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// `Animation`'s id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Id
{
get;
set;
}
///
/// `Animation`'s name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// `Animation`'s internal paused state.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pausedState")]
public bool PausedState
{
get;
set;
}
///
/// `Animation`'s play state.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("playState")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PlayState
{
get;
set;
}
///
/// `Animation`'s playback rate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("playbackRate")]
public long PlaybackRate
{
get;
set;
}
///
/// `Animation`'s start time.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startTime")]
public long StartTime
{
get;
set;
}
///
/// `Animation`'s current time.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")]
public long CurrentTime
{
get;
set;
}
///
/// Animation type of `Animation`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// `Animation`'s source animation node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("source")]
public CefSharp.DevTools.Animation.AnimationEffect Source
{
get;
set;
}
///
/// A unique ID for `Animation` representing the sources that triggered this CSS
/// animation/transition.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cssId")]
public string CssId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// AnimationEffect instance
///
public class AnimationEffect : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// `AnimationEffect`'s delay.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("delay")]
public long Delay
{
get;
set;
}
///
/// `AnimationEffect`'s end delay.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endDelay")]
public long EndDelay
{
get;
set;
}
///
/// `AnimationEffect`'s iteration start.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("iterationStart")]
public long IterationStart
{
get;
set;
}
///
/// `AnimationEffect`'s iterations.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("iterations")]
public long Iterations
{
get;
set;
}
///
/// `AnimationEffect`'s iteration duration.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("duration")]
public long Duration
{
get;
set;
}
///
/// `AnimationEffect`'s playback direction.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("direction")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Direction
{
get;
set;
}
///
/// `AnimationEffect`'s fill mode.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fill")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Fill
{
get;
set;
}
///
/// `AnimationEffect`'s target node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int? BackendNodeId
{
get;
set;
}
///
/// `AnimationEffect`'s keyframes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframesRule")]
public CefSharp.DevTools.Animation.KeyframesRule KeyframesRule
{
get;
set;
}
///
/// `AnimationEffect`'s timing function.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("easing")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Easing
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// Keyframes Rule
///
public class KeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// CSS keyframed animation's name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public string Name
{
get;
set;
}
///
/// List of animation keyframes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Keyframes
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// Keyframe Style
///
public class KeyframeStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Keyframe's time offset.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Offset
{
get;
set;
}
///
/// `AnimationEffect`'s timing function.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("easing")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Easing
{
get;
set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// Detailed application cache resource information.
///
public class ApplicationCacheResource : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Resource url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Resource size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public int Size
{
get;
set;
}
///
/// Resource type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// Detailed application cache information.
///
public class ApplicationCache : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Manifest URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ManifestURL
{
get;
set;
}
///
/// Application cache size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public long Size
{
get;
set;
}
///
/// Application cache creation time.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("creationTime")]
public long CreationTime
{
get;
set;
}
///
/// Application cache update time.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("updateTime")]
public long UpdateTime
{
get;
set;
}
///
/// Application cache resources.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resources")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Resources
{
get;
set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// Frame identifier - manifest URL pair.
///
public class FrameWithManifest : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Frame identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FrameId
{
get;
set;
}
///
/// Manifest URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ManifestURL
{
get;
set;
}
///
/// Application cache status.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
public int Status
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// Information about a cookie that is affected by an inspector issue.
///
public class AffectedCookie : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The following three properties uniquely identify a cookie
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Path
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("path")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Path
{
get;
set;
}
///
/// Domain
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Domain
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// Information about a request that is affected by an inspector issue.
///
public class AffectedRequest : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The unique request id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RequestId
{
get;
set;
}
///
/// Url
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
public string Url
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// Information about the frame affected by an inspector issue.
///
public class AffectedFrame : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// FrameId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FrameId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// SameSiteCookieExclusionReason
///
public enum SameSiteCookieExclusionReason
{
///
/// ExcludeSameSiteUnspecifiedTreatedAsLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteUnspecifiedTreatedAsLax")]
ExcludeSameSiteUnspecifiedTreatedAsLax,
///
/// ExcludeSameSiteNoneInsecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteNoneInsecure")]
ExcludeSameSiteNoneInsecure,
///
/// ExcludeSameSiteLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteLax")]
ExcludeSameSiteLax,
///
/// ExcludeSameSiteStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ExcludeSameSiteStrict")]
ExcludeSameSiteStrict
}
}
namespace CefSharp.DevTools.Audits
{
///
/// SameSiteCookieWarningReason
///
public enum SameSiteCookieWarningReason
{
///
/// WarnSameSiteUnspecifiedCrossSiteContext
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteUnspecifiedCrossSiteContext")]
WarnSameSiteUnspecifiedCrossSiteContext,
///
/// WarnSameSiteNoneInsecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteNoneInsecure")]
WarnSameSiteNoneInsecure,
///
/// WarnSameSiteUnspecifiedLaxAllowUnsafe
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteUnspecifiedLaxAllowUnsafe")]
WarnSameSiteUnspecifiedLaxAllowUnsafe,
///
/// WarnSameSiteStrictLaxDowngradeStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictLaxDowngradeStrict")]
WarnSameSiteStrictLaxDowngradeStrict,
///
/// WarnSameSiteStrictCrossDowngradeStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictCrossDowngradeStrict")]
WarnSameSiteStrictCrossDowngradeStrict,
///
/// WarnSameSiteStrictCrossDowngradeLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteStrictCrossDowngradeLax")]
WarnSameSiteStrictCrossDowngradeLax,
///
/// WarnSameSiteLaxCrossDowngradeStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteLaxCrossDowngradeStrict")]
WarnSameSiteLaxCrossDowngradeStrict,
///
/// WarnSameSiteLaxCrossDowngradeLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WarnSameSiteLaxCrossDowngradeLax")]
WarnSameSiteLaxCrossDowngradeLax
}
}
namespace CefSharp.DevTools.Audits
{
///
/// SameSiteCookieOperation
///
public enum SameSiteCookieOperation
{
///
/// SetCookie
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SetCookie")]
SetCookie,
///
/// ReadCookie
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ReadCookie")]
ReadCookie
}
}
namespace CefSharp.DevTools.Audits
{
///
/// This information is currently necessary, as the front-end has a difficult
/// time finding a specific cookie. With this, we can convey specific error
/// information without the cookie.
///
public class SameSiteCookieIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Cookie
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Audits.AffectedCookie Cookie
{
get;
set;
}
///
/// CookieWarningReasons
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieWarningReasons")]
public CefSharp.DevTools.Audits.SameSiteCookieWarningReason[] CookieWarningReasons
{
get;
set;
}
///
/// CookieExclusionReasons
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieExclusionReasons")]
public CefSharp.DevTools.Audits.SameSiteCookieExclusionReason[] CookieExclusionReasons
{
get;
set;
}
///
/// Optionally identifies the site-for-cookies and the cookie url, which
/// may be used by the front-end as additional context.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("operation")]
public CefSharp.DevTools.Audits.SameSiteCookieOperation Operation
{
get;
set;
}
///
/// SiteForCookies
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("siteForCookies")]
public string SiteForCookies
{
get;
set;
}
///
/// CookieUrl
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieUrl")]
public string CookieUrl
{
get;
set;
}
///
/// Request
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("request")]
public CefSharp.DevTools.Audits.AffectedRequest Request
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// MixedContentResolutionStatus
///
public enum MixedContentResolutionStatus
{
///
/// MixedContentBlocked
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentBlocked")]
MixedContentBlocked,
///
/// MixedContentAutomaticallyUpgraded
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentAutomaticallyUpgraded")]
MixedContentAutomaticallyUpgraded,
///
/// MixedContentWarning
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentWarning")]
MixedContentWarning
}
}
namespace CefSharp.DevTools.Audits
{
///
/// MixedContentResourceType
///
public enum MixedContentResourceType
{
///
/// Audio
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Audio")]
Audio,
///
/// Beacon
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Beacon")]
Beacon,
///
/// CSPReport
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CSPReport")]
CSPReport,
///
/// Download
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Download")]
Download,
///
/// EventSource
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("EventSource")]
EventSource,
///
/// Favicon
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Favicon")]
Favicon,
///
/// Font
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Font")]
Font,
///
/// Form
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Form")]
Form,
///
/// Frame
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Frame")]
Frame,
///
/// Image
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Image")]
Image,
///
/// Import
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Import")]
Import,
///
/// Manifest
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Manifest")]
Manifest,
///
/// Ping
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Ping")]
Ping,
///
/// PluginData
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("PluginData")]
PluginData,
///
/// PluginResource
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("PluginResource")]
PluginResource,
///
/// Prefetch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Prefetch")]
Prefetch,
///
/// Resource
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Resource")]
Resource,
///
/// Script
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Script")]
Script,
///
/// ServiceWorker
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ServiceWorker")]
ServiceWorker,
///
/// SharedWorker
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SharedWorker")]
SharedWorker,
///
/// Stylesheet
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Stylesheet")]
Stylesheet,
///
/// Track
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Track")]
Track,
///
/// Video
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Video")]
Video,
///
/// Worker
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Worker")]
Worker,
///
/// XMLHttpRequest
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("XMLHttpRequest")]
XMLHttpRequest,
///
/// XSLT
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("XSLT")]
XSLT
}
}
namespace CefSharp.DevTools.Audits
{
///
/// MixedContentIssueDetails
///
public class MixedContentIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The type of resource causing the mixed content issue (css, js, iframe,
/// form,...). Marked as optional because it is mapped to from
/// blink::mojom::RequestContextType, which will be replaced
/// by network::mojom::RequestDestination
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")]
public CefSharp.DevTools.Audits.MixedContentResourceType? ResourceType
{
get;
set;
}
///
/// The way the mixed content issue is being resolved.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resolutionStatus")]
public CefSharp.DevTools.Audits.MixedContentResolutionStatus ResolutionStatus
{
get;
set;
}
///
/// The unsafe http url causing the mixed content issue.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("insecureURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string InsecureURL
{
get;
set;
}
///
/// The url responsible for the call to an unsafe url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mainResourceURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string MainResourceURL
{
get;
set;
}
///
/// The mixed content request.
/// Does not always exist (e.g. for unsafe form submission urls).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("request")]
public CefSharp.DevTools.Audits.AffectedRequest Request
{
get;
set;
}
///
/// Optional because not every mixed content issue is necessarily linked to a frame.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")]
public CefSharp.DevTools.Audits.AffectedFrame Frame
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// Enum indicating the reason a response has been blocked. These reasons are
/// refinements of the net error BLOCKED_BY_RESPONSE.
///
public enum BlockedByResponseReason
{
///
/// CoepFrameResourceNeedsCoepHeader
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CoepFrameResourceNeedsCoepHeader")]
CoepFrameResourceNeedsCoepHeader,
///
/// CoopSandboxedIFrameCannotNavigateToCoopPage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CoopSandboxedIFrameCannotNavigateToCoopPage")]
CoopSandboxedIFrameCannotNavigateToCoopPage,
///
/// CorpNotSameOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameOrigin")]
CorpNotSameOrigin,
///
/// CorpNotSameOriginAfterDefaultedToSameOriginByCoep
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameOriginAfterDefaultedToSameOriginByCoep")]
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
///
/// CorpNotSameSite
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CorpNotSameSite")]
CorpNotSameSite
}
}
namespace CefSharp.DevTools.Audits
{
///
/// Details for a request that has been blocked with the BLOCKED_BY_RESPONSE
/// code. Currently only used for COEP/COOP, but may be extended to include
/// some CSP errors in the future.
///
public class BlockedByResponseIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Request
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("request")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Audits.AffectedRequest Request
{
get;
set;
}
///
/// ParentFrame
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentFrame")]
public CefSharp.DevTools.Audits.AffectedFrame ParentFrame
{
get;
set;
}
///
/// BlockedFrame
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedFrame")]
public CefSharp.DevTools.Audits.AffectedFrame BlockedFrame
{
get;
set;
}
///
/// Reason
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")]
public CefSharp.DevTools.Audits.BlockedByResponseReason Reason
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// HeavyAdResolutionStatus
///
public enum HeavyAdResolutionStatus
{
///
/// HeavyAdBlocked
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdBlocked")]
HeavyAdBlocked,
///
/// HeavyAdWarning
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdWarning")]
HeavyAdWarning
}
}
namespace CefSharp.DevTools.Audits
{
///
/// HeavyAdReason
///
public enum HeavyAdReason
{
///
/// NetworkTotalLimit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NetworkTotalLimit")]
NetworkTotalLimit,
///
/// CpuTotalLimit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CpuTotalLimit")]
CpuTotalLimit,
///
/// CpuPeakLimit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CpuPeakLimit")]
CpuPeakLimit
}
}
namespace CefSharp.DevTools.Audits
{
///
/// HeavyAdIssueDetails
///
public class HeavyAdIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The resolution status, either blocking the content or warning.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resolution")]
public CefSharp.DevTools.Audits.HeavyAdResolutionStatus Resolution
{
get;
set;
}
///
/// The reason the ad was blocked, total network or cpu or peak cpu.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reason")]
public CefSharp.DevTools.Audits.HeavyAdReason Reason
{
get;
set;
}
///
/// The frame that was blocked.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Audits.AffectedFrame Frame
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// ContentSecurityPolicyViolationType
///
public enum ContentSecurityPolicyViolationType
{
///
/// kInlineViolation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("kInlineViolation")]
KInlineViolation,
///
/// kEvalViolation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("kEvalViolation")]
KEvalViolation,
///
/// kURLViolation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("kURLViolation")]
KURLViolation,
///
/// kTrustedTypesSinkViolation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("kTrustedTypesSinkViolation")]
KTrustedTypesSinkViolation,
///
/// kTrustedTypesPolicyViolation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("kTrustedTypesPolicyViolation")]
KTrustedTypesPolicyViolation
}
}
namespace CefSharp.DevTools.Audits
{
///
/// SourceCodeLocation
///
public class SourceCodeLocation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Url
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// LineNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// ColumnNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// ContentSecurityPolicyIssueDetails
///
public class ContentSecurityPolicyIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The url not included in allowed sources.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedURL")]
public string BlockedURL
{
get;
set;
}
///
/// Specific directive that is violated, causing the CSP issue.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("violatedDirective")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ViolatedDirective
{
get;
set;
}
///
/// ContentSecurityPolicyViolationType
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSecurityPolicyViolationType")]
public CefSharp.DevTools.Audits.ContentSecurityPolicyViolationType ContentSecurityPolicyViolationType
{
get;
set;
}
///
/// FrameAncestor
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameAncestor")]
public CefSharp.DevTools.Audits.AffectedFrame FrameAncestor
{
get;
set;
}
///
/// SourceCodeLocation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceCodeLocation")]
public CefSharp.DevTools.Audits.SourceCodeLocation SourceCodeLocation
{
get;
set;
}
///
/// ViolatingNodeId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("violatingNodeId")]
public int? ViolatingNodeId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// A unique identifier for the type of issue. Each type may use one of the
/// optional fields in InspectorIssueDetails to convey more specific
/// information about the kind of issue.
///
public enum InspectorIssueCode
{
///
/// SameSiteCookieIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteCookieIssue")]
SameSiteCookieIssue,
///
/// MixedContentIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("MixedContentIssue")]
MixedContentIssue,
///
/// BlockedByResponseIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByResponseIssue")]
BlockedByResponseIssue,
///
/// HeavyAdIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("HeavyAdIssue")]
HeavyAdIssue,
///
/// ContentSecurityPolicyIssue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ContentSecurityPolicyIssue")]
ContentSecurityPolicyIssue
}
}
namespace CefSharp.DevTools.Audits
{
///
/// This struct holds a list of optional fields with additional information
/// specific to the kind of issue. When adding a new issue code, please also
/// add a new optional field to this type.
///
public class InspectorIssueDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// SameSiteCookieIssueDetails
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sameSiteCookieIssueDetails")]
public CefSharp.DevTools.Audits.SameSiteCookieIssueDetails SameSiteCookieIssueDetails
{
get;
set;
}
///
/// MixedContentIssueDetails
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentIssueDetails")]
public CefSharp.DevTools.Audits.MixedContentIssueDetails MixedContentIssueDetails
{
get;
set;
}
///
/// BlockedByResponseIssueDetails
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedByResponseIssueDetails")]
public CefSharp.DevTools.Audits.BlockedByResponseIssueDetails BlockedByResponseIssueDetails
{
get;
set;
}
///
/// HeavyAdIssueDetails
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("heavyAdIssueDetails")]
public CefSharp.DevTools.Audits.HeavyAdIssueDetails HeavyAdIssueDetails
{
get;
set;
}
///
/// ContentSecurityPolicyIssueDetails
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSecurityPolicyIssueDetails")]
public CefSharp.DevTools.Audits.ContentSecurityPolicyIssueDetails ContentSecurityPolicyIssueDetails
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// An inspector issue reported from the back-end.
///
public class InspectorIssue : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Code
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("code")]
public CefSharp.DevTools.Audits.InspectorIssueCode Code
{
get;
set;
}
///
/// Details
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("details")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Audits.InspectorIssueDetails Details
{
get;
set;
}
}
}
namespace CefSharp.DevTools.BackgroundService
{
///
/// The Background Service that will be associated with the commands/events.
/// Every Background Service operates independently, but they share the same
/// API.
///
public enum ServiceName
{
///
/// backgroundFetch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundFetch")]
BackgroundFetch,
///
/// backgroundSync
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundSync")]
BackgroundSync,
///
/// pushMessaging
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pushMessaging")]
PushMessaging,
///
/// notifications
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("notifications")]
Notifications,
///
/// paymentHandler
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paymentHandler")]
PaymentHandler,
///
/// periodicBackgroundSync
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("periodicBackgroundSync")]
PeriodicBackgroundSync
}
}
namespace CefSharp.DevTools.BackgroundService
{
///
/// A key-value pair for additional event information to pass along.
///
public class EventMetadata : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Key
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("key")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Key
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.BackgroundService
{
///
/// BackgroundServiceEvent
///
public class BackgroundServiceEvent : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Timestamp of the event (in seconds).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long Timestamp
{
get;
set;
}
///
/// The origin this event belongs to.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Origin
{
get;
set;
}
///
/// The Service Worker ID that initiated the event.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("serviceWorkerRegistrationId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ServiceWorkerRegistrationId
{
get;
set;
}
///
/// The Background Service this event belongs to.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("service")]
public CefSharp.DevTools.BackgroundService.ServiceName Service
{
get;
set;
}
///
/// A description of the event.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("eventName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string EventName
{
get;
set;
}
///
/// An identifier that groups related events together.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("instanceId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string InstanceId
{
get;
set;
}
///
/// A list of event-specific information.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("eventMetadata")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList EventMetadata
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// The state of the browser window.
///
public enum WindowState
{
///
/// normal
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("normal")]
Normal,
///
/// minimized
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minimized")]
Minimized,
///
/// maximized
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maximized")]
Maximized,
///
/// fullscreen
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fullscreen")]
Fullscreen
}
}
namespace CefSharp.DevTools.Browser
{
///
/// Browser window bounds information
///
public class Bounds : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The offset from the left edge of the screen to the window in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("left")]
public int? Left
{
get;
set;
}
///
/// The offset from the top edge of the screen to the window in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("top")]
public int? Top
{
get;
set;
}
///
/// The window width in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public int? Width
{
get;
set;
}
///
/// The window height in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public int? Height
{
get;
set;
}
///
/// The window state. Default to normal.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("windowState")]
public CefSharp.DevTools.Browser.WindowState? WindowState
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// PermissionType
///
public enum PermissionType
{
///
/// accessibilityEvents
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("accessibilityEvents")]
AccessibilityEvents,
///
/// audioCapture
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("audioCapture")]
AudioCapture,
///
/// backgroundSync
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundSync")]
BackgroundSync,
///
/// backgroundFetch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundFetch")]
BackgroundFetch,
///
/// clipboardReadWrite
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboardReadWrite")]
ClipboardReadWrite,
///
/// clipboardSanitizedWrite
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clipboardSanitizedWrite")]
ClipboardSanitizedWrite,
///
/// durableStorage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("durableStorage")]
DurableStorage,
///
/// flash
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("flash")]
Flash,
///
/// geolocation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("geolocation")]
Geolocation,
///
/// midi
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("midi")]
Midi,
///
/// midiSysex
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("midiSysex")]
MidiSysex,
///
/// nfc
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nfc")]
Nfc,
///
/// notifications
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("notifications")]
Notifications,
///
/// paymentHandler
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paymentHandler")]
PaymentHandler,
///
/// periodicBackgroundSync
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("periodicBackgroundSync")]
PeriodicBackgroundSync,
///
/// protectedMediaIdentifier
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protectedMediaIdentifier")]
ProtectedMediaIdentifier,
///
/// sensors
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sensors")]
Sensors,
///
/// videoCapture
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("videoCapture")]
VideoCapture,
///
/// idleDetection
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("idleDetection")]
IdleDetection,
///
/// wakeLockScreen
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wakeLockScreen")]
WakeLockScreen,
///
/// wakeLockSystem
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wakeLockSystem")]
WakeLockSystem
}
}
namespace CefSharp.DevTools.Browser
{
///
/// PermissionSetting
///
public enum PermissionSetting
{
///
/// granted
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("granted")]
Granted,
///
/// denied
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("denied")]
Denied,
///
/// prompt
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("prompt")]
Prompt
}
}
namespace CefSharp.DevTools.Browser
{
///
/// Definition of PermissionDescriptor defined in the Permissions API:
/// https://w3c.github.io/permissions/#dictdef-permissiondescriptor.
///
public class PermissionDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name of permission.
/// See https://cs.chromium.org/chromium/src/third_party/blink/renderer/modules/permissions/permission_descriptor.idl for valid permission names.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// For "midi" permission, may also specify sysex control.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sysex")]
public bool? Sysex
{
get;
set;
}
///
/// For "push" permission, may specify userVisibleOnly.
/// Note that userVisibleOnly = true is the only currently supported type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("userVisibleOnly")]
public bool? UserVisibleOnly
{
get;
set;
}
///
/// For "clipboard" permission, may specify allowWithoutSanitization.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("allowWithoutSanitization")]
public bool? AllowWithoutSanitization
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// Chrome histogram bucket.
///
public class Bucket : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Minimum value (inclusive).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("low")]
public int Low
{
get;
set;
}
///
/// Maximum value (exclusive).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("high")]
public int High
{
get;
set;
}
///
/// Number of samples.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("count")]
public int Count
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// Chrome histogram.
///
public class Histogram : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Sum of sample values.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sum")]
public int Sum
{
get;
set;
}
///
/// Total number of samples.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("count")]
public int Count
{
get;
set;
}
///
/// Buckets.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("buckets")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Buckets
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Stylesheet type: "injected" for stylesheets injected via extension, "user-agent" for user-agent
/// stylesheets, "inspector" for stylesheets created by the inspector (i.e. those holding the "via
/// inspector" rules), "regular" for regular stylesheets.
///
public enum StyleSheetOrigin
{
///
/// injected
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("injected")]
Injected,
///
/// user-agent
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("user-agent")]
UserAgent,
///
/// inspector
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inspector")]
Inspector,
///
/// regular
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("regular")]
Regular
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS rule collection for a single pseudo style.
///
public class PseudoElementMatches : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Pseudo element type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")]
public CefSharp.DevTools.DOM.PseudoType PseudoType
{
get;
set;
}
///
/// Matches of CSS rules applicable to the pseudo style.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("matches")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Matches
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Inherited CSS rule collection from ancestor node.
///
public class InheritedStyleEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The ancestor node's inline style, if any, in the style inheritance chain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")]
public CefSharp.DevTools.CSS.CSSStyle InlineStyle
{
get;
set;
}
///
/// Matches of CSS rules matching the ancestor node in the style inheritance chain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("matchedCSSRules")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList MatchedCSSRules
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Match data for a CSS rule.
///
public class RuleMatch : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// CSS rule in the match.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rule")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.CSSRule Rule
{
get;
set;
}
///
/// Matching selector indices in the rule's selectorList selectors (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("matchingSelectors")]
public int[] MatchingSelectors
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Data for a simple selector (these are delimited by commas in a selector list).
///
public class Value : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Value text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
///
/// Value range in the underlying resource (if available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Selector list data.
///
public class SelectorList : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Selectors in the list.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selectors")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Selectors
{
get;
set;
}
///
/// Rule selector text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS stylesheet metainformation.
///
public class CSSStyleSheetHeader : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The stylesheet identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string StyleSheetId
{
get;
set;
}
///
/// Owner frame identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FrameId
{
get;
set;
}
///
/// Stylesheet resource URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SourceURL
{
get;
set;
}
///
/// URL of source map associated with the stylesheet (if any).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")]
public string SourceMapURL
{
get;
set;
}
///
/// Stylesheet origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
public CefSharp.DevTools.CSS.StyleSheetOrigin Origin
{
get;
set;
}
///
/// Stylesheet title.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Title
{
get;
set;
}
///
/// The backend id for the owner node of the stylesheet.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ownerNode")]
public int? OwnerNode
{
get;
set;
}
///
/// Denotes whether the stylesheet is disabled.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")]
public bool Disabled
{
get;
set;
}
///
/// Whether the sourceURL field value comes from the sourceURL comment.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hasSourceURL")]
public bool? HasSourceURL
{
get;
set;
}
///
/// Whether this stylesheet is created for STYLE tag by parser. This flag is not set for
/// document.written STYLE tags.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isInline")]
public bool IsInline
{
get;
set;
}
///
/// Whether this stylesheet is mutable. Inline stylesheets become mutable
/// after they have been modified via CSSOM API.
/// <link> element's stylesheets become mutable only if DevTools modifies them.
/// Constructed stylesheets (new CSSStyleSheet()) are mutable immediately after creation.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isMutable")]
public bool IsMutable
{
get;
set;
}
///
/// Whether this stylesheet is a constructed stylesheet (created using new CSSStyleSheet()).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isConstructed")]
public bool IsConstructed
{
get;
set;
}
///
/// Line offset of the stylesheet within the resource (zero based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")]
public long StartLine
{
get;
set;
}
///
/// Column offset of the stylesheet within the resource (zero based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")]
public long StartColumn
{
get;
set;
}
///
/// Size of the content (in characters).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("length")]
public long Length
{
get;
set;
}
///
/// Line offset of the end of the stylesheet within the resource (zero based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")]
public long EndLine
{
get;
set;
}
///
/// Column offset of the end of the stylesheet within the resource (zero based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")]
public long EndColumn
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS rule representation.
///
public class CSSRule : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The css style sheet identifier (absent for user agent stylesheet and user-specified
/// stylesheet rules) this rule came from.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
public string StyleSheetId
{
get;
set;
}
///
/// Rule selector data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selectorList")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.SelectorList SelectorList
{
get;
set;
}
///
/// Parent stylesheet's origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
public CefSharp.DevTools.CSS.StyleSheetOrigin Origin
{
get;
set;
}
///
/// Associated style declaration.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("style")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.CSSStyle Style
{
get;
set;
}
///
/// Media list array (for rules involving media queries). The array enumerates media queries
/// starting with the innermost one, going outwards.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("media")]
public System.Collections.Generic.IList Media
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS coverage information.
///
public class RuleUsage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The css style sheet identifier (absent for user agent stylesheet and user-specified
/// stylesheet rules) this rule came from.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string StyleSheetId
{
get;
set;
}
///
/// Offset of the start of the rule (including selector) from the beginning of the stylesheet.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startOffset")]
public long StartOffset
{
get;
set;
}
///
/// Offset of the end of the rule body from the beginning of the stylesheet.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endOffset")]
public long EndOffset
{
get;
set;
}
///
/// Indicates whether the rule was actually used by some element in the page.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("used")]
public bool Used
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Text range within a resource. All numbers are zero-based.
///
public class SourceRange : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Start line of range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startLine")]
public int StartLine
{
get;
set;
}
///
/// Start column of range (inclusive).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startColumn")]
public int StartColumn
{
get;
set;
}
///
/// End line of range
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endLine")]
public int EndLine
{
get;
set;
}
///
/// End column of range (exclusive).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endColumn")]
public int EndColumn
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// ShorthandEntry
///
public class ShorthandEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Shorthand name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Shorthand value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
///
/// Whether the property has "!important" annotation (implies `false` if absent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("important")]
public bool? Important
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSSComputedStyleProperty
///
public class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Computed style property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Computed style property value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS style representation.
///
public class CSSStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The css style sheet identifier (absent for user agent stylesheet and user-specified
/// stylesheet rules) this rule came from.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
public string StyleSheetId
{
get;
set;
}
///
/// CSS properties in the style.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cssProperties")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList CssProperties
{
get;
set;
}
///
/// Computed values for all shorthands found in the style.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shorthandEntries")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ShorthandEntries
{
get;
set;
}
///
/// Style declaration text (if available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cssText")]
public string CssText
{
get;
set;
}
///
/// Style declaration range in the enclosing stylesheet (if available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS property declaration data.
///
public class CSSProperty : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// The property value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
///
/// Whether the property has "!important" annotation (implies `false` if absent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("important")]
public bool? Important
{
get;
set;
}
///
/// Whether the property is implicit (implies `false` if absent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("implicit")]
public bool? Implicit
{
get;
set;
}
///
/// The full property text as specified in the style.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
public string Text
{
get;
set;
}
///
/// Whether the property is understood by the browser (implies `true` if absent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parsedOk")]
public bool? ParsedOk
{
get;
set;
}
///
/// Whether the property is disabled by the user (present for source-based properties only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("disabled")]
public bool? Disabled
{
get;
set;
}
///
/// The entire property range in the enclosing style declaration (if available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS media rule descriptor.
///
public class CSSMedia : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Media query text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
///
/// Source of the media query: "mediaRule" if specified by a @media rule, "importRule" if
/// specified by an @import rule, "linkedSheet" if specified by a "media" attribute in a linked
/// stylesheet's LINK tag, "inlineSheet" if specified by a "media" attribute in an inline
/// stylesheet's STYLE tag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("source")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Source
{
get;
set;
}
///
/// URL of the document containing the media query description.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")]
public string SourceURL
{
get;
set;
}
///
/// The associated rule (@media or @import) header range in the enclosing stylesheet (if
/// available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
///
/// Identifier of the stylesheet containing this object (if exists).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
public string StyleSheetId
{
get;
set;
}
///
/// Array of media queries.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mediaList")]
public System.Collections.Generic.IList MediaList
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Media query descriptor.
///
public class MediaQuery : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Array of media query expressions.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("expressions")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Expressions
{
get;
set;
}
///
/// Whether the media query condition is satisfied.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("active")]
public bool Active
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Media query expression descriptor.
///
public class MediaQueryExpression : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Media query expression value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public long Value
{
get;
set;
}
///
/// Media query expression units.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unit")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Unit
{
get;
set;
}
///
/// Media query expression feature.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("feature")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Feature
{
get;
set;
}
///
/// The associated range of the value text in the enclosing stylesheet (if available).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valueRange")]
public CefSharp.DevTools.CSS.SourceRange ValueRange
{
get;
set;
}
///
/// Computed length of media query expression (if applicable).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("computedLength")]
public long? ComputedLength
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Information about amount of glyphs that were rendered with given font.
///
public class PlatformFontUsage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Font's family name reported by platform.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("familyName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FamilyName
{
get;
set;
}
///
/// Indicates if the font was downloaded or resolved locally.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isCustomFont")]
public bool IsCustomFont
{
get;
set;
}
///
/// Amount of glyphs that were rendered with this font.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("glyphCount")]
public long GlyphCount
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Information about font variation axes for variable fonts
///
public class FontVariationAxis : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The font-variation-setting tag (a.k.a. "axis tag").
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("tag")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Tag
{
get;
set;
}
///
/// Human-readable variation name in the default language (normally, "en").
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// The minimum value (inclusive) the font supports for this tag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minValue")]
public long MinValue
{
get;
set;
}
///
/// The maximum value (inclusive) the font supports for this tag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxValue")]
public long MaxValue
{
get;
set;
}
///
/// The default value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("defaultValue")]
public long DefaultValue
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// Properties of a web font: https://www.w3.org/TR/2008/REC-CSS2-20080411/fonts.html#font-descriptions
/// and additional information such as platformFontFamily and fontVariationAxes.
///
public class FontFace : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontFamily")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FontFamily
{
get;
set;
}
///
/// The font-style.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontStyle")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FontStyle
{
get;
set;
}
///
/// The font-variant.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontVariant")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FontVariant
{
get;
set;
}
///
/// The font-weight.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontWeight")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FontWeight
{
get;
set;
}
///
/// The font-stretch.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontStretch")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FontStretch
{
get;
set;
}
///
/// The unicode-range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unicodeRange")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string UnicodeRange
{
get;
set;
}
///
/// The src.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("src")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Src
{
get;
set;
}
///
/// The resolved platform font family
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("platformFontFamily")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PlatformFontFamily
{
get;
set;
}
///
/// Available variation settings (a.k.a. "axes").
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fontVariationAxes")]
public System.Collections.Generic.IList FontVariationAxes
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS keyframes rule representation.
///
public class CSSKeyframesRule : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Animation name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("animationName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.Value AnimationName
{
get;
set;
}
///
/// List of keyframes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyframes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Keyframes
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CSS keyframe rule representation.
///
public class CSSKeyframeRule : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The css style sheet identifier (absent for user agent stylesheet and user-specified
/// stylesheet rules) this rule came from.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
public string StyleSheetId
{
get;
set;
}
///
/// Parent stylesheet's origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
public CefSharp.DevTools.CSS.StyleSheetOrigin Origin
{
get;
set;
}
///
/// Associated key text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyText")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.Value KeyText
{
get;
set;
}
///
/// Associated style declaration.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("style")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.CSSStyle Style
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// A descriptor of operation to mutate style declaration text.
///
public class StyleDeclarationEdit : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The css style sheet identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string StyleSheetId
{
get;
set;
}
///
/// The range of the style text in the enclosing stylesheet.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("range")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.CSS.SourceRange Range
{
get;
set;
}
///
/// New style text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// type of HTTP response cached
///
public enum CachedResponseType
{
///
/// basic
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("basic")]
Basic,
///
/// cors
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cors")]
Cors,
///
/// default
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("default")]
Default,
///
/// error
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("error")]
Error,
///
/// opaqueResponse
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("opaqueResponse")]
OpaqueResponse,
///
/// opaqueRedirect
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("opaqueRedirect")]
OpaqueRedirect
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// Data entry.
///
public class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Request URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RequestURL
{
get;
set;
}
///
/// Request method.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestMethod")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RequestMethod
{
get;
set;
}
///
/// Request headers
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList RequestHeaders
{
get;
set;
}
///
/// Number of seconds since epoch.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseTime")]
public long ResponseTime
{
get;
set;
}
///
/// HTTP response status code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatus")]
public int ResponseStatus
{
get;
set;
}
///
/// HTTP response status text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseStatusText")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ResponseStatusText
{
get;
set;
}
///
/// HTTP response type
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseType")]
public CefSharp.DevTools.CacheStorage.CachedResponseType ResponseType
{
get;
set;
}
///
/// Response headers
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ResponseHeaders
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// Cache identifier.
///
public class Cache : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// An opaque unique id of the cache.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string CacheId
{
get;
set;
}
///
/// Security origin of the cache.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SecurityOrigin
{
get;
set;
}
///
/// The name of the cache.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string CacheName
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// Header
///
public class Header : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// Cached response
///
public class CachedResponse : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Entry content, base64-encoded.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("body")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public byte[] Body
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Cast
{
///
/// Sink
///
public class Sink : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Id
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Id
{
get;
set;
}
///
/// Text describing the current session. Present only if there is an active
/// session on the sink.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("session")]
public string Session
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// Backend node with a friendly name.
///
public class BackendNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// `Node`'s nodeType.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")]
public int NodeType
{
get;
set;
}
///
/// `Node`'s nodeName.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeName
{
get;
set;
}
///
/// BackendNodeId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int BackendNodeId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// Pseudo element type.
///
public enum PseudoType
{
///
/// first-line
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("first-line")]
FirstLine,
///
/// first-letter
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("first-letter")]
FirstLetter,
///
/// before
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("before")]
Before,
///
/// after
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("after")]
After,
///
/// marker
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("marker")]
Marker,
///
/// backdrop
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backdrop")]
Backdrop,
///
/// selection
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selection")]
Selection,
///
/// first-line-inherited
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("first-line-inherited")]
FirstLineInherited,
///
/// scrollbar
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar")]
Scrollbar,
///
/// scrollbar-thumb
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-thumb")]
ScrollbarThumb,
///
/// scrollbar-button
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-button")]
ScrollbarButton,
///
/// scrollbar-track
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-track")]
ScrollbarTrack,
///
/// scrollbar-track-piece
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-track-piece")]
ScrollbarTrackPiece,
///
/// scrollbar-corner
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollbar-corner")]
ScrollbarCorner,
///
/// resizer
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resizer")]
Resizer,
///
/// input-list-button
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("input-list-button")]
InputListButton
}
}
namespace CefSharp.DevTools.DOM
{
///
/// Shadow root type.
///
public enum ShadowRootType
{
///
/// user-agent
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("user-agent")]
UserAgent,
///
/// open
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("open")]
Open,
///
/// closed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("closed")]
Closed
}
}
namespace CefSharp.DevTools.DOM
{
///
/// DOM interaction is implemented in terms of mirror objects that represent the actual DOM nodes.
/// DOMNode is a base node mirror type.
///
public class Node : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Node identifier that is passed into the rest of the DOM messages as the `nodeId`. Backend
/// will only push node with given `id` once. It is aware of all requested nodes and will only
/// fire DOM events for nodes known to the client.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
public int NodeId
{
get;
set;
}
///
/// The id of the parent node if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")]
public int? ParentId
{
get;
set;
}
///
/// The BackendNodeId for this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int BackendNodeId
{
get;
set;
}
///
/// `Node`'s nodeType.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")]
public int NodeType
{
get;
set;
}
///
/// `Node`'s nodeName.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeName
{
get;
set;
}
///
/// `Node`'s localName.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("localName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LocalName
{
get;
set;
}
///
/// `Node`'s nodeValue.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeValue
{
get;
set;
}
///
/// Child count for `Container` nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childNodeCount")]
public int? ChildNodeCount
{
get;
set;
}
///
/// Child nodes of this node when requested with children.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("children")]
public System.Collections.Generic.IList Children
{
get;
set;
}
///
/// Attributes of the `Element` node in the form of flat array `[name1, value1, name2, value2]`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")]
public string[] Attributes
{
get;
set;
}
///
/// Document URL that `Document` or `FrameOwner` node points to.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")]
public string DocumentURL
{
get;
set;
}
///
/// Base URL that `Document` or `FrameOwner` node uses for URL completion.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")]
public string BaseURL
{
get;
set;
}
///
/// `DocumentType`'s publicId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")]
public string PublicId
{
get;
set;
}
///
/// `DocumentType`'s systemId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")]
public string SystemId
{
get;
set;
}
///
/// `DocumentType`'s internalSubset.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("internalSubset")]
public string InternalSubset
{
get;
set;
}
///
/// `Document`'s XML version in case of XML documents.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("xmlVersion")]
public string XmlVersion
{
get;
set;
}
///
/// `Attr`'s name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public string Name
{
get;
set;
}
///
/// `Attr`'s value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public string Value
{
get;
set;
}
///
/// Pseudo element type for this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")]
public CefSharp.DevTools.DOM.PseudoType? PseudoType
{
get;
set;
}
///
/// Shadow root type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")]
public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType
{
get;
set;
}
///
/// Frame ID for frame owner elements.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
public string FrameId
{
get;
set;
}
///
/// Content document for frame owner elements.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocument")]
public CefSharp.DevTools.DOM.Node ContentDocument
{
get;
set;
}
///
/// Shadow root list for given element host.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRoots")]
public System.Collections.Generic.IList ShadowRoots
{
get;
set;
}
///
/// Content document fragment for template elements.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("templateContent")]
public CefSharp.DevTools.DOM.Node TemplateContent
{
get;
set;
}
///
/// Pseudo elements associated with this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElements")]
public System.Collections.Generic.IList PseudoElements
{
get;
set;
}
///
/// Import document for the HTMLImport links.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("importedDocument")]
public CefSharp.DevTools.DOM.Node ImportedDocument
{
get;
set;
}
///
/// Distributed nodes for given insertion point.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("distributedNodes")]
public System.Collections.Generic.IList DistributedNodes
{
get;
set;
}
///
/// Whether the node is SVG.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isSVG")]
public bool? IsSVG
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// A structure holding an RGBA color.
///
public class RGBA : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The red component, in the [0-255] range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("r")]
public int R
{
get;
set;
}
///
/// The green component, in the [0-255] range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("g")]
public int G
{
get;
set;
}
///
/// The blue component, in the [0-255] range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("b")]
public int B
{
get;
set;
}
///
/// The alpha component, in the [0-1] range (default: 1).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("a")]
public long? A
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// Box model.
///
public class BoxModel : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Content box
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("content")]
public long[] Content
{
get;
set;
}
///
/// Padding box
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("padding")]
public long[] Padding
{
get;
set;
}
///
/// Border box
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("border")]
public long[] Border
{
get;
set;
}
///
/// Margin box
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("margin")]
public long[] Margin
{
get;
set;
}
///
/// Node width
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public int Width
{
get;
set;
}
///
/// Node height
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public int Height
{
get;
set;
}
///
/// Shape outside coordinates
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeOutside")]
public CefSharp.DevTools.DOM.ShapeOutsideInfo ShapeOutside
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// CSS Shape Outside details.
///
public class ShapeOutsideInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Shape bounds
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")]
public long[] Bounds
{
get;
set;
}
///
/// Shape coordinate details
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shape")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public object[] Shape
{
get;
set;
}
///
/// Margin shape bounds
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("marginShape")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public object[] MarginShape
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// Rectangle.
///
public class Rect : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// X coordinate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("x")]
public long X
{
get;
set;
}
///
/// Y coordinate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("y")]
public long Y
{
get;
set;
}
///
/// Rectangle width
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public long Width
{
get;
set;
}
///
/// Rectangle height
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public long Height
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOM
{
///
/// CSSComputedStyleProperty
///
public class CSSComputedStyleProperty : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Computed style property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Computed style property value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMDebugger
{
///
/// DOM breakpoint type.
///
public enum DOMBreakpointType
{
///
/// subtree-modified
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subtree-modified")]
SubtreeModified,
///
/// attribute-modified
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attribute-modified")]
AttributeModified,
///
/// node-removed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("node-removed")]
NodeRemoved
}
}
namespace CefSharp.DevTools.DOMDebugger
{
///
/// Object event listener.
///
public class EventListener : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// `EventListener`'s type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// `EventListener`'s useCapture.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("useCapture")]
public bool UseCapture
{
get;
set;
}
///
/// `EventListener`'s passive flag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("passive")]
public bool Passive
{
get;
set;
}
///
/// `EventListener`'s once flag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("once")]
public bool Once
{
get;
set;
}
///
/// Script id of the handler code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// Line number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// Column number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
///
/// Event handler function value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("handler")]
public CefSharp.DevTools.Runtime.RemoteObject Handler
{
get;
set;
}
///
/// Event original handler function value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("originalHandler")]
public CefSharp.DevTools.Runtime.RemoteObject OriginalHandler
{
get;
set;
}
///
/// Node the listener is added to (if any).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int? BackendNodeId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// A Node in the DOM tree.
///
public class DOMNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// `Node`'s nodeType.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")]
public int NodeType
{
get;
set;
}
///
/// `Node`'s nodeName.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeName
{
get;
set;
}
///
/// `Node`'s nodeValue.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeValue
{
get;
set;
}
///
/// Only set for textarea elements, contains the text value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("textValue")]
public string TextValue
{
get;
set;
}
///
/// Only set for input elements, contains the input's associated text value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inputValue")]
public string InputValue
{
get;
set;
}
///
/// Only set for radio and checkbox input elements, indicates if the element has been checked
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inputChecked")]
public bool? InputChecked
{
get;
set;
}
///
/// Only set for option elements, indicates if the element has been selected
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("optionSelected")]
public bool? OptionSelected
{
get;
set;
}
///
/// `Node`'s id, corresponds to DOM.Node.backendNodeId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int BackendNodeId
{
get;
set;
}
///
/// The indexes of the node's child nodes in the `domNodes` array returned by `getSnapshot`, if
/// any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childNodeIndexes")]
public int[] ChildNodeIndexes
{
get;
set;
}
///
/// Attributes of an `Element` node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")]
public System.Collections.Generic.IList Attributes
{
get;
set;
}
///
/// Indexes of pseudo elements associated with this node in the `domNodes` array returned by
/// `getSnapshot`, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElementIndexes")]
public int[] PseudoElementIndexes
{
get;
set;
}
///
/// The index of the node's related layout tree node in the `layoutTreeNodes` array returned by
/// `getSnapshot`, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutNodeIndex")]
public int? LayoutNodeIndex
{
get;
set;
}
///
/// Document URL that `Document` or `FrameOwner` node points to.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")]
public string DocumentURL
{
get;
set;
}
///
/// Base URL that `Document` or `FrameOwner` node uses for URL completion.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")]
public string BaseURL
{
get;
set;
}
///
/// Only set for documents, contains the document's content language.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentLanguage")]
public string ContentLanguage
{
get;
set;
}
///
/// Only set for documents, contains the document's character set encoding.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("documentEncoding")]
public string DocumentEncoding
{
get;
set;
}
///
/// `DocumentType` node's publicId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")]
public string PublicId
{
get;
set;
}
///
/// `DocumentType` node's systemId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")]
public string SystemId
{
get;
set;
}
///
/// Frame ID for frame owner elements and also for the document node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
public string FrameId
{
get;
set;
}
///
/// The index of a frame owner element's content document in the `domNodes` array returned by
/// `getSnapshot`, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocumentIndex")]
public int? ContentDocumentIndex
{
get;
set;
}
///
/// Type of a pseudo element node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")]
public CefSharp.DevTools.DOM.PseudoType? PseudoType
{
get;
set;
}
///
/// Shadow root type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shadowRootType")]
public CefSharp.DevTools.DOM.ShadowRootType? ShadowRootType
{
get;
set;
}
///
/// Whether this DOM node responds to mouse clicks. This includes nodes that have had click
/// event listeners attached via JavaScript as well as anchor tags that naturally navigate when
/// clicked.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isClickable")]
public bool? IsClickable
{
get;
set;
}
///
/// Details of the node's event listeners, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("eventListeners")]
public System.Collections.Generic.IList EventListeners
{
get;
set;
}
///
/// The selected url for nodes with a srcset attribute.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentSourceURL")]
public string CurrentSourceURL
{
get;
set;
}
///
/// The url of the script (if any) that generates this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("originURL")]
public string OriginURL
{
get;
set;
}
///
/// Scroll offsets, set when this node is a Document.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")]
public long? ScrollOffsetX
{
get;
set;
}
///
/// ScrollOffsetY
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")]
public long? ScrollOffsetY
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Details of post layout rendered text positions. The exact layout should not be regarded as
/// stable and may change between versions.
///
public class InlineTextBox : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The bounding box in document coordinates. Note that scroll offset of the document is ignored.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("boundingBox")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect BoundingBox
{
get;
set;
}
///
/// The starting index in characters, for this post layout textbox substring. Characters that
/// would be represented as a surrogate pair in UTF-16 have length 2.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startCharacterIndex")]
public int StartCharacterIndex
{
get;
set;
}
///
/// The number of characters in this post layout textbox substring. Characters that would be
/// represented as a surrogate pair in UTF-16 have length 2.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("numCharacters")]
public int NumCharacters
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Details of an element in the DOM tree with a LayoutObject.
///
public class LayoutTreeNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The index of the related DOM node in the `domNodes` array returned by `getSnapshot`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domNodeIndex")]
public int DomNodeIndex
{
get;
set;
}
///
/// The bounding box in document coordinates. Note that scroll offset of the document is ignored.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("boundingBox")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect BoundingBox
{
get;
set;
}
///
/// Contents of the LayoutText, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutText")]
public string LayoutText
{
get;
set;
}
///
/// The post-layout inline text nodes, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineTextNodes")]
public System.Collections.Generic.IList InlineTextNodes
{
get;
set;
}
///
/// Index into the `computedStyles` array returned by `getSnapshot`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleIndex")]
public int? StyleIndex
{
get;
set;
}
///
/// Global paint order index, which is determined by the stacking order of the nodes. Nodes
/// that are painted together will have the same index. Only provided if includePaintOrder in
/// getSnapshot was true.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paintOrder")]
public int? PaintOrder
{
get;
set;
}
///
/// Set to true to indicate the element begins a new stacking context.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isStackingContext")]
public bool? IsStackingContext
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// A subset of the full ComputedStyle as defined by the request whitelist.
///
public class ComputedStyle : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name/value pairs of computed style properties.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Properties
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// A name/value pair.
///
public class NameValue : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Attribute/property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Attribute/property value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Data that is only present on rare nodes.
///
public class RareStringData : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("index")]
public int[] Index
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public int[] Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// RareBooleanData
///
public class RareBooleanData : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("index")]
public int[] Index
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// RareIntegerData
///
public class RareIntegerData : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("index")]
public int[] Index
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public int[] Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Document snapshot.
///
public class DocumentSnapshot : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Document URL that `Document` or `FrameOwner` node points to.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("documentURL")]
public int DocumentURL
{
get;
set;
}
///
/// Document title.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
public int Title
{
get;
set;
}
///
/// Base URL that `Document` or `FrameOwner` node uses for URL completion.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("baseURL")]
public int BaseURL
{
get;
set;
}
///
/// Contains the document's content language.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentLanguage")]
public int ContentLanguage
{
get;
set;
}
///
/// Contains the document's character set encoding.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("encodingName")]
public int EncodingName
{
get;
set;
}
///
/// `DocumentType` node's publicId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("publicId")]
public int PublicId
{
get;
set;
}
///
/// `DocumentType` node's systemId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("systemId")]
public int SystemId
{
get;
set;
}
///
/// Frame ID for frame owner elements and also for the document node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameId")]
public int FrameId
{
get;
set;
}
///
/// A table with dom nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOMSnapshot.NodeTreeSnapshot Nodes
{
get;
set;
}
///
/// The nodes in the layout tree.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("layout")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOMSnapshot.LayoutTreeSnapshot Layout
{
get;
set;
}
///
/// The post-layout inline text nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("textBoxes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOMSnapshot.TextBoxSnapshot TextBoxes
{
get;
set;
}
///
/// Horizontal scroll offset.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")]
public long? ScrollOffsetX
{
get;
set;
}
///
/// Vertical scroll offset.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")]
public long? ScrollOffsetY
{
get;
set;
}
///
/// Document content width.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentWidth")]
public long? ContentWidth
{
get;
set;
}
///
/// Document content height.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentHeight")]
public long? ContentHeight
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Table containing nodes.
///
public class NodeTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Parent node index.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentIndex")]
public int[] ParentIndex
{
get;
set;
}
///
/// `Node`'s nodeType.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")]
public int[] NodeType
{
get;
set;
}
///
/// `Node`'s nodeName.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeName")]
public int[] NodeName
{
get;
set;
}
///
/// `Node`'s nodeValue.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeValue")]
public int[] NodeValue
{
get;
set;
}
///
/// `Node`'s id, corresponds to DOM.Node.backendNodeId.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int[] BackendNodeId
{
get;
set;
}
///
/// Attributes of an `Element` node. Flatten name, value pairs.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributes")]
public int[] Attributes
{
get;
set;
}
///
/// Only set for textarea elements, contains the text value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("textValue")]
public CefSharp.DevTools.DOMSnapshot.RareStringData TextValue
{
get;
set;
}
///
/// Only set for input elements, contains the input's associated text value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inputValue")]
public CefSharp.DevTools.DOMSnapshot.RareStringData InputValue
{
get;
set;
}
///
/// Only set for radio and checkbox input elements, indicates if the element has been checked
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inputChecked")]
public CefSharp.DevTools.DOMSnapshot.RareBooleanData InputChecked
{
get;
set;
}
///
/// Only set for option elements, indicates if the element has been selected
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("optionSelected")]
public CefSharp.DevTools.DOMSnapshot.RareBooleanData OptionSelected
{
get;
set;
}
///
/// The index of the document in the list of the snapshot documents.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentDocumentIndex")]
public CefSharp.DevTools.DOMSnapshot.RareIntegerData ContentDocumentIndex
{
get;
set;
}
///
/// Type of a pseudo element node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoType")]
public CefSharp.DevTools.DOMSnapshot.RareStringData PseudoType
{
get;
set;
}
///
/// Whether this DOM node responds to mouse clicks. This includes nodes that have had click
/// event listeners attached via JavaScript as well as anchor tags that naturally navigate when
/// clicked.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isClickable")]
public CefSharp.DevTools.DOMSnapshot.RareBooleanData IsClickable
{
get;
set;
}
///
/// The selected url for nodes with a srcset attribute.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentSourceURL")]
public CefSharp.DevTools.DOMSnapshot.RareStringData CurrentSourceURL
{
get;
set;
}
///
/// The url of the script (if any) that generates this node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("originURL")]
public CefSharp.DevTools.DOMSnapshot.RareStringData OriginURL
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Table of details of an element in the DOM tree with a LayoutObject.
///
public class LayoutTreeSnapshot : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index of the corresponding node in the `NodeTreeSnapshot` array returned by `captureSnapshot`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIndex")]
public int[] NodeIndex
{
get;
set;
}
///
/// Array of indexes specifying computed style strings, filtered according to the `computedStyles` parameter passed to `captureSnapshot`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styles")]
public int[] Styles
{
get;
set;
}
///
/// The absolute position bounding box.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")]
public long[] Bounds
{
get;
set;
}
///
/// Contents of the LayoutText, if any.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
public int[] Text
{
get;
set;
}
///
/// Stacking context information.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stackingContexts")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOMSnapshot.RareBooleanData StackingContexts
{
get;
set;
}
///
/// Global paint order index, which is determined by the stacking order of the nodes. Nodes
/// that are painted together will have the same index. Only provided if includePaintOrder in
/// captureSnapshot was true.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paintOrders")]
public int[] PaintOrders
{
get;
set;
}
///
/// The offset rect of nodes. Only available when includeDOMRects is set to true
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetRects")]
public long[] OffsetRects
{
get;
set;
}
///
/// The scroll rect of nodes. Only available when includeDOMRects is set to true
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollRects")]
public long[] ScrollRects
{
get;
set;
}
///
/// The client rect of nodes. Only available when includeDOMRects is set to true
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clientRects")]
public long[] ClientRects
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMSnapshot
{
///
/// Table of details of the post layout rendered text positions. The exact layout should not be regarded as
/// stable and may change between versions.
///
public class TextBoxSnapshot : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index of the layout tree node that owns this box collection.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("layoutIndex")]
public int[] LayoutIndex
{
get;
set;
}
///
/// The absolute position bounding box.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")]
public long[] Bounds
{
get;
set;
}
///
/// The starting index in characters, for this post layout textbox substring. Characters that
/// would be represented as a surrogate pair in UTF-16 have length 2.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("start")]
public int[] Start
{
get;
set;
}
///
/// The number of characters in this post layout textbox substring. Characters that would be
/// represented as a surrogate pair in UTF-16 have length 2.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("length")]
public int[] Length
{
get;
set;
}
}
}
namespace CefSharp.DevTools.DOMStorage
{
///
/// DOM Storage identifier.
///
public class StorageId : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Security origin for the storage.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SecurityOrigin
{
get;
set;
}
///
/// Whether the storage is local storage (not session storage).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isLocalStorage")]
public bool IsLocalStorage
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Database
{
///
/// Database object.
///
public class Database : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Database ID.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Id
{
get;
set;
}
///
/// Database domain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Domain
{
get;
set;
}
///
/// Database name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Database version.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("version")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Version
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Database
{
///
/// Database error.
///
public class Error : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Error message.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("message")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Message
{
get;
set;
}
///
/// Error code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("code")]
public int Code
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// Screen orientation.
///
public class ScreenOrientation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Orientation type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Orientation angle.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("angle")]
public int Angle
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// DisplayFeature
///
public class DisplayFeature : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Orientation of a display feature in relation to screen
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("orientation")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Orientation
{
get;
set;
}
///
/// The offset from the screen origin in either the x (for vertical
/// orientation) or y (for horizontal orientation) direction.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")]
public int Offset
{
get;
set;
}
///
/// A display feature may mask content such that it is not physically
/// displayed - this length along with the offset describes this area.
/// A display feature that only splits content will have a 0 mask_length.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maskLength")]
public int MaskLength
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// MediaFeature
///
public class MediaFeature : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// advance: If the scheduler runs out of immediate work, the virtual time base may fast forward to
/// allow the next delayed task (if any) to run; pause: The virtual time base may not advance;
/// pauseIfNetworkFetchesPending: The virtual time base may not advance if there are any pending
/// resource fetches.
///
public enum VirtualTimePolicy
{
///
/// advance
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("advance")]
Advance,
///
/// pause
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pause")]
Pause,
///
/// pauseIfNetworkFetchesPending
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pauseIfNetworkFetchesPending")]
PauseIfNetworkFetchesPending
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints
///
public class UserAgentBrandVersion : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Brand
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("brand")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Brand
{
get;
set;
}
///
/// Version
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("version")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Version
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Emulation
{
///
/// Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints
///
public class UserAgentMetadata : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Brands
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("brands")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Brands
{
get;
set;
}
///
/// FullVersion
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fullVersion")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FullVersion
{
get;
set;
}
///
/// Platform
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("platform")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Platform
{
get;
set;
}
///
/// PlatformVersion
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("platformVersion")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PlatformVersion
{
get;
set;
}
///
/// Architecture
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("architecture")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Architecture
{
get;
set;
}
///
/// Model
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("model")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Model
{
get;
set;
}
///
/// Mobile
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mobile")]
public bool Mobile
{
get;
set;
}
}
}
namespace CefSharp.DevTools.HeadlessExperimental
{
///
/// Encoding options for a screenshot.
///
public class ScreenshotParams : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Image compression format (defaults to png).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("format")]
public string Format
{
get;
set;
}
///
/// Compression quality from range [0..100] (jpeg only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("quality")]
public int? Quality
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Database with an array of object stores.
///
public class DatabaseWithObjectStores : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Database name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Database version (type is not 'integer', as the standard
/// requires the version number to be 'unsigned long long')
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("version")]
public long Version
{
get;
set;
}
///
/// Object stores in this database.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("objectStores")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ObjectStores
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Object store.
///
public class ObjectStore : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Object store name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Object store key path.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyPath")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.IndexedDB.KeyPath KeyPath
{
get;
set;
}
///
/// If true, object store has auto increment flag set.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("autoIncrement")]
public bool AutoIncrement
{
get;
set;
}
///
/// Indexes in this object store.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("indexes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Indexes
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Object store index.
///
public class ObjectStoreIndex : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Index name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Index key path.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyPath")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.IndexedDB.KeyPath KeyPath
{
get;
set;
}
///
/// If true, index is unique.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unique")]
public bool Unique
{
get;
set;
}
///
/// If true, index allows multiple entries for a key.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("multiEntry")]
public bool MultiEntry
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Key.
///
public class Key : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Key type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Number value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("number")]
public long? Number
{
get;
set;
}
///
/// String value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("string")]
public string String
{
get;
set;
}
///
/// Date value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("date")]
public long? Date
{
get;
set;
}
///
/// Array value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("array")]
public System.Collections.Generic.IList Array
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Key range.
///
public class KeyRange : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Lower bound.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lower")]
public CefSharp.DevTools.IndexedDB.Key Lower
{
get;
set;
}
///
/// Upper bound.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("upper")]
public CefSharp.DevTools.IndexedDB.Key Upper
{
get;
set;
}
///
/// If true lower bound is open.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lowerOpen")]
public bool LowerOpen
{
get;
set;
}
///
/// If true upper bound is open.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("upperOpen")]
public bool UpperOpen
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Data entry.
///
public class DataEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Key object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("key")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.RemoteObject Key
{
get;
set;
}
///
/// Primary key object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("primaryKey")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.RemoteObject PrimaryKey
{
get;
set;
}
///
/// Value object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.RemoteObject Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.IndexedDB
{
///
/// Key path.
///
public class KeyPath : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Key path type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// String value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("string")]
public string String
{
get;
set;
}
///
/// Array value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("array")]
public string[] Array
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Input
{
///
/// TouchPoint
///
public class TouchPoint : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// X coordinate of the event relative to the main frame's viewport in CSS pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("x")]
public long X
{
get;
set;
}
///
/// 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.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("y")]
public long Y
{
get;
set;
}
///
/// X radius of the touch area (default: 1.0).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("radiusX")]
public long? RadiusX
{
get;
set;
}
///
/// Y radius of the touch area (default: 1.0).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("radiusY")]
public long? RadiusY
{
get;
set;
}
///
/// Rotation angle (default: 0.0).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rotationAngle")]
public long? RotationAngle
{
get;
set;
}
///
/// Force (default: 1.0).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("force")]
public long? Force
{
get;
set;
}
///
/// Identifier used to track touch sources between events, must be unique within an event.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public long? Id
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Input
{
///
/// GestureSourceType
///
public enum GestureSourceType
{
///
/// default
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("default")]
Default,
///
/// touch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("touch")]
Touch,
///
/// mouse
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mouse")]
Mouse
}
}
namespace CefSharp.DevTools.Input
{
///
/// MouseButton
///
public enum MouseButton
{
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None,
///
/// left
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("left")]
Left,
///
/// middle
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("middle")]
Middle,
///
/// right
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("right")]
Right,
///
/// back
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("back")]
Back,
///
/// forward
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("forward")]
Forward
}
}
namespace CefSharp.DevTools.LayerTree
{
///
/// Rectangle where scrolling happens on the main thread.
///
public class ScrollRect : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Rectangle itself.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rect")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect Rect
{
get;
set;
}
///
/// Reason for rectangle to force scrolling on the main thread
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
}
}
namespace CefSharp.DevTools.LayerTree
{
///
/// Sticky position constraints.
///
public class StickyPositionConstraint : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Layout rectangle of the sticky element before being shifted
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stickyBoxRect")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect StickyBoxRect
{
get;
set;
}
///
/// Layout rectangle of the containing block of the sticky element
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("containingBlockRect")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect ContainingBlockRect
{
get;
set;
}
///
/// The nearest sticky layer that shifts the sticky box
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nearestLayerShiftingStickyBox")]
public string NearestLayerShiftingStickyBox
{
get;
set;
}
///
/// The nearest sticky layer that shifts the containing block
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nearestLayerShiftingContainingBlock")]
public string NearestLayerShiftingContainingBlock
{
get;
set;
}
}
}
namespace CefSharp.DevTools.LayerTree
{
///
/// Serialized fragment of layer picture along with its offset within the layer.
///
public class PictureTile : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Offset from owning layer left boundary
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("x")]
public long X
{
get;
set;
}
///
/// Offset from owning layer top boundary
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("y")]
public long Y
{
get;
set;
}
///
/// Base64-encoded snapshot data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("picture")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public byte[] Picture
{
get;
set;
}
}
}
namespace CefSharp.DevTools.LayerTree
{
///
/// Information about a compositing layer.
///
public class Layer : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The unique id for this layer.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("layerId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LayerId
{
get;
set;
}
///
/// The id of parent (not present for root).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentLayerId")]
public string ParentLayerId
{
get;
set;
}
///
/// The backend id for the node associated with this layer.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backendNodeId")]
public int? BackendNodeId
{
get;
set;
}
///
/// Offset from parent layer, X coordinate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetX")]
public long OffsetX
{
get;
set;
}
///
/// Offset from parent layer, Y coordinate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetY")]
public long OffsetY
{
get;
set;
}
///
/// Layer width.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public long Width
{
get;
set;
}
///
/// Layer height.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public long Height
{
get;
set;
}
///
/// Transformation matrix for layer, default is identity matrix
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("transform")]
public long[] Transform
{
get;
set;
}
///
/// Transform anchor point X, absent if no transform specified
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorX")]
public long? AnchorX
{
get;
set;
}
///
/// Transform anchor point Y, absent if no transform specified
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorY")]
public long? AnchorY
{
get;
set;
}
///
/// Transform anchor point Z, absent if no transform specified
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorZ")]
public long? AnchorZ
{
get;
set;
}
///
/// Indicates how many time this layer has painted.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paintCount")]
public int PaintCount
{
get;
set;
}
///
/// Indicates whether this layer hosts any content, rather than being used for
/// transform/scrolling purposes only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("drawsContent")]
public bool DrawsContent
{
get;
set;
}
///
/// Set if layer is not visible.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("invisible")]
public bool? Invisible
{
get;
set;
}
///
/// Rectangles scrolling on main thread only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollRects")]
public System.Collections.Generic.IList ScrollRects
{
get;
set;
}
///
/// Sticky position constraint information
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stickyPositionConstraint")]
public CefSharp.DevTools.LayerTree.StickyPositionConstraint StickyPositionConstraint
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Log
{
///
/// Log entry.
///
public class LogEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Log entry source.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("source")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Source
{
get;
set;
}
///
/// Log entry severity.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("level")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Level
{
get;
set;
}
///
/// Logged text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
///
/// Timestamp when this entry was added.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long Timestamp
{
get;
set;
}
///
/// URL of the resource if known.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
public string Url
{
get;
set;
}
///
/// Line number in the resource.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int? LineNumber
{
get;
set;
}
///
/// JavaScript stack trace.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")]
public CefSharp.DevTools.Runtime.StackTrace StackTrace
{
get;
set;
}
///
/// Identifier of the network request associated with this entry.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("networkRequestId")]
public string NetworkRequestId
{
get;
set;
}
///
/// Identifier of the worker associated with this entry.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("workerId")]
public string WorkerId
{
get;
set;
}
///
/// Call arguments.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("args")]
public System.Collections.Generic.IList Args
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Log
{
///
/// Violation configuration setting.
///
public class ViolationSetting : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Violation type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Time threshold to trigger upon.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("threshold")]
public long Threshold
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Memory
{
///
/// Memory pressure level.
///
public enum PressureLevel
{
///
/// moderate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("moderate")]
Moderate,
///
/// critical
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("critical")]
Critical
}
}
namespace CefSharp.DevTools.Memory
{
///
/// Heap profile sample.
///
public class SamplingProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Size of the sampled allocation.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public long Size
{
get;
set;
}
///
/// Total bytes attributed to this sample.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("total")]
public long Total
{
get;
set;
}
///
/// Execution stack at the point of allocation.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] Stack
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Memory
{
///
/// Array of heap profile samples.
///
public class SamplingProfile : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Samples
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Samples
{
get;
set;
}
///
/// Modules
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("modules")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Modules
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Memory
{
///
/// Executable module information
///
public class Module : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name of the module.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// UUID of the module.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("uuid")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Uuid
{
get;
set;
}
///
/// Base address where the module is loaded into memory. Encoded as a decimal
/// or hexadecimal (0x prefixed) string.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("baseAddress")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string BaseAddress
{
get;
set;
}
///
/// Size of the module in bytes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public long Size
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Resource type as it was perceived by the rendering engine.
///
public enum ResourceType
{
///
/// Document
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Document")]
Document,
///
/// Stylesheet
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Stylesheet")]
Stylesheet,
///
/// Image
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Image")]
Image,
///
/// Media
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Media")]
Media,
///
/// Font
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Font")]
Font,
///
/// Script
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Script")]
Script,
///
/// TextTrack
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("TextTrack")]
TextTrack,
///
/// XHR
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("XHR")]
XHR,
///
/// Fetch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Fetch")]
Fetch,
///
/// EventSource
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("EventSource")]
EventSource,
///
/// WebSocket
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WebSocket")]
WebSocket,
///
/// Manifest
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Manifest")]
Manifest,
///
/// SignedExchange
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SignedExchange")]
SignedExchange,
///
/// Ping
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Ping")]
Ping,
///
/// CSPViolationReport
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("CSPViolationReport")]
CSPViolationReport,
///
/// Other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Other")]
Other
}
}
namespace CefSharp.DevTools.Network
{
///
/// Network level fetch failure reason.
///
public enum ErrorReason
{
///
/// Failed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Failed")]
Failed,
///
/// Aborted
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Aborted")]
Aborted,
///
/// TimedOut
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("TimedOut")]
TimedOut,
///
/// AccessDenied
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("AccessDenied")]
AccessDenied,
///
/// ConnectionClosed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionClosed")]
ConnectionClosed,
///
/// ConnectionReset
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionReset")]
ConnectionReset,
///
/// ConnectionRefused
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionRefused")]
ConnectionRefused,
///
/// ConnectionAborted
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionAborted")]
ConnectionAborted,
///
/// ConnectionFailed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ConnectionFailed")]
ConnectionFailed,
///
/// NameNotResolved
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NameNotResolved")]
NameNotResolved,
///
/// InternetDisconnected
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InternetDisconnected")]
InternetDisconnected,
///
/// AddressUnreachable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("AddressUnreachable")]
AddressUnreachable,
///
/// BlockedByClient
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByClient")]
BlockedByClient,
///
/// BlockedByResponse
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("BlockedByResponse")]
BlockedByResponse
}
}
namespace CefSharp.DevTools.Network
{
///
/// The underlying connection technology that the browser is supposedly using.
///
public enum ConnectionType
{
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None,
///
/// cellular2g
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular2g")]
Cellular2g,
///
/// cellular3g
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular3g")]
Cellular3g,
///
/// cellular4g
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cellular4g")]
Cellular4g,
///
/// bluetooth
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bluetooth")]
Bluetooth,
///
/// ethernet
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ethernet")]
Ethernet,
///
/// wifi
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wifi")]
Wifi,
///
/// wimax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wimax")]
Wimax,
///
/// other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("other")]
Other
}
}
namespace CefSharp.DevTools.Network
{
///
/// Represents the cookie's 'SameSite' status:
/// https://tools.ietf.org/html/draft-west-first-party-cookies
///
public enum CookieSameSite
{
///
/// Strict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Strict")]
Strict,
///
/// Lax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Lax")]
Lax,
///
/// None
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("None")]
None
}
}
namespace CefSharp.DevTools.Network
{
///
/// Represents the cookie's 'Priority' status:
/// https://tools.ietf.org/html/draft-west-cookie-priority-00
///
public enum CookiePriority
{
///
/// Low
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Low")]
Low,
///
/// Medium
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Medium")]
Medium,
///
/// High
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("High")]
High
}
}
namespace CefSharp.DevTools.Network
{
///
/// Timing information for the request.
///
public class ResourceTiming : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Timing's requestTime is a baseline in seconds, while the other numbers are ticks in
/// milliseconds relatively to this requestTime.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestTime")]
public long RequestTime
{
get;
set;
}
///
/// Started resolving proxy.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("proxyStart")]
public long ProxyStart
{
get;
set;
}
///
/// Finished resolving proxy.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("proxyEnd")]
public long ProxyEnd
{
get;
set;
}
///
/// Started DNS address resolve.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsStart")]
public long DnsStart
{
get;
set;
}
///
/// Finished DNS address resolve.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("dnsEnd")]
public long DnsEnd
{
get;
set;
}
///
/// Started connecting to the remote host.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("connectStart")]
public long ConnectStart
{
get;
set;
}
///
/// Connected to the remote host.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("connectEnd")]
public long ConnectEnd
{
get;
set;
}
///
/// Started SSL handshake.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sslStart")]
public long SslStart
{
get;
set;
}
///
/// Finished SSL handshake.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sslEnd")]
public long SslEnd
{
get;
set;
}
///
/// Started running ServiceWorker.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("workerStart")]
public long WorkerStart
{
get;
set;
}
///
/// Finished Starting ServiceWorker.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("workerReady")]
public long WorkerReady
{
get;
set;
}
///
/// Started fetch event.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("workerFetchStart")]
public long WorkerFetchStart
{
get;
set;
}
///
/// Settled fetch event respondWith promise.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("workerRespondWithSettled")]
public long WorkerRespondWithSettled
{
get;
set;
}
///
/// Started sending request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sendStart")]
public long SendStart
{
get;
set;
}
///
/// Finished sending request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sendEnd")]
public long SendEnd
{
get;
set;
}
///
/// Time the server started pushing request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pushStart")]
public long PushStart
{
get;
set;
}
///
/// Time the server finished pushing request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pushEnd")]
public long PushEnd
{
get;
set;
}
///
/// Finished receiving response headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("receiveHeadersEnd")]
public long ReceiveHeadersEnd
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Loading priority of a resource request.
///
public enum ResourcePriority
{
///
/// VeryLow
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("VeryLow")]
VeryLow,
///
/// Low
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Low")]
Low,
///
/// Medium
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Medium")]
Medium,
///
/// High
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("High")]
High,
///
/// VeryHigh
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("VeryHigh")]
VeryHigh
}
}
namespace CefSharp.DevTools.Network
{
///
/// Post data entry for HTTP request
///
public class PostDataEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Bytes
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bytes")]
public byte[] Bytes
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// HTTP request data.
///
public class Request : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Request URL (without fragment).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Fragment of the requested URL starting with hash, if present.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("urlFragment")]
public string UrlFragment
{
get;
set;
}
///
/// HTTP request method.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("method")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Method
{
get;
set;
}
///
/// HTTP request headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Headers Headers
{
get;
set;
}
///
/// HTTP POST request data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("postData")]
public string PostData
{
get;
set;
}
///
/// True when the request has POST data. Note that postData might still be omitted when this flag is true when the data is too long.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hasPostData")]
public bool? HasPostData
{
get;
set;
}
///
/// Request body elements. This will be converted from base64 to binary
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("postDataEntries")]
public System.Collections.Generic.IList PostDataEntries
{
get;
set;
}
///
/// The mixed content type of the request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentType")]
public CefSharp.DevTools.Security.MixedContentType? MixedContentType
{
get;
set;
}
///
/// Priority of the resource request at the time request is sent.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("initialPriority")]
public CefSharp.DevTools.Network.ResourcePriority InitialPriority
{
get;
set;
}
///
/// The referrer policy of the request, as defined in https://www.w3.org/TR/referrer-policy/
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("referrerPolicy")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ReferrerPolicy
{
get;
set;
}
///
/// Whether is loaded via link preload.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isLinkPreload")]
public bool? IsLinkPreload
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Details of a signed certificate timestamp (SCT).
///
public class SignedCertificateTimestamp : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Validation status.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Status
{
get;
set;
}
///
/// Origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Origin
{
get;
set;
}
///
/// Log name / description.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("logDescription")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LogDescription
{
get;
set;
}
///
/// Log ID.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("logId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LogId
{
get;
set;
}
///
/// Issuance date.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long Timestamp
{
get;
set;
}
///
/// Hash algorithm.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hashAlgorithm")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string HashAlgorithm
{
get;
set;
}
///
/// Signature algorithm.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureAlgorithm")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SignatureAlgorithm
{
get;
set;
}
///
/// Signature data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureData")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SignatureData
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Security details about a request.
///
public class SecurityDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Protocol name (e.g. "TLS 1.2" or "QUIC").
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Protocol
{
get;
set;
}
///
/// Key Exchange used by the connection, or the empty string if not applicable.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchange")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string KeyExchange
{
get;
set;
}
///
/// (EC)DH group used by the connection, if applicable.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchangeGroup")]
public string KeyExchangeGroup
{
get;
set;
}
///
/// Cipher name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cipher")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Cipher
{
get;
set;
}
///
/// TLS MAC. Note that AEAD ciphers do not have separate MACs.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mac")]
public string Mac
{
get;
set;
}
///
/// Certificate ID value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateId")]
public int CertificateId
{
get;
set;
}
///
/// Certificate subject name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subjectName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SubjectName
{
get;
set;
}
///
/// Subject Alternative Name (SAN) DNS names and IP addresses.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sanList")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] SanList
{
get;
set;
}
///
/// Name of the issuing CA.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("issuer")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Issuer
{
get;
set;
}
///
/// Certificate valid from date.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("validFrom")]
public long ValidFrom
{
get;
set;
}
///
/// Certificate valid to (expiration) date
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("validTo")]
public long ValidTo
{
get;
set;
}
///
/// List of signed certificate timestamps (SCTs).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signedCertificateTimestampList")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList SignedCertificateTimestampList
{
get;
set;
}
///
/// Whether the request complied with Certificate Transparency policy
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateTransparencyCompliance")]
public CefSharp.DevTools.Network.CertificateTransparencyCompliance CertificateTransparencyCompliance
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Whether the request complied with Certificate Transparency policy.
///
public enum CertificateTransparencyCompliance
{
///
/// unknown
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")]
Unknown,
///
/// not-compliant
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("not-compliant")]
NotCompliant,
///
/// compliant
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("compliant")]
Compliant
}
}
namespace CefSharp.DevTools.Network
{
///
/// The reason why request was blocked.
///
public enum BlockedReason
{
///
/// other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("other")]
Other,
///
/// csp
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("csp")]
Csp,
///
/// mixed-content
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mixed-content")]
MixedContent,
///
/// origin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
Origin,
///
/// inspector
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inspector")]
Inspector,
///
/// subresource-filter
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subresource-filter")]
SubresourceFilter,
///
/// content-type
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("content-type")]
ContentType,
///
/// collapsed-by-client
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("collapsed-by-client")]
CollapsedByClient,
///
/// coep-frame-resource-needs-coep-header
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("coep-frame-resource-needs-coep-header")]
CoepFrameResourceNeedsCoepHeader,
///
/// coop-sandboxed-iframe-cannot-navigate-to-coop-page
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("coop-sandboxed-iframe-cannot-navigate-to-coop-page")]
CoopSandboxedIframeCannotNavigateToCoopPage,
///
/// corp-not-same-origin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-origin")]
CorpNotSameOrigin,
///
/// corp-not-same-origin-after-defaulted-to-same-origin-by-coep
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-origin-after-defaulted-to-same-origin-by-coep")]
CorpNotSameOriginAfterDefaultedToSameOriginByCoep,
///
/// corp-not-same-site
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("corp-not-same-site")]
CorpNotSameSite
}
}
namespace CefSharp.DevTools.Network
{
///
/// Source of serviceworker response.
///
public enum ServiceWorkerResponseSource
{
///
/// cache-storage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cache-storage")]
CacheStorage,
///
/// http-cache
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("http-cache")]
HttpCache,
///
/// fallback-code
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fallback-code")]
FallbackCode,
///
/// network
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("network")]
Network
}
}
namespace CefSharp.DevTools.Network
{
///
/// HTTP response data.
///
public class Response : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Response URL. This URL can be different from CachedResource.url in case of redirect.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// HTTP response status code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
public int Status
{
get;
set;
}
///
/// HTTP response status text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("statusText")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string StatusText
{
get;
set;
}
///
/// HTTP response headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Headers Headers
{
get;
set;
}
///
/// HTTP response headers text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headersText")]
public string HeadersText
{
get;
set;
}
///
/// Resource mimeType as determined by the browser.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string MimeType
{
get;
set;
}
///
/// Refined HTTP request headers that were actually transmitted over the network.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")]
public CefSharp.DevTools.Network.Headers RequestHeaders
{
get;
set;
}
///
/// HTTP request headers text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeadersText")]
public string RequestHeadersText
{
get;
set;
}
///
/// Specifies whether physical connection was actually reused for this request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("connectionReused")]
public bool ConnectionReused
{
get;
set;
}
///
/// Physical connection id that was actually used for this request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("connectionId")]
public long ConnectionId
{
get;
set;
}
///
/// Remote IP address.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("remoteIPAddress")]
public string RemoteIPAddress
{
get;
set;
}
///
/// Remote port.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("remotePort")]
public int? RemotePort
{
get;
set;
}
///
/// Specifies that the request was served from the disk cache.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fromDiskCache")]
public bool? FromDiskCache
{
get;
set;
}
///
/// Specifies that the request was served from the ServiceWorker.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fromServiceWorker")]
public bool? FromServiceWorker
{
get;
set;
}
///
/// Specifies that the request was served from the prefetch cache.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fromPrefetchCache")]
public bool? FromPrefetchCache
{
get;
set;
}
///
/// Total number of bytes received for this request so far.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedDataLength")]
public long EncodedDataLength
{
get;
set;
}
///
/// Timing information for the given request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timing")]
public CefSharp.DevTools.Network.ResourceTiming Timing
{
get;
set;
}
///
/// Response source of response from ServiceWorker.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("serviceWorkerResponseSource")]
public CefSharp.DevTools.Network.ServiceWorkerResponseSource? ServiceWorkerResponseSource
{
get;
set;
}
///
/// The time at which the returned response was generated.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseTime")]
public long? ResponseTime
{
get;
set;
}
///
/// Cache Storage Cache Name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheStorageCacheName")]
public string CacheStorageCacheName
{
get;
set;
}
///
/// Protocol used to fetch this request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")]
public string Protocol
{
get;
set;
}
///
/// Security state of the request resource.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")]
public CefSharp.DevTools.Security.SecurityState SecurityState
{
get;
set;
}
///
/// Security details for the request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityDetails")]
public CefSharp.DevTools.Network.SecurityDetails SecurityDetails
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// WebSocket request data.
///
public class WebSocketRequest : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// HTTP request headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Headers Headers
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// WebSocket response data.
///
public class WebSocketResponse : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// HTTP response status code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
public int Status
{
get;
set;
}
///
/// HTTP response status text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("statusText")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string StatusText
{
get;
set;
}
///
/// HTTP response headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Headers Headers
{
get;
set;
}
///
/// HTTP response headers text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headersText")]
public string HeadersText
{
get;
set;
}
///
/// HTTP request headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeaders")]
public CefSharp.DevTools.Network.Headers RequestHeaders
{
get;
set;
}
///
/// HTTP request headers text.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestHeadersText")]
public string RequestHeadersText
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// WebSocket message data. This represents an entire WebSocket message, not just a fragmented frame as the name suggests.
///
public class WebSocketFrame : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// WebSocket message opcode.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("opcode")]
public long Opcode
{
get;
set;
}
///
/// WebSocket message mask.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mask")]
public bool Mask
{
get;
set;
}
///
/// WebSocket message payload data.
/// If the opcode is 1, this is a text message and payloadData is a UTF-8 string.
/// If the opcode isn't 1, then payloadData is a base64 encoded string representing binary data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("payloadData")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string PayloadData
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about the cached resource.
///
public class CachedResource : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Resource URL. This is the url of the original network request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Type of this resource.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
public CefSharp.DevTools.Network.ResourceType Type
{
get;
set;
}
///
/// Cached response data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("response")]
public CefSharp.DevTools.Network.Response Response
{
get;
set;
}
///
/// Cached response body size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bodySize")]
public long BodySize
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about the request initiator.
///
public class Initiator : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Type of this initiator.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Initiator JavaScript stack trace, set for Script only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stack")]
public CefSharp.DevTools.Runtime.StackTrace Stack
{
get;
set;
}
///
/// Initiator URL, set for Parser type or for Script type (when script is importing module) or for SignedExchange type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
public string Url
{
get;
set;
}
///
/// Initiator line number, set for Parser type or for Script type (when script is importing
/// module) (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public long? LineNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Cookie object
///
public class Cookie : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Cookie name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Cookie value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
///
/// Cookie domain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Domain
{
get;
set;
}
///
/// Cookie path.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("path")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Path
{
get;
set;
}
///
/// Cookie expiration date as the number of seconds since the UNIX epoch.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")]
public long Expires
{
get;
set;
}
///
/// Cookie size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public int Size
{
get;
set;
}
///
/// True if cookie is http-only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("httpOnly")]
public bool HttpOnly
{
get;
set;
}
///
/// True if cookie is secure.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")]
public bool Secure
{
get;
set;
}
///
/// True in case of session cookie.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("session")]
public bool Session
{
get;
set;
}
///
/// Cookie SameSite type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sameSite")]
public CefSharp.DevTools.Network.CookieSameSite? SameSite
{
get;
set;
}
///
/// Cookie Priority
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("priority")]
public CefSharp.DevTools.Network.CookiePriority Priority
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Types of reasons why a cookie may not be stored from a response.
///
public enum SetCookieBlockedReason
{
///
/// SecureOnly
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureOnly")]
SecureOnly,
///
/// SameSiteStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteStrict")]
SameSiteStrict,
///
/// SameSiteLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteLax")]
SameSiteLax,
///
/// SameSiteUnspecifiedTreatedAsLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteUnspecifiedTreatedAsLax")]
SameSiteUnspecifiedTreatedAsLax,
///
/// SameSiteNoneInsecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteNoneInsecure")]
SameSiteNoneInsecure,
///
/// UserPreferences
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")]
UserPreferences,
///
/// SyntaxError
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SyntaxError")]
SyntaxError,
///
/// SchemeNotSupported
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SchemeNotSupported")]
SchemeNotSupported,
///
/// OverwriteSecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("OverwriteSecure")]
OverwriteSecure,
///
/// InvalidDomain
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidDomain")]
InvalidDomain,
///
/// InvalidPrefix
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InvalidPrefix")]
InvalidPrefix,
///
/// UnknownError
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")]
UnknownError
}
}
namespace CefSharp.DevTools.Network
{
///
/// Types of reasons why a cookie may not be sent with a request.
///
public enum CookieBlockedReason
{
///
/// SecureOnly
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureOnly")]
SecureOnly,
///
/// NotOnPath
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NotOnPath")]
NotOnPath,
///
/// DomainMismatch
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("DomainMismatch")]
DomainMismatch,
///
/// SameSiteStrict
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteStrict")]
SameSiteStrict,
///
/// SameSiteLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteLax")]
SameSiteLax,
///
/// SameSiteUnspecifiedTreatedAsLax
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteUnspecifiedTreatedAsLax")]
SameSiteUnspecifiedTreatedAsLax,
///
/// SameSiteNoneInsecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameSiteNoneInsecure")]
SameSiteNoneInsecure,
///
/// UserPreferences
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("UserPreferences")]
UserPreferences,
///
/// UnknownError
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("UnknownError")]
UnknownError
}
}
namespace CefSharp.DevTools.Network
{
///
/// A cookie which was not stored from a response with the corresponding reason.
///
public class BlockedSetCookieWithReason : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The reason(s) this cookie was blocked.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedReasons")]
public CefSharp.DevTools.Network.SetCookieBlockedReason[] BlockedReasons
{
get;
set;
}
///
/// The string representing this individual cookie as it would appear in the header.
/// This is not the entire "cookie" or "set-cookie" header which could have multiple cookies.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookieLine")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string CookieLine
{
get;
set;
}
///
/// The cookie object which represents the cookie which was not stored. It is optional because
/// sometimes complete cookie information is not available, such as in the case of parsing
/// errors.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")]
public CefSharp.DevTools.Network.Cookie Cookie
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// A cookie with was not sent with a request with the corresponding reason.
///
public class BlockedCookieWithReason : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The reason(s) the cookie was blocked.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockedReasons")]
public CefSharp.DevTools.Network.CookieBlockedReason[] BlockedReasons
{
get;
set;
}
///
/// The cookie object representing the cookie which was not sent.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookie")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Cookie Cookie
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Cookie parameter object
///
public class CookieParam : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Cookie name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Cookie value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
///
/// The request-URI to associate with the setting of the cookie. This value can affect the
/// default domain and path values of the created cookie.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
public string Url
{
get;
set;
}
///
/// Cookie domain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domain")]
public string Domain
{
get;
set;
}
///
/// Cookie path.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("path")]
public string Path
{
get;
set;
}
///
/// True if cookie is secure.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")]
public bool? Secure
{
get;
set;
}
///
/// True if cookie is http-only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("httpOnly")]
public bool? HttpOnly
{
get;
set;
}
///
/// Cookie SameSite type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sameSite")]
public CefSharp.DevTools.Network.CookieSameSite? SameSite
{
get;
set;
}
///
/// Cookie expiration date, session cookie if not set
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")]
public long? Expires
{
get;
set;
}
///
/// Cookie Priority.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("priority")]
public CefSharp.DevTools.Network.CookiePriority? Priority
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Authorization challenge for HTTP status code 401 or 407.
///
public class AuthChallenge : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Source of the authentication challenge.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("source")]
public string Source
{
get;
set;
}
///
/// Origin of the challenger.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Origin
{
get;
set;
}
///
/// The authentication scheme used, such as basic or digest
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scheme")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Scheme
{
get;
set;
}
///
/// The realm of the challenge. May be empty.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("realm")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Realm
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Response to an AuthChallenge.
///
public class AuthChallengeResponse : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The decision on what to do in response to the authorization challenge. Default means
/// deferring to the default behavior of the net stack, which will likely either the Cancel
/// authentication or display a popup dialog box.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("response")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Response
{
get;
set;
}
///
/// The username to provide, possibly empty. Should only be set if response is
/// ProvideCredentials.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("username")]
public string Username
{
get;
set;
}
///
/// The password to provide, possibly empty. Should only be set if response is
/// ProvideCredentials.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("password")]
public string Password
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Stages of the interception to begin intercepting. Request will intercept before the request is
/// sent. Response will intercept after the response is received.
///
public enum InterceptionStage
{
///
/// Request
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Request")]
Request,
///
/// HeadersReceived
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("HeadersReceived")]
HeadersReceived
}
}
namespace CefSharp.DevTools.Network
{
///
/// Request pattern for interception.
///
public class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is
/// backslash. Omitting is equivalent to "*".
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("urlPattern")]
public string UrlPattern
{
get;
set;
}
///
/// If set, only requests for matching resource types will be intercepted.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")]
public CefSharp.DevTools.Network.ResourceType? ResourceType
{
get;
set;
}
///
/// Stage at wich to begin intercepting requests. Default is Request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("interceptionStage")]
public CefSharp.DevTools.Network.InterceptionStage? InterceptionStage
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about a signed exchange signature.
/// https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#rfc.section.3.1
///
public class SignedExchangeSignature : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Signed exchange signature label.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("label")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Label
{
get;
set;
}
///
/// The hex string of signed exchange signature.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signature")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Signature
{
get;
set;
}
///
/// Signed exchange signature integrity.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("integrity")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Integrity
{
get;
set;
}
///
/// Signed exchange signature cert Url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certUrl")]
public string CertUrl
{
get;
set;
}
///
/// The hex string of signed exchange signature cert sha256.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certSha256")]
public string CertSha256
{
get;
set;
}
///
/// Signed exchange signature validity Url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("validityUrl")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ValidityUrl
{
get;
set;
}
///
/// Signed exchange signature date.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("date")]
public int Date
{
get;
set;
}
///
/// Signed exchange signature expires.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("expires")]
public int Expires
{
get;
set;
}
///
/// The encoded certificates.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificates")]
public string[] Certificates
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about a signed exchange header.
/// https://wicg.github.io/webpackage/draft-yasskin-httpbis-origin-signed-exchanges-impl.html#cbor-representation
///
public class SignedExchangeHeader : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Signed exchange request URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestUrl")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RequestUrl
{
get;
set;
}
///
/// Signed exchange response code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseCode")]
public int ResponseCode
{
get;
set;
}
///
/// Signed exchange response headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("responseHeaders")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Headers ResponseHeaders
{
get;
set;
}
///
/// Signed exchange response signature.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatures")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Signatures
{
get;
set;
}
///
/// Signed exchange header integrity hash in the form of "sha256-<base64-hash-value> ".
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headerIntegrity")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string HeaderIntegrity
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Field type for a signed exchange related error.
///
public enum SignedExchangeErrorField
{
///
/// signatureSig
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureSig")]
SignatureSig,
///
/// signatureIntegrity
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureIntegrity")]
SignatureIntegrity,
///
/// signatureCertUrl
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureCertUrl")]
SignatureCertUrl,
///
/// signatureCertSha256
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureCertSha256")]
SignatureCertSha256,
///
/// signatureValidityUrl
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureValidityUrl")]
SignatureValidityUrl,
///
/// signatureTimestamps
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureTimestamps")]
SignatureTimestamps
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about a signed exchange response.
///
public class SignedExchangeError : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Error message.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("message")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Message
{
get;
set;
}
///
/// The index of the signature which caused the error.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signatureIndex")]
public int? SignatureIndex
{
get;
set;
}
///
/// The field which caused the error.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errorField")]
public CefSharp.DevTools.Network.SignedExchangeErrorField? ErrorField
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// Information about a signed exchange response.
///
public class SignedExchangeInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The outer response of signed HTTP exchange which was received from network.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("outerResponse")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.Response OuterResponse
{
get;
set;
}
///
/// Information about the signed exchange header.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("header")]
public CefSharp.DevTools.Network.SignedExchangeHeader Header
{
get;
set;
}
///
/// Security details for the signed exchange header.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityDetails")]
public CefSharp.DevTools.Network.SecurityDetails SecurityDetails
{
get;
set;
}
///
/// Errors occurred while handling the signed exchagne.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errors")]
public System.Collections.Generic.IList Errors
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// CrossOriginOpenerPolicyValue
///
public enum CrossOriginOpenerPolicyValue
{
///
/// SameOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOrigin")]
SameOrigin,
///
/// SameOriginAllowPopups
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOriginAllowPopups")]
SameOriginAllowPopups,
///
/// UnsafeNone
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("UnsafeNone")]
UnsafeNone,
///
/// SameOriginPlusCoep
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SameOriginPlusCoep")]
SameOriginPlusCoep
}
}
namespace CefSharp.DevTools.Network
{
///
/// CrossOriginOpenerPolicyStatus
///
public class CrossOriginOpenerPolicyStatus : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue Value
{
get;
set;
}
///
/// ReportOnlyValue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyValue")]
public CefSharp.DevTools.Network.CrossOriginOpenerPolicyValue ReportOnlyValue
{
get;
set;
}
///
/// ReportingEndpoint
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingEndpoint")]
public string ReportingEndpoint
{
get;
set;
}
///
/// ReportOnlyReportingEndpoint
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyReportingEndpoint")]
public string ReportOnlyReportingEndpoint
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// CrossOriginEmbedderPolicyValue
///
public enum CrossOriginEmbedderPolicyValue
{
///
/// None
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("None")]
None,
///
/// RequireCorp
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("RequireCorp")]
RequireCorp
}
}
namespace CefSharp.DevTools.Network
{
///
/// CrossOriginEmbedderPolicyStatus
///
public class CrossOriginEmbedderPolicyStatus : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue Value
{
get;
set;
}
///
/// ReportOnlyValue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyValue")]
public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyValue ReportOnlyValue
{
get;
set;
}
///
/// ReportingEndpoint
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportingEndpoint")]
public string ReportingEndpoint
{
get;
set;
}
///
/// ReportOnlyReportingEndpoint
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reportOnlyReportingEndpoint")]
public string ReportOnlyReportingEndpoint
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// SecurityIsolationStatus
///
public class SecurityIsolationStatus : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Coop
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("coop")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.CrossOriginOpenerPolicyStatus Coop
{
get;
set;
}
///
/// Coep
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("coep")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Network.CrossOriginEmbedderPolicyStatus Coep
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// An object providing the result of a network resource load.
///
public class LoadNetworkResourcePageResult : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Success
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("success")]
public bool Success
{
get;
set;
}
///
/// Optional values used for error reporting.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("netError")]
public long? NetError
{
get;
set;
}
///
/// NetErrorName
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("netErrorName")]
public string NetErrorName
{
get;
set;
}
///
/// HttpStatusCode
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("httpStatusCode")]
public long? HttpStatusCode
{
get;
set;
}
///
/// If successful, one of the following two fields holds the result.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stream")]
public string Stream
{
get;
set;
}
///
/// Response headers.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("headers")]
public CefSharp.DevTools.Network.Headers Headers
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Network
{
///
/// An options object that may be extended later to better support CORS,
/// CORB and streaming.
///
public class LoadNetworkResourceOptions : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// DisableCache
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("disableCache")]
public bool DisableCache
{
get;
set;
}
///
/// IncludeCredentials
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("includeCredentials")]
public bool IncludeCredentials
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// Configuration data for drawing the source order of an elements children.
///
public class SourceOrderConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// the color to outline the givent element in.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentOutlineColor")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.RGBA ParentOutlineColor
{
get;
set;
}
///
/// the color to outline the child elements in.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childOutlineColor")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.RGBA ChildOutlineColor
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// Configuration data for the highlighting of Grid elements.
///
public class GridHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Whether the extension lines from grid cells to the rulers should be shown (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showGridExtensionLines")]
public bool? ShowGridExtensionLines
{
get;
set;
}
///
/// Show Positive line number labels (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showPositiveLineNumbers")]
public bool? ShowPositiveLineNumbers
{
get;
set;
}
///
/// Show Negative line number labels (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showNegativeLineNumbers")]
public bool? ShowNegativeLineNumbers
{
get;
set;
}
///
/// Show area name labels (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showAreaNames")]
public bool? ShowAreaNames
{
get;
set;
}
///
/// Show line name labels (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showLineNames")]
public bool? ShowLineNames
{
get;
set;
}
///
/// Show track size labels (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showTrackSizes")]
public bool? ShowTrackSizes
{
get;
set;
}
///
/// The grid container border highlight color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBorderColor")]
public CefSharp.DevTools.DOM.RGBA GridBorderColor
{
get;
set;
}
///
/// The cell border color (default: transparent). Deprecated, please use rowLineColor and columnLineColor instead.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cellBorderColor")]
public CefSharp.DevTools.DOM.RGBA CellBorderColor
{
get;
set;
}
///
/// The row line color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rowLineColor")]
public CefSharp.DevTools.DOM.RGBA RowLineColor
{
get;
set;
}
///
/// The column line color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnLineColor")]
public CefSharp.DevTools.DOM.RGBA ColumnLineColor
{
get;
set;
}
///
/// Whether the grid border is dashed (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBorderDash")]
public bool? GridBorderDash
{
get;
set;
}
///
/// Whether the cell border is dashed (default: false). Deprecated, please us rowLineDash and columnLineDash instead.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cellBorderDash")]
public bool? CellBorderDash
{
get;
set;
}
///
/// Whether row lines are dashed (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rowLineDash")]
public bool? RowLineDash
{
get;
set;
}
///
/// Whether column lines are dashed (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnLineDash")]
public bool? ColumnLineDash
{
get;
set;
}
///
/// The row gap highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rowGapColor")]
public CefSharp.DevTools.DOM.RGBA RowGapColor
{
get;
set;
}
///
/// The row gap hatching fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rowHatchColor")]
public CefSharp.DevTools.DOM.RGBA RowHatchColor
{
get;
set;
}
///
/// The column gap highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnGapColor")]
public CefSharp.DevTools.DOM.RGBA ColumnGapColor
{
get;
set;
}
///
/// The column gap hatching fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnHatchColor")]
public CefSharp.DevTools.DOM.RGBA ColumnHatchColor
{
get;
set;
}
///
/// The named grid areas border color (Default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("areaBorderColor")]
public CefSharp.DevTools.DOM.RGBA AreaBorderColor
{
get;
set;
}
///
/// The grid container background color (Default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gridBackgroundColor")]
public CefSharp.DevTools.DOM.RGBA GridBackgroundColor
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// Configuration data for the highlighting of page elements.
///
public class HighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Whether the node info tooltip should be shown (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showInfo")]
public bool? ShowInfo
{
get;
set;
}
///
/// Whether the node styles in the tooltip (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showStyles")]
public bool? ShowStyles
{
get;
set;
}
///
/// Whether the rulers should be shown (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showRulers")]
public bool? ShowRulers
{
get;
set;
}
///
/// Whether the a11y info should be shown (default: true).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showAccessibilityInfo")]
public bool? ShowAccessibilityInfo
{
get;
set;
}
///
/// Whether the extension lines from node to the rulers should be shown (default: false).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showExtensionLines")]
public bool? ShowExtensionLines
{
get;
set;
}
///
/// The content box highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentColor")]
public CefSharp.DevTools.DOM.RGBA ContentColor
{
get;
set;
}
///
/// The padding highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paddingColor")]
public CefSharp.DevTools.DOM.RGBA PaddingColor
{
get;
set;
}
///
/// The border highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("borderColor")]
public CefSharp.DevTools.DOM.RGBA BorderColor
{
get;
set;
}
///
/// The margin highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("marginColor")]
public CefSharp.DevTools.DOM.RGBA MarginColor
{
get;
set;
}
///
/// The event target element highlight fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("eventTargetColor")]
public CefSharp.DevTools.DOM.RGBA EventTargetColor
{
get;
set;
}
///
/// The shape outside fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeColor")]
public CefSharp.DevTools.DOM.RGBA ShapeColor
{
get;
set;
}
///
/// The shape margin fill color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shapeMarginColor")]
public CefSharp.DevTools.DOM.RGBA ShapeMarginColor
{
get;
set;
}
///
/// The grid layout color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cssGridColor")]
public CefSharp.DevTools.DOM.RGBA CssGridColor
{
get;
set;
}
///
/// The color format used to format color styles (default: hex).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("colorFormat")]
public CefSharp.DevTools.Overlay.ColorFormat? ColorFormat
{
get;
set;
}
///
/// The grid layout highlight configuration (default: all transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gridHighlightConfig")]
public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// ColorFormat
///
public enum ColorFormat
{
///
/// rgb
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rgb")]
Rgb,
///
/// hsl
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hsl")]
Hsl,
///
/// hex
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hex")]
Hex
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// Configurations for Persistent Grid Highlight
///
public class GridNodeHighlightConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// A descriptor for the highlight appearance.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gridHighlightConfig")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Overlay.GridHighlightConfig GridHighlightConfig
{
get;
set;
}
///
/// Identifier of the node to highlight.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
public int NodeId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// Configuration for dual screen hinge
///
public class HingeConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// A rectangle represent hinge
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rect")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.DOM.Rect Rect
{
get;
set;
}
///
/// The content box highlight fill color (default: a dark color).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentColor")]
public CefSharp.DevTools.DOM.RGBA ContentColor
{
get;
set;
}
///
/// The content box highlight outline color (default: transparent).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("outlineColor")]
public CefSharp.DevTools.DOM.RGBA OutlineColor
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Overlay
{
///
/// InspectMode
///
public enum InspectMode
{
///
/// searchForNode
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("searchForNode")]
SearchForNode,
///
/// searchForUAShadowDOM
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("searchForUAShadowDOM")]
SearchForUAShadowDOM,
///
/// captureAreaScreenshot
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("captureAreaScreenshot")]
CaptureAreaScreenshot,
///
/// showDistances
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("showDistances")]
ShowDistances,
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None
}
}
namespace CefSharp.DevTools.Page
{
///
/// Indicates whether a frame has been identified as an ad.
///
public enum AdFrameType
{
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None,
///
/// child
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("child")]
Child,
///
/// root
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("root")]
Root
}
}
namespace CefSharp.DevTools.Page
{
///
/// Indicates whether the frame is a secure context and why it is the case.
///
public enum SecureContextType
{
///
/// Secure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Secure")]
Secure,
///
/// SecureLocalhost
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("SecureLocalhost")]
SecureLocalhost,
///
/// InsecureScheme
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecureScheme")]
InsecureScheme,
///
/// InsecureAncestor
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("InsecureAncestor")]
InsecureAncestor
}
}
namespace CefSharp.DevTools.Page
{
///
/// Indicates whether the frame is cross-origin isolated and why it is the case.
///
public enum CrossOriginIsolatedContextType
{
///
/// Isolated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Isolated")]
Isolated,
///
/// NotIsolated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NotIsolated")]
NotIsolated,
///
/// NotIsolatedFeatureDisabled
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("NotIsolatedFeatureDisabled")]
NotIsolatedFeatureDisabled
}
}
namespace CefSharp.DevTools.Page
{
///
/// Information about the Frame on the page.
///
public class Frame : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Frame unique identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Id
{
get;
set;
}
///
/// Parent frame identifier.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")]
public string ParentId
{
get;
set;
}
///
/// Identifier of the loader associated with this frame.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("loaderId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LoaderId
{
get;
set;
}
///
/// Frame's name as specified in the tag.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public string Name
{
get;
set;
}
///
/// Frame document's URL without fragment.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Frame document's URL fragment including the '#'.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("urlFragment")]
public string UrlFragment
{
get;
set;
}
///
/// Frame document's registered domain, taking the public suffixes list into account.
/// Extracted from the Frame's url.
/// Example URLs: http://www.google.com/file.html -> "google.com"
/// http://a.b.co.uk/file.html -> "b.co.uk"
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("domainAndRegistry")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string DomainAndRegistry
{
get;
set;
}
///
/// Frame document's security origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityOrigin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SecurityOrigin
{
get;
set;
}
///
/// Frame document's mimeType as determined by the browser.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string MimeType
{
get;
set;
}
///
/// If the frame failed to load, this contains the URL that could not be loaded. Note that unlike url above, this URL may contain a fragment.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unreachableUrl")]
public string UnreachableUrl
{
get;
set;
}
///
/// Indicates whether this frame was tagged as an ad.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("adFrameType")]
public CefSharp.DevTools.Page.AdFrameType? AdFrameType
{
get;
set;
}
///
/// Indicates whether the main document is a secure context and explains why that is the case.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("secureContextType")]
public CefSharp.DevTools.Page.SecureContextType SecureContextType
{
get;
set;
}
///
/// Indicates whether this is a cross origin isolated context.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("crossOriginIsolatedContextType")]
public CefSharp.DevTools.Page.CrossOriginIsolatedContextType CrossOriginIsolatedContextType
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Information about the Resource on the page.
///
public class FrameResource : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Resource URL.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Type of this resource.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
public CefSharp.DevTools.Network.ResourceType Type
{
get;
set;
}
///
/// Resource mimeType as determined by the browser.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mimeType")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string MimeType
{
get;
set;
}
///
/// last-modified timestamp as reported by server.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lastModified")]
public long? LastModified
{
get;
set;
}
///
/// Resource content size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contentSize")]
public long? ContentSize
{
get;
set;
}
///
/// True if the resource failed to load.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("failed")]
public bool? Failed
{
get;
set;
}
///
/// True if the resource was canceled during loading.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("canceled")]
public bool? Canceled
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Information about the Frame hierarchy along with their cached resources.
///
public class FrameResourceTree : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Frame information for this tree item.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Page.Frame Frame
{
get;
set;
}
///
/// Child frames.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childFrames")]
public System.Collections.Generic.IList ChildFrames
{
get;
set;
}
///
/// Information about frame resources.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resources")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Resources
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Information about the Frame hierarchy.
///
public class FrameTree : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Frame information for this tree item.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frame")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Page.Frame Frame
{
get;
set;
}
///
/// Child frames.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("childFrames")]
public System.Collections.Generic.IList ChildFrames
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Transition type.
///
public enum TransitionType
{
///
/// link
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("link")]
Link,
///
/// typed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("typed")]
Typed,
///
/// address_bar
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("address_bar")]
AddressBar,
///
/// auto_bookmark
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_bookmark")]
AutoBookmark,
///
/// auto_subframe
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_subframe")]
AutoSubframe,
///
/// manual_subframe
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("manual_subframe")]
ManualSubframe,
///
/// generated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("generated")]
Generated,
///
/// auto_toplevel
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("auto_toplevel")]
AutoToplevel,
///
/// form_submit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("form_submit")]
FormSubmit,
///
/// reload
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reload")]
Reload,
///
/// keyword
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyword")]
Keyword,
///
/// keyword_generated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyword_generated")]
KeywordGenerated,
///
/// other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("other")]
Other
}
}
namespace CefSharp.DevTools.Page
{
///
/// Navigation history entry.
///
public class NavigationEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Unique id of the navigation history entry.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public int Id
{
get;
set;
}
///
/// URL of the navigation history entry.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// URL that the user typed in the url bar.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("userTypedURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string UserTypedURL
{
get;
set;
}
///
/// Title of the navigation history entry.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Title
{
get;
set;
}
///
/// Transition type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("transitionType")]
public CefSharp.DevTools.Page.TransitionType TransitionType
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Screencast frame metadata.
///
public class ScreencastFrameMetadata : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Top offset in DIP.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetTop")]
public long OffsetTop
{
get;
set;
}
///
/// Page scale factor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageScaleFactor")]
public long PageScaleFactor
{
get;
set;
}
///
/// Device screen width in DIP.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceWidth")]
public long DeviceWidth
{
get;
set;
}
///
/// Device screen height in DIP.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceHeight")]
public long DeviceHeight
{
get;
set;
}
///
/// Position of horizontal scroll in CSS pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetX")]
public long ScrollOffsetX
{
get;
set;
}
///
/// Position of vertical scroll in CSS pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scrollOffsetY")]
public long ScrollOffsetY
{
get;
set;
}
///
/// Frame swap timestamp.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long? Timestamp
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Javascript dialog type.
///
public enum DialogType
{
///
/// alert
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("alert")]
Alert,
///
/// confirm
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("confirm")]
Confirm,
///
/// prompt
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("prompt")]
Prompt,
///
/// beforeunload
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("beforeunload")]
Beforeunload
}
}
namespace CefSharp.DevTools.Page
{
///
/// Error while paring app manifest.
///
public class AppManifestError : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Error message.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("message")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Message
{
get;
set;
}
///
/// If criticial, this is a non-recoverable parse error.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("critical")]
public int Critical
{
get;
set;
}
///
/// Error line.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("line")]
public int Line
{
get;
set;
}
///
/// Error column.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("column")]
public int Column
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Parsed app manifest properties.
///
public class AppManifestParsedProperties : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Computed scope value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scope")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Scope
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Layout viewport position and dimensions.
///
public class LayoutViewport : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Horizontal offset relative to the document (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageX")]
public int PageX
{
get;
set;
}
///
/// Vertical offset relative to the document (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageY")]
public int PageY
{
get;
set;
}
///
/// Width (CSS pixels), excludes scrollbar if present.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clientWidth")]
public int ClientWidth
{
get;
set;
}
///
/// Height (CSS pixels), excludes scrollbar if present.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHeight")]
public int ClientHeight
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Visual viewport position, dimensions, and scale.
///
public class VisualViewport : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Horizontal offset relative to the layout viewport (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetX")]
public long OffsetX
{
get;
set;
}
///
/// Vertical offset relative to the layout viewport (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offsetY")]
public long OffsetY
{
get;
set;
}
///
/// Horizontal offset relative to the document (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageX")]
public long PageX
{
get;
set;
}
///
/// Vertical offset relative to the document (CSS pixels).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageY")]
public long PageY
{
get;
set;
}
///
/// Width (CSS pixels), excludes scrollbar if present.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clientWidth")]
public long ClientWidth
{
get;
set;
}
///
/// Height (CSS pixels), excludes scrollbar if present.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clientHeight")]
public long ClientHeight
{
get;
set;
}
///
/// Scale relative to the ideal viewport (size at width=device-width).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scale")]
public long Scale
{
get;
set;
}
///
/// Page zoom factor (CSS to device independent pixels ratio).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("zoom")]
public long? Zoom
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Viewport for capturing screenshot.
///
public class Viewport : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// X offset in device independent pixels (dip).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("x")]
public long X
{
get;
set;
}
///
/// Y offset in device independent pixels (dip).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("y")]
public long Y
{
get;
set;
}
///
/// Rectangle width in device independent pixels (dip).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public long Width
{
get;
set;
}
///
/// Rectangle height in device independent pixels (dip).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public long Height
{
get;
set;
}
///
/// Page scale factor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scale")]
public long Scale
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Generic font families collection.
///
public class FontFamilies : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The standard font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("standard")]
public string Standard
{
get;
set;
}
///
/// The fixed font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fixed")]
public string Fixed
{
get;
set;
}
///
/// The serif font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("serif")]
public string Serif
{
get;
set;
}
///
/// The sansSerif font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sansSerif")]
public string SansSerif
{
get;
set;
}
///
/// The cursive font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cursive")]
public string Cursive
{
get;
set;
}
///
/// The fantasy font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fantasy")]
public string Fantasy
{
get;
set;
}
///
/// The pictograph font-family.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pictograph")]
public string Pictograph
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// Default font sizes.
///
public class FontSizes : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Default standard font size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("standard")]
public int? Standard
{
get;
set;
}
///
/// Default fixed font size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fixed")]
public int? Fixed
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// ClientNavigationReason
///
public enum ClientNavigationReason
{
///
/// formSubmissionGet
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("formSubmissionGet")]
FormSubmissionGet,
///
/// formSubmissionPost
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("formSubmissionPost")]
FormSubmissionPost,
///
/// httpHeaderRefresh
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("httpHeaderRefresh")]
HttpHeaderRefresh,
///
/// scriptInitiated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptInitiated")]
ScriptInitiated,
///
/// metaTagRefresh
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("metaTagRefresh")]
MetaTagRefresh,
///
/// pageBlockInterstitial
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pageBlockInterstitial")]
PageBlockInterstitial,
///
/// reload
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("reload")]
Reload,
///
/// anchorClick
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("anchorClick")]
AnchorClick
}
}
namespace CefSharp.DevTools.Page
{
///
/// ClientNavigationDisposition
///
public enum ClientNavigationDisposition
{
///
/// currentTab
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTab")]
CurrentTab,
///
/// newTab
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("newTab")]
NewTab,
///
/// newWindow
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("newWindow")]
NewWindow,
///
/// download
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("download")]
Download
}
}
namespace CefSharp.DevTools.Page
{
///
/// InstallabilityErrorArgument
///
public class InstallabilityErrorArgument : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Argument name (e.g. name:'minimum-icon-size-in-pixels').
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Argument value (e.g. value:'64').
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// The installability error
///
public class InstallabilityError : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The error id (e.g. 'manifest-missing-suitable-icon').
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errorId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ErrorId
{
get;
set;
}
///
/// The list of error arguments (e.g. {name:'minimum-icon-size-in-pixels', value:'64'}).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errorArguments")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ErrorArguments
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Page
{
///
/// The referring-policy used for the navigation.
///
public enum ReferrerPolicy
{
///
/// noReferrer
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("noReferrer")]
NoReferrer,
///
/// noReferrerWhenDowngrade
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("noReferrerWhenDowngrade")]
NoReferrerWhenDowngrade,
///
/// origin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
Origin,
///
/// originWhenCrossOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("originWhenCrossOrigin")]
OriginWhenCrossOrigin,
///
/// sameOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sameOrigin")]
SameOrigin,
///
/// strictOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("strictOrigin")]
StrictOrigin,
///
/// strictOriginWhenCrossOrigin
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("strictOriginWhenCrossOrigin")]
StrictOriginWhenCrossOrigin,
///
/// unsafeUrl
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unsafeUrl")]
UnsafeUrl
}
}
namespace CefSharp.DevTools.Performance
{
///
/// Run-time execution metric.
///
public class Metric : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Metric name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Metric value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public long Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// A description of mixed content (HTTP resources on HTTPS pages), as defined by
/// https://www.w3.org/TR/mixed-content/#categories
///
public enum MixedContentType
{
///
/// blockable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("blockable")]
Blockable,
///
/// optionally-blockable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("optionally-blockable")]
OptionallyBlockable,
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None
}
}
namespace CefSharp.DevTools.Security
{
///
/// The security level of a page or resource.
///
public enum SecurityState
{
///
/// unknown
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")]
Unknown,
///
/// neutral
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("neutral")]
Neutral,
///
/// insecure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("insecure")]
Insecure,
///
/// secure
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("secure")]
Secure,
///
/// info
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("info")]
Info,
///
/// insecure-broken
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("insecure-broken")]
InsecureBroken
}
}
namespace CefSharp.DevTools.Security
{
///
/// Details about the security state of the page certificate.
///
public class CertificateSecurityState : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Protocol name (e.g. "TLS 1.2" or "QUIC").
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Protocol
{
get;
set;
}
///
/// Key Exchange used by the connection, or the empty string if not applicable.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchange")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string KeyExchange
{
get;
set;
}
///
/// (EC)DH group used by the connection, if applicable.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyExchangeGroup")]
public string KeyExchangeGroup
{
get;
set;
}
///
/// Cipher name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cipher")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Cipher
{
get;
set;
}
///
/// TLS MAC. Note that AEAD ciphers do not have separate MACs.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mac")]
public string Mac
{
get;
set;
}
///
/// Page certificate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificate")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] Certificate
{
get;
set;
}
///
/// Certificate subject name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subjectName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SubjectName
{
get;
set;
}
///
/// Name of the issuing CA.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("issuer")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Issuer
{
get;
set;
}
///
/// Certificate valid from date.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("validFrom")]
public long ValidFrom
{
get;
set;
}
///
/// Certificate valid to (expiration) date
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("validTo")]
public long ValidTo
{
get;
set;
}
///
/// The highest priority network error code, if the certificate has an error.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateNetworkError")]
public string CertificateNetworkError
{
get;
set;
}
///
/// True if the certificate uses a weak signature aglorithm.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateHasWeakSignature")]
public bool CertificateHasWeakSignature
{
get;
set;
}
///
/// True if the certificate has a SHA1 signature in the chain.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateHasSha1Signature")]
public bool CertificateHasSha1Signature
{
get;
set;
}
///
/// True if modern SSL
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("modernSSL")]
public bool ModernSSL
{
get;
set;
}
///
/// True if the connection is using an obsolete SSL protocol.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslProtocol")]
public bool ObsoleteSslProtocol
{
get;
set;
}
///
/// True if the connection is using an obsolete SSL key exchange.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslKeyExchange")]
public bool ObsoleteSslKeyExchange
{
get;
set;
}
///
/// True if the connection is using an obsolete SSL cipher.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslCipher")]
public bool ObsoleteSslCipher
{
get;
set;
}
///
/// True if the connection is using an obsolete SSL signature.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("obsoleteSslSignature")]
public bool ObsoleteSslSignature
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// SafetyTipStatus
///
public enum SafetyTipStatus
{
///
/// badReputation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("badReputation")]
BadReputation,
///
/// lookalike
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lookalike")]
Lookalike
}
}
namespace CefSharp.DevTools.Security
{
///
/// SafetyTipInfo
///
public class SafetyTipInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Describes whether the page triggers any safety tips or reputation warnings. Default is unknown.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("safetyTipStatus")]
public CefSharp.DevTools.Security.SafetyTipStatus SafetyTipStatus
{
get;
set;
}
///
/// The URL the safety tip suggested ("Did you mean?"). Only filled in for lookalike matches.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("safeUrl")]
public string SafeUrl
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// Security state information about the page.
///
public class VisibleSecurityState : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The security level of the page.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")]
public CefSharp.DevTools.Security.SecurityState SecurityState
{
get;
set;
}
///
/// Security state details about the page certificate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificateSecurityState")]
public CefSharp.DevTools.Security.CertificateSecurityState CertificateSecurityState
{
get;
set;
}
///
/// The type of Safety Tip triggered on the page. Note that this field will be set even if the Safety Tip UI was not actually shown.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("safetyTipInfo")]
public CefSharp.DevTools.Security.SafetyTipInfo SafetyTipInfo
{
get;
set;
}
///
/// Array of security state issues ids.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityStateIssueIds")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] SecurityStateIssueIds
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// An explanation of an factor contributing to the security state.
///
public class SecurityStateExplanation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Security state representing the severity of the factor being explained.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("securityState")]
public CefSharp.DevTools.Security.SecurityState SecurityState
{
get;
set;
}
///
/// Title describing the type of factor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Title
{
get;
set;
}
///
/// Short phrase describing the type of factor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("summary")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Summary
{
get;
set;
}
///
/// Full text explanation of the factor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("description")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Description
{
get;
set;
}
///
/// The type of mixed content described by the explanation.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("mixedContentType")]
public CefSharp.DevTools.Security.MixedContentType MixedContentType
{
get;
set;
}
///
/// Page certificate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("certificate")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] Certificate
{
get;
set;
}
///
/// Recommendations to fix any issues.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("recommendations")]
public string[] Recommendations
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// Information about insecure content on the page.
///
public class InsecureContentStatus : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Always false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ranMixedContent")]
public bool RanMixedContent
{
get;
set;
}
///
/// Always false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedMixedContent")]
public bool DisplayedMixedContent
{
get;
set;
}
///
/// Always false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("containedMixedForm")]
public bool ContainedMixedForm
{
get;
set;
}
///
/// Always false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ranContentWithCertErrors")]
public bool RanContentWithCertErrors
{
get;
set;
}
///
/// Always false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedContentWithCertErrors")]
public bool DisplayedContentWithCertErrors
{
get;
set;
}
///
/// Always set to unknown.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ranInsecureContentStyle")]
public CefSharp.DevTools.Security.SecurityState RanInsecureContentStyle
{
get;
set;
}
///
/// Always set to unknown.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("displayedInsecureContentStyle")]
public CefSharp.DevTools.Security.SecurityState DisplayedInsecureContentStyle
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Security
{
///
/// The action to take when a certificate error occurs. continue will continue processing the
/// request and cancel will cancel the request.
///
public enum CertificateErrorAction
{
///
/// continue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("continue")]
Continue,
///
/// cancel
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cancel")]
Cancel
}
}
namespace CefSharp.DevTools.ServiceWorker
{
///
/// ServiceWorker registration.
///
public class ServiceWorkerRegistration : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// RegistrationId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RegistrationId
{
get;
set;
}
///
/// ScopeURL
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scopeURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScopeURL
{
get;
set;
}
///
/// IsDeleted
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isDeleted")]
public bool IsDeleted
{
get;
set;
}
}
}
namespace CefSharp.DevTools.ServiceWorker
{
///
/// ServiceWorkerVersionRunningStatus
///
public enum ServiceWorkerVersionRunningStatus
{
///
/// stopped
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stopped")]
Stopped,
///
/// starting
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("starting")]
Starting,
///
/// running
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("running")]
Running,
///
/// stopping
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stopping")]
Stopping
}
}
namespace CefSharp.DevTools.ServiceWorker
{
///
/// ServiceWorkerVersionStatus
///
public enum ServiceWorkerVersionStatus
{
///
/// new
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("new")]
New,
///
/// installing
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("installing")]
Installing,
///
/// installed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("installed")]
Installed,
///
/// activating
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("activating")]
Activating,
///
/// activated
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("activated")]
Activated,
///
/// redundant
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("redundant")]
Redundant
}
}
namespace CefSharp.DevTools.ServiceWorker
{
///
/// ServiceWorker version.
///
public class ServiceWorkerVersion : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// VersionId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("versionId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string VersionId
{
get;
set;
}
///
/// RegistrationId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RegistrationId
{
get;
set;
}
///
/// ScriptURL
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptURL
{
get;
set;
}
///
/// RunningStatus
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("runningStatus")]
public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionRunningStatus RunningStatus
{
get;
set;
}
///
/// Status
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("status")]
public CefSharp.DevTools.ServiceWorker.ServiceWorkerVersionStatus Status
{
get;
set;
}
///
/// The Last-Modified header value of the main script.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptLastModified")]
public long? ScriptLastModified
{
get;
set;
}
///
/// The time at which the response headers of the main script were received from the server.
/// For cached script it is the last time the cache entry was validated.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptResponseTime")]
public long? ScriptResponseTime
{
get;
set;
}
///
/// ControlledClients
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("controlledClients")]
public string[] ControlledClients
{
get;
set;
}
///
/// TargetId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")]
public string TargetId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.ServiceWorker
{
///
/// ServiceWorker error message.
///
public class ServiceWorkerErrorMessage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// ErrorMessage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errorMessage")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ErrorMessage
{
get;
set;
}
///
/// RegistrationId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("registrationId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string RegistrationId
{
get;
set;
}
///
/// VersionId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("versionId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string VersionId
{
get;
set;
}
///
/// SourceURL
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceURL")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string SourceURL
{
get;
set;
}
///
/// LineNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// ColumnNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Storage
{
///
/// Enum of possible storage types.
///
public enum StorageType
{
///
/// appcache
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("appcache")]
Appcache,
///
/// cookies
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cookies")]
Cookies,
///
/// file_systems
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("file_systems")]
FileSystems,
///
/// indexeddb
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("indexeddb")]
Indexeddb,
///
/// local_storage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("local_storage")]
LocalStorage,
///
/// shader_cache
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("shader_cache")]
ShaderCache,
///
/// websql
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("websql")]
Websql,
///
/// service_workers
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("service_workers")]
ServiceWorkers,
///
/// cache_storage
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cache_storage")]
CacheStorage,
///
/// all
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("all")]
All,
///
/// other
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("other")]
Other
}
}
namespace CefSharp.DevTools.Storage
{
///
/// Usage for a storage type.
///
public class UsageForType : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name of storage type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("storageType")]
public CefSharp.DevTools.Storage.StorageType StorageType
{
get;
set;
}
///
/// Storage usage (bytes).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("usage")]
public long Usage
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Describes a single graphics processor (GPU).
///
public class GPUDevice : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// PCI ID of the GPU vendor, if available; 0 otherwise.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("vendorId")]
public long VendorId
{
get;
set;
}
///
/// PCI ID of the GPU device, if available; 0 otherwise.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceId")]
public long DeviceId
{
get;
set;
}
///
/// Sub sys ID of the GPU, only available on Windows.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subSysId")]
public long? SubSysId
{
get;
set;
}
///
/// Revision of the GPU, only available on Windows.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("revision")]
public long? Revision
{
get;
set;
}
///
/// String description of the GPU vendor, if the PCI ID is not available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("vendorString")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string VendorString
{
get;
set;
}
///
/// String description of the GPU device, if the PCI ID is not available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("deviceString")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string DeviceString
{
get;
set;
}
///
/// String description of the GPU driver vendor.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("driverVendor")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string DriverVendor
{
get;
set;
}
///
/// String description of the GPU driver version.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("driverVersion")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string DriverVersion
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Describes the width and height dimensions of an entity.
///
public class Size : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Width in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("width")]
public int Width
{
get;
set;
}
///
/// Height in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("height")]
public int Height
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Describes a supported video decoding profile with its associated minimum and
/// maximum resolutions.
///
public class VideoDecodeAcceleratorCapability : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Video codec profile that is supported, e.g. VP9 Profile 2.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Profile
{
get;
set;
}
///
/// Maximum video dimensions in pixels supported for this |profile|.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxResolution")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.SystemInfo.Size MaxResolution
{
get;
set;
}
///
/// Minimum video dimensions in pixels supported for this |profile|.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minResolution")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.SystemInfo.Size MinResolution
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Describes a supported video encoding profile with its associated maximum
/// resolution and maximum framerate.
///
public class VideoEncodeAcceleratorCapability : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Video codec profile that is supported, e.g H264 Main.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("profile")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Profile
{
get;
set;
}
///
/// Maximum video dimensions in pixels supported for this |profile|.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxResolution")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.SystemInfo.Size MaxResolution
{
get;
set;
}
///
/// Maximum encoding framerate in frames per second supported for this
/// |profile|, as fraction's numerator and denominator, e.g. 24/1 fps,
/// 24000/1001 fps, etc.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxFramerateNumerator")]
public int MaxFramerateNumerator
{
get;
set;
}
///
/// MaxFramerateDenominator
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxFramerateDenominator")]
public int MaxFramerateDenominator
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// YUV subsampling type of the pixels of a given image.
///
public enum SubsamplingFormat
{
///
/// yuv420
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv420")]
Yuv420,
///
/// yuv422
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv422")]
Yuv422,
///
/// yuv444
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("yuv444")]
Yuv444
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Image format of a given image.
///
public enum ImageType
{
///
/// jpeg
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("jpeg")]
Jpeg,
///
/// webp
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("webp")]
Webp,
///
/// unknown
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unknown")]
Unknown
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Describes a supported image decoding profile with its associated minimum and
/// maximum resolutions and subsampling.
///
public class ImageDecodeAcceleratorCapability : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Image coded, e.g. Jpeg.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("imageType")]
public CefSharp.DevTools.SystemInfo.ImageType ImageType
{
get;
set;
}
///
/// Maximum supported dimensions of the image in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxDimensions")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.SystemInfo.Size MaxDimensions
{
get;
set;
}
///
/// Minimum supported dimensions of the image in pixels.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minDimensions")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.SystemInfo.Size MinDimensions
{
get;
set;
}
///
/// Optional array of supported subsampling formats, e.g. 4:2:0, if known.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subsamplings")]
public CefSharp.DevTools.SystemInfo.SubsamplingFormat[] Subsamplings
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Provides information about the GPU(s) on the system.
///
public class GPUInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The graphics devices on the system. Element 0 is the primary GPU.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("devices")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Devices
{
get;
set;
}
///
/// An optional dictionary of additional GPU related attributes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("auxAttributes")]
public object AuxAttributes
{
get;
set;
}
///
/// An optional dictionary of graphics features and their status.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("featureStatus")]
public object FeatureStatus
{
get;
set;
}
///
/// An optional array of GPU driver bug workarounds.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("driverBugWorkarounds")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string[] DriverBugWorkarounds
{
get;
set;
}
///
/// Supported accelerated video decoding capabilities.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("videoDecoding")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList VideoDecoding
{
get;
set;
}
///
/// Supported accelerated video encoding capabilities.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("videoEncoding")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList VideoEncoding
{
get;
set;
}
///
/// Supported accelerated image decoding capabilities.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("imageDecoding")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ImageDecoding
{
get;
set;
}
}
}
namespace CefSharp.DevTools.SystemInfo
{
///
/// Represents process info.
///
public class ProcessInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Specifies process type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Specifies process id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public int Id
{
get;
set;
}
///
/// Specifies cumulative CPU usage in seconds across all threads of the
/// process since the process start.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cpuTime")]
public long CpuTime
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Target
{
///
/// TargetInfo
///
public class TargetInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// TargetId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("targetId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string TargetId
{
get;
set;
}
///
/// Type
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Title
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("title")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Title
{
get;
set;
}
///
/// Url
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Whether the target has an attached client.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attached")]
public bool Attached
{
get;
set;
}
///
/// Opener target Id
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("openerId")]
public string OpenerId
{
get;
set;
}
///
/// Whether the target has access to the originating window.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("canAccessOpener")]
public bool CanAccessOpener
{
get;
set;
}
///
/// Frame id of originating window (is only set if target has an opener).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("openerFrameId")]
public string OpenerFrameId
{
get;
set;
}
///
/// BrowserContextId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("browserContextId")]
public string BrowserContextId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Target
{
///
/// RemoteLocation
///
public class RemoteLocation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Host
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("host")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Host
{
get;
set;
}
///
/// Port
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("port")]
public int Port
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Tracing
{
///
/// TraceConfig
///
public class TraceConfig : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Controls how the trace buffer stores data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("recordMode")]
public string RecordMode
{
get;
set;
}
///
/// Turns on JavaScript stack sampling.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("enableSampling")]
public bool? EnableSampling
{
get;
set;
}
///
/// Turns on system tracing.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("enableSystrace")]
public bool? EnableSystrace
{
get;
set;
}
///
/// Turns on argument filter.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("enableArgumentFilter")]
public bool? EnableArgumentFilter
{
get;
set;
}
///
/// Included category filters.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("includedCategories")]
public string[] IncludedCategories
{
get;
set;
}
///
/// Excluded category filters.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("excludedCategories")]
public string[] ExcludedCategories
{
get;
set;
}
///
/// Configuration to synthesize the delays in tracing.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("syntheticDelays")]
public string[] SyntheticDelays
{
get;
set;
}
///
/// Configuration for memory dump triggers. Used only when "memory-infra" category is enabled.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("memoryDumpConfig")]
public CefSharp.DevTools.Tracing.MemoryDumpConfig MemoryDumpConfig
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Tracing
{
///
/// Data format of a trace. Can be either the legacy JSON format or the
/// protocol buffer format. Note that the JSON format will be deprecated soon.
///
public enum StreamFormat
{
///
/// json
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("json")]
Json,
///
/// proto
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("proto")]
Proto
}
}
namespace CefSharp.DevTools.Tracing
{
///
/// Compression type to use for traces returned via streams.
///
public enum StreamCompression
{
///
/// none
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("none")]
None,
///
/// gzip
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("gzip")]
Gzip
}
}
namespace CefSharp.DevTools.Fetch
{
///
/// Stages of the request to handle. Request will intercept before the request is
/// sent. Response will intercept after the response is received (but before response
/// body is received.
///
public enum RequestStage
{
///
/// Request
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Request")]
Request,
///
/// Response
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("Response")]
Response
}
}
namespace CefSharp.DevTools.Fetch
{
///
/// RequestPattern
///
public class RequestPattern : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Wildcards ('*' -> zero or more, '?' -> exactly one) are allowed. Escape character is
/// backslash. Omitting is equivalent to "*".
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("urlPattern")]
public string UrlPattern
{
get;
set;
}
///
/// If set, only requests for matching resource types will be intercepted.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("resourceType")]
public CefSharp.DevTools.Network.ResourceType? ResourceType
{
get;
set;
}
///
/// Stage at wich to begin intercepting requests. Default is Request.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("requestStage")]
public CefSharp.DevTools.Fetch.RequestStage? RequestStage
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Fetch
{
///
/// Response HTTP header entry
///
public class HeaderEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Fetch
{
///
/// Authorization challenge for HTTP status code 401 or 407.
///
public class AuthChallenge : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Source of the authentication challenge.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("source")]
public string Source
{
get;
set;
}
///
/// Origin of the challenger.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Origin
{
get;
set;
}
///
/// The authentication scheme used, such as basic or digest
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scheme")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Scheme
{
get;
set;
}
///
/// The realm of the challenge. May be empty.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("realm")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Realm
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Fetch
{
///
/// Response to an AuthChallenge.
///
public class AuthChallengeResponse : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The decision on what to do in response to the authorization challenge. Default means
/// deferring to the default behavior of the net stack, which will likely either the Cancel
/// authentication or display a popup dialog box.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("response")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Response
{
get;
set;
}
///
/// The username to provide, possibly empty. Should only be set if response is
/// ProvideCredentials.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("username")]
public string Username
{
get;
set;
}
///
/// The password to provide, possibly empty. Should only be set if response is
/// ProvideCredentials.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("password")]
public string Password
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Enum of BaseAudioContext types
///
public enum ContextType
{
///
/// realtime
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("realtime")]
Realtime,
///
/// offline
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offline")]
Offline
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Enum of AudioContextState from the spec
///
public enum ContextState
{
///
/// suspended
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("suspended")]
Suspended,
///
/// running
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("running")]
Running,
///
/// closed
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("closed")]
Closed
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Enum of AudioNode::ChannelCountMode from the spec
///
public enum ChannelCountMode
{
///
/// clamped-max
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("clamped-max")]
ClampedMax,
///
/// explicit
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("explicit")]
Explicit,
///
/// max
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("max")]
Max
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Enum of AudioNode::ChannelInterpretation from the spec
///
public enum ChannelInterpretation
{
///
/// discrete
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("discrete")]
Discrete,
///
/// speakers
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("speakers")]
Speakers
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Enum of AudioParam::AutomationRate from the spec
///
public enum AutomationRate
{
///
/// a-rate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("a-rate")]
ARate,
///
/// k-rate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("k-rate")]
KRate
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Fields in AudioContext that change in real-time.
///
public class ContextRealtimeData : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The current context time in second in BaseAudioContext.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")]
public long CurrentTime
{
get;
set;
}
///
/// The time spent on rendering graph divided by render qunatum duration,
/// and multiplied by 100. 100 means the audio renderer reached the full
/// capacity and glitch may occur.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("renderCapacity")]
public long RenderCapacity
{
get;
set;
}
///
/// A running mean of callback interval.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackIntervalMean")]
public long CallbackIntervalMean
{
get;
set;
}
///
/// A running variance of callback interval.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackIntervalVariance")]
public long CallbackIntervalVariance
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Protocol object for BaseAudioContext
///
public class BaseAudioContext : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// ContextId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ContextId
{
get;
set;
}
///
/// ContextType
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextType")]
public CefSharp.DevTools.WebAudio.ContextType ContextType
{
get;
set;
}
///
/// ContextState
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextState")]
public CefSharp.DevTools.WebAudio.ContextState ContextState
{
get;
set;
}
///
/// RealtimeData
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("realtimeData")]
public CefSharp.DevTools.WebAudio.ContextRealtimeData RealtimeData
{
get;
set;
}
///
/// Platform-dependent callback buffer size.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callbackBufferSize")]
public long CallbackBufferSize
{
get;
set;
}
///
/// Number of output channels supported by audio hardware in use.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxOutputChannelCount")]
public long MaxOutputChannelCount
{
get;
set;
}
///
/// Context sample rate.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sampleRate")]
public long SampleRate
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Protocol object for AudioListener
///
public class AudioListener : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// ListenerId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("listenerId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ListenerId
{
get;
set;
}
///
/// ContextId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ContextId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Protocol object for AudioNode
///
public class AudioNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// NodeId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeId
{
get;
set;
}
///
/// ContextId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ContextId
{
get;
set;
}
///
/// NodeType
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeType")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeType
{
get;
set;
}
///
/// NumberOfInputs
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("numberOfInputs")]
public long NumberOfInputs
{
get;
set;
}
///
/// NumberOfOutputs
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("numberOfOutputs")]
public long NumberOfOutputs
{
get;
set;
}
///
/// ChannelCount
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("channelCount")]
public long ChannelCount
{
get;
set;
}
///
/// ChannelCountMode
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("channelCountMode")]
public CefSharp.DevTools.WebAudio.ChannelCountMode ChannelCountMode
{
get;
set;
}
///
/// ChannelInterpretation
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("channelInterpretation")]
public CefSharp.DevTools.WebAudio.ChannelInterpretation ChannelInterpretation
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAudio
{
///
/// Protocol object for AudioParam
///
public class AudioParam : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// ParamId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paramId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ParamId
{
get;
set;
}
///
/// NodeId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string NodeId
{
get;
set;
}
///
/// ContextId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("contextId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ContextId
{
get;
set;
}
///
/// ParamType
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("paramType")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ParamType
{
get;
set;
}
///
/// Rate
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rate")]
public CefSharp.DevTools.WebAudio.AutomationRate Rate
{
get;
set;
}
///
/// DefaultValue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("defaultValue")]
public long DefaultValue
{
get;
set;
}
///
/// MinValue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("minValue")]
public long MinValue
{
get;
set;
}
///
/// MaxValue
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("maxValue")]
public long MaxValue
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAuthn
{
///
/// AuthenticatorProtocol
///
public enum AuthenticatorProtocol
{
///
/// u2f
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("u2f")]
U2f,
///
/// ctap2
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ctap2")]
Ctap2
}
}
namespace CefSharp.DevTools.WebAuthn
{
///
/// AuthenticatorTransport
///
public enum AuthenticatorTransport
{
///
/// usb
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("usb")]
Usb,
///
/// nfc
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nfc")]
Nfc,
///
/// ble
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ble")]
Ble,
///
/// cable
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cable")]
Cable,
///
/// internal
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("internal")]
Internal
}
}
namespace CefSharp.DevTools.WebAuthn
{
///
/// VirtualAuthenticatorOptions
///
public class VirtualAuthenticatorOptions : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Protocol
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protocol")]
public CefSharp.DevTools.WebAuthn.AuthenticatorProtocol Protocol
{
get;
set;
}
///
/// Transport
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("transport")]
public CefSharp.DevTools.WebAuthn.AuthenticatorTransport Transport
{
get;
set;
}
///
/// Defaults to false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hasResidentKey")]
public bool? HasResidentKey
{
get;
set;
}
///
/// Defaults to false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hasUserVerification")]
public bool? HasUserVerification
{
get;
set;
}
///
/// If set to true, tests of user presence will succeed immediately.
/// Otherwise, they will not be resolved. Defaults to true.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("automaticPresenceSimulation")]
public bool? AutomaticPresenceSimulation
{
get;
set;
}
///
/// Sets whether User Verification succeeds or fails for an authenticator.
/// Defaults to false.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isUserVerified")]
public bool? IsUserVerified
{
get;
set;
}
}
}
namespace CefSharp.DevTools.WebAuthn
{
///
/// Credential
///
public class Credential : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// CredentialId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("credentialId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public byte[] CredentialId
{
get;
set;
}
///
/// IsResidentCredential
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isResidentCredential")]
public bool IsResidentCredential
{
get;
set;
}
///
/// Relying Party ID the credential is scoped to. Must be set when adding a
/// credential.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rpId")]
public string RpId
{
get;
set;
}
///
/// The ECDSA P-256 private key in PKCS#8 format.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("privateKey")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public byte[] PrivateKey
{
get;
set;
}
///
/// An opaque byte sequence with a maximum size of 64 bytes mapping the
/// credential to a specific user.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("userHandle")]
public byte[] UserHandle
{
get;
set;
}
///
/// Signature counter. This is incremented by one for each successful
/// assertion.
/// See https://w3c.github.io/webauthn/#signature-counter
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("signCount")]
public int SignCount
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Media
{
///
/// Have one type per entry in MediaLogRecord::Type
/// Corresponds to kMessage
///
public class PlayerMessage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Keep in sync with MediaLogMessageLevel
/// We are currently keeping the message level 'error' separate from the
/// PlayerError type because right now they represent different things,
/// this one being a DVLOG(ERROR) style log message that gets printed
/// based on what log level is selected in the UI, and the other is a
/// representation of a media::PipelineStatus object. Soon however we're
/// going to be moving away from using PipelineStatus for errors and
/// introducing a new error type which should hopefully let us integrate
/// the error log level into the PlayerError type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("level")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Level
{
get;
set;
}
///
/// Message
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("message")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Message
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Media
{
///
/// Corresponds to kMediaPropertyChange
///
public class PlayerProperty : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Media
{
///
/// Corresponds to kMediaEventTriggered
///
public class PlayerEvent : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Timestamp
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long Timestamp
{
get;
set;
}
///
/// Value
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Media
{
///
/// Corresponds to kMediaError
///
public class PlayerError : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Type
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// When this switches to using media::Status instead of PipelineStatus
/// we can remove "errorCode" and replace it with the fields from
/// a Status instance. This also seems like a duplicate of the error
/// level enum - there is a todo bug to have that level removed and
/// use this instead. (crbug.com/1068454)
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("errorCode")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ErrorCode
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Location in the source code.
///
public class Location : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Script identifier as reported in the `Debugger.scriptParsed`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// Line number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// Column number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int? ColumnNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Location in the source code.
///
public class ScriptPosition : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// LineNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// ColumnNumber
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Location range within one script.
///
public class LocationRange : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// ScriptId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// Start
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("start")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Debugger.ScriptPosition Start
{
get;
set;
}
///
/// End
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("end")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Debugger.ScriptPosition End
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// JavaScript call frame. Array of call frames form the call stack.
///
public class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Call frame identifier. This identifier is only valid while the virtual machine is paused.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrameId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string CallFrameId
{
get;
set;
}
///
/// Name of the JavaScript function called on this call frame.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FunctionName
{
get;
set;
}
///
/// Location in the source code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functionLocation")]
public CefSharp.DevTools.Debugger.Location FunctionLocation
{
get;
set;
}
///
/// Location in the source code.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("location")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Debugger.Location Location
{
get;
set;
}
///
/// JavaScript script name or url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Scope chain for this call frame.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scopeChain")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList ScopeChain
{
get;
set;
}
///
/// `this` object for this call frame.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("this")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.RemoteObject This
{
get;
set;
}
///
/// The value being returned, if the function is at return point.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("returnValue")]
public CefSharp.DevTools.Runtime.RemoteObject ReturnValue
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Scope description.
///
public class Scope : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Scope type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Object representing the scope. For `global` and `with` scopes it represents the actual
/// object; for the rest of the scopes, it is artificial transient object enumerating scope
/// variables as its properties.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("object")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.RemoteObject Object
{
get;
set;
}
///
/// Name
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
public string Name
{
get;
set;
}
///
/// Location in the source code where scope starts
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startLocation")]
public CefSharp.DevTools.Debugger.Location StartLocation
{
get;
set;
}
///
/// Location in the source code where scope ends
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endLocation")]
public CefSharp.DevTools.Debugger.Location EndLocation
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Search match for resource.
///
public class SearchMatch : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Line number in resource content.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public long LineNumber
{
get;
set;
}
///
/// Line with match content.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineContent")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string LineContent
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// BreakLocation
///
public class BreakLocation : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Script identifier as reported in the `Debugger.scriptParsed`.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// Line number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// Column number in the script (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int? ColumnNumber
{
get;
set;
}
///
/// Type
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
public string Type
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Enum of possible script languages.
///
public enum ScriptLanguage
{
///
/// JavaScript
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("JavaScript")]
JavaScript,
///
/// WebAssembly
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("WebAssembly")]
WebAssembly
}
}
namespace CefSharp.DevTools.Debugger
{
///
/// Debug symbols available for a wasm script.
///
public class DebugSymbols : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Type of the debug symbols.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// URL of the external symbol source.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("externalURL")]
public string ExternalURL
{
get;
set;
}
}
}
namespace CefSharp.DevTools.HeapProfiler
{
///
/// Sampling Heap Profile node. Holds callsite information, allocation statistics and child nodes.
///
public class SamplingHeapProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Function location.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrame")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.CallFrame CallFrame
{
get;
set;
}
///
/// Allocations size in bytes for the node excluding children.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selfSize")]
public long SelfSize
{
get;
set;
}
///
/// Node id. Ids are unique across all profiles collected between startSampling and stopSampling.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public int Id
{
get;
set;
}
///
/// Child nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("children")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Children
{
get;
set;
}
}
}
namespace CefSharp.DevTools.HeapProfiler
{
///
/// A single sample from a sampling profile.
///
public class SamplingHeapProfileSample : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Allocation size in bytes attributed to the sample.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("size")]
public long Size
{
get;
set;
}
///
/// Id of the corresponding profile tree node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeId")]
public int NodeId
{
get;
set;
}
///
/// Time-ordered sample ordinal number. It is unique across all profiles retrieved
/// between startSampling and stopSampling.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ordinal")]
public long Ordinal
{
get;
set;
}
}
}
namespace CefSharp.DevTools.HeapProfiler
{
///
/// Sampling profile.
///
public class SamplingHeapProfile : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Head
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("head")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.HeapProfiler.SamplingHeapProfileNode Head
{
get;
set;
}
///
/// Samples
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Samples
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Profile node. Holds callsite information, execution statistics and child nodes.
///
public class ProfileNode : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Unique id of the node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public int Id
{
get;
set;
}
///
/// Function location.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrame")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.CallFrame CallFrame
{
get;
set;
}
///
/// Number of samples where this node was on top of the call stack.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("hitCount")]
public int? HitCount
{
get;
set;
}
///
/// Child node ids.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("children")]
public int[] Children
{
get;
set;
}
///
/// The reason of being not optimized. The function may be deoptimized or marked as don't
/// optimize.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("deoptReason")]
public string DeoptReason
{
get;
set;
}
///
/// An array of source position ticks.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("positionTicks")]
public System.Collections.Generic.IList PositionTicks
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Profile.
///
public class Profile : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The list of profile nodes. First item is the root node.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Nodes
{
get;
set;
}
///
/// Profiling start timestamp in microseconds.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startTime")]
public long StartTime
{
get;
set;
}
///
/// Profiling end timestamp in microseconds.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endTime")]
public long EndTime
{
get;
set;
}
///
/// Ids of samples top nodes.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("samples")]
public int[] Samples
{
get;
set;
}
///
/// Time intervals between adjacent samples in microseconds. The first delta is relative to the
/// profile startTime.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timeDeltas")]
public int[] TimeDeltas
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Specifies a number of samples attributed to a certain source position.
///
public class PositionTickInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Source line number (1-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("line")]
public int Line
{
get;
set;
}
///
/// Number of samples attributed to the source line.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ticks")]
public int Ticks
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Coverage data for a source range.
///
public class CoverageRange : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript script source offset for the range start.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("startOffset")]
public int StartOffset
{
get;
set;
}
///
/// JavaScript script source offset for the range end.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("endOffset")]
public int EndOffset
{
get;
set;
}
///
/// Collected execution count of the source range.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("count")]
public int Count
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Coverage data for a JavaScript function.
///
public class FunctionCoverage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript function name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FunctionName
{
get;
set;
}
///
/// Source ranges inside the function with coverage data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ranges")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Ranges
{
get;
set;
}
///
/// Whether coverage data for this function has block granularity.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isBlockCoverage")]
public bool IsBlockCoverage
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Coverage data for a JavaScript script.
///
public class ScriptCoverage : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript script id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// JavaScript script name or url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Functions contained in the script that has coverage data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functions")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Functions
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Describes a type collected during runtime.
///
public class TypeObject : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Name of a type collected with type profiling.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Source offset and types for a parameter or return value.
///
public class TypeProfileEntry : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Source offset of the parameter or end of function for return values.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("offset")]
public int Offset
{
get;
set;
}
///
/// The types for this parameter or return value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("types")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Types
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Type profile data collected during runtime for a JavaScript script.
///
public class ScriptTypeProfile : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript script id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// JavaScript script name or url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// Type profile entries for parameters and return values of the functions in the script.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Entries
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Collected counter information.
///
public class CounterInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Counter name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Counter value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public int Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Profiler
{
///
/// Runtime call counter information.
///
public class RuntimeCallCounterInfo : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Counter name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Counter value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public long Value
{
get;
set;
}
///
/// Counter time in seconds.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("time")]
public long Time
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Mirror object referencing original JavaScript object.
///
public class RemoteObject : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Object type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Object subtype hint. Specified for `object` or `wasm` type values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")]
public string Subtype
{
get;
set;
}
///
/// Object class (constructor) name. Specified for `object` type values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("className")]
public string ClassName
{
get;
set;
}
///
/// Remote object value in case of primitive values or JSON values (if it was requested).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public object Value
{
get;
set;
}
///
/// Primitive value which can not be JSON-stringified does not have `value`, but gets this
/// property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unserializableValue")]
public string UnserializableValue
{
get;
set;
}
///
/// String representation of the object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("description")]
public string Description
{
get;
set;
}
///
/// Unique object identifier (for non-primitive values).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("objectId")]
public string ObjectId
{
get;
set;
}
///
/// Preview containing abbreviated property values. Specified for `object` type values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("preview")]
public CefSharp.DevTools.Runtime.ObjectPreview Preview
{
get;
set;
}
///
/// CustomPreview
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("customPreview")]
public CefSharp.DevTools.Runtime.CustomPreview CustomPreview
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// CustomPreview
///
public class CustomPreview : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// The JSON-stringified result of formatter.header(object, config) call.
/// It contains json ML array that represents RemoteObject.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("header")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Header
{
get;
set;
}
///
/// If formatter returns true as a result of formatter.hasBody call then bodyGetterId will
/// contain RemoteObjectId for the function that returns result of formatter.body(object, config) call.
/// The result value is json ML array.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bodyGetterId")]
public string BodyGetterId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Object containing abbreviated remote object value.
///
public class ObjectPreview : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Object type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// Object subtype hint. Specified for `object` type values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")]
public string Subtype
{
get;
set;
}
///
/// String representation of the object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("description")]
public string Description
{
get;
set;
}
///
/// True iff some of the properties or entries of the original object did not fit.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("overflow")]
public bool Overflow
{
get;
set;
}
///
/// List of the properties.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("properties")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList Properties
{
get;
set;
}
///
/// List of the entries. Specified for `map` and `set` subtype values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("entries")]
public System.Collections.Generic.IList Entries
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// PropertyPreview
///
public class PropertyPreview : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Object type. Accessor means that the property itself is an accessor property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("type")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Type
{
get;
set;
}
///
/// User-friendly property value string.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public string Value
{
get;
set;
}
///
/// Nested value preview.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("valuePreview")]
public CefSharp.DevTools.Runtime.ObjectPreview ValuePreview
{
get;
set;
}
///
/// Object subtype hint. Specified for `object` type values only.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("subtype")]
public string Subtype
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// EntryPreview
///
public class EntryPreview : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Preview of the key. Specified for map-like collection entries.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("key")]
public CefSharp.DevTools.Runtime.ObjectPreview Key
{
get;
set;
}
///
/// Preview of the value.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public CefSharp.DevTools.Runtime.ObjectPreview Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Object property descriptor.
///
public class PropertyDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Property name or symbol description.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// The value associated with the property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Runtime.RemoteObject Value
{
get;
set;
}
///
/// True if the value associated with the property may be changed (data descriptors only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("writable")]
public bool? Writable
{
get;
set;
}
///
/// A function which serves as a getter for the property, or `undefined` if there is no getter
/// (accessor descriptors only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("get")]
public CefSharp.DevTools.Runtime.RemoteObject Get
{
get;
set;
}
///
/// A function which serves as a setter for the property, or `undefined` if there is no setter
/// (accessor descriptors only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("set")]
public CefSharp.DevTools.Runtime.RemoteObject Set
{
get;
set;
}
///
/// True if the type of this property descriptor may be changed and if the property may be
/// deleted from the corresponding object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("configurable")]
public bool Configurable
{
get;
set;
}
///
/// True if this property shows up during enumeration of the properties on the corresponding
/// object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("enumerable")]
public bool Enumerable
{
get;
set;
}
///
/// True if the result was thrown during the evaluation.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("wasThrown")]
public bool? WasThrown
{
get;
set;
}
///
/// True if the property is owned for the object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("isOwn")]
public bool? IsOwn
{
get;
set;
}
///
/// Property symbol object, if the property is of the `symbol` type.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("symbol")]
public CefSharp.DevTools.Runtime.RemoteObject Symbol
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Object internal property descriptor. This property isn't normally visible in JavaScript code.
///
public class InternalPropertyDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Conventional property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// The value associated with the property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Runtime.RemoteObject Value
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Object private field descriptor.
///
public class PrivatePropertyDescriptor : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Private property name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// The value associated with the private property.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public CefSharp.DevTools.Runtime.RemoteObject Value
{
get;
set;
}
///
/// A function which serves as a getter for the private property,
/// or `undefined` if there is no getter (accessor descriptors only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("get")]
public CefSharp.DevTools.Runtime.RemoteObject Get
{
get;
set;
}
///
/// A function which serves as a setter for the private property,
/// or `undefined` if there is no setter (accessor descriptors only).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("set")]
public CefSharp.DevTools.Runtime.RemoteObject Set
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Represents function call argument. Either remote object id `objectId`, primitive `value`,
/// unserializable primitive value or neither of (for undefined) them should be specified.
///
public class CallArgument : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Primitive value or serializable javascript object.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("value")]
public object Value
{
get;
set;
}
///
/// Primitive value which can not be JSON-stringified.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("unserializableValue")]
public string UnserializableValue
{
get;
set;
}
///
/// Remote object handle.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("objectId")]
public string ObjectId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Description of an isolated world.
///
public class ExecutionContextDescription : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Unique id of the execution context. It can be used to specify in which execution context
/// script evaluation should be performed.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
public int Id
{
get;
set;
}
///
/// Execution context origin.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("origin")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Origin
{
get;
set;
}
///
/// Human readable name describing given context.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("name")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Name
{
get;
set;
}
///
/// Embedder-specific auxiliary data.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("auxData")]
public object AuxData
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Detailed information about exception (or error) that was thrown during script compilation or
/// execution.
///
public class ExceptionDetails : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Exception id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("exceptionId")]
public int ExceptionId
{
get;
set;
}
///
/// Exception text, which should be used together with exception object when available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Text
{
get;
set;
}
///
/// Line number of the exception location (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// Column number of the exception location (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
///
/// Script ID of the exception location.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
public string ScriptId
{
get;
set;
}
///
/// URL of the exception location, to be used when the script was not reported.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
public string Url
{
get;
set;
}
///
/// JavaScript stack trace if available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("stackTrace")]
public CefSharp.DevTools.Runtime.StackTrace StackTrace
{
get;
set;
}
///
/// Exception object if available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("exception")]
public CefSharp.DevTools.Runtime.RemoteObject Exception
{
get;
set;
}
///
/// Identifier of the context where exception happened.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("executionContextId")]
public int? ExecutionContextId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Stack entry for runtime errors and assertions.
///
public class CallFrame : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// JavaScript function name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("functionName")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string FunctionName
{
get;
set;
}
///
/// JavaScript script id.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("scriptId")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string ScriptId
{
get;
set;
}
///
/// JavaScript script name or url.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("url")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Url
{
get;
set;
}
///
/// JavaScript script line number (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("lineNumber")]
public int LineNumber
{
get;
set;
}
///
/// JavaScript script column number (0-based).
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("columnNumber")]
public int ColumnNumber
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// Call frames for assertions or error messages.
///
public class StackTrace : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// String label of this stack trace. For async traces this may be a name of the function that
/// initiated the async call.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("description")]
public string Description
{
get;
set;
}
///
/// JavaScript function name.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("callFrames")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public System.Collections.Generic.IList CallFrames
{
get;
set;
}
///
/// Asynchronous JavaScript stack trace that preceded this stack, if available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parent")]
public CefSharp.DevTools.Runtime.StackTrace Parent
{
get;
set;
}
///
/// Asynchronous JavaScript stack trace that preceded this stack, if available.
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("parentId")]
public CefSharp.DevTools.Runtime.StackTraceId ParentId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Runtime
{
///
/// If `debuggerId` is set stack trace comes from another debugger and can be resolved there. This
/// allows to track cross-debugger calls. See `Runtime.StackTrace` and `Debugger.paused` for usages.
///
public class StackTraceId : CefSharp.DevTools.DevToolsDomainEntityBase
{
///
/// Id
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("id")]
[System.Diagnostics.CodeAnalysis.DisallowNull]
public string Id
{
get;
set;
}
///
/// DebuggerId
///
[System.Text.Json.Serialization.JsonPropertyNameAttribute("debuggerId")]
public string DebuggerId
{
get;
set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// GetPartialAXTreeResponse
///
public class GetPartialAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// nodes
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")]
public System.Collections.Generic.IList Nodes
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// GetFullAXTreeResponse
///
public class GetFullAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// nodes
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")]
public System.Collections.Generic.IList Nodes
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
///
/// QueryAXTreeResponse
///
public class QueryAXTreeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// nodes
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodes")]
public System.Collections.Generic.IList Nodes
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Accessibility
{
using System.Linq;
///
/// Accessibility
///
public partial class AccessibilityClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public AccessibilityClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
///
/// Disables the accessibility domain.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DisableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Accessibility.disable", dict);
return methodResult;
}
///
/// Enables the accessibility domain which causes `AXNodeId`s to remain consistent between method calls.
/// This turns on accessibility for the page, which can impact performance until accessibility is disabled.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task EnableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Accessibility.enable", dict);
return methodResult;
}
partial void ValidateGetPartialAXTree(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? fetchRelatives = null);
///
/// Fetches the accessibility node and partial accessibility tree for this DOM node, if it exists.
///
/// Identifier of the node to get the partial accessibility tree for.
/// Identifier of the backend node to get the partial accessibility tree for.
/// JavaScript object id of the node wrapper to get the partial accessibility tree for.
/// Whether to fetch this nodes ancestors, siblings and children. Defaults to true.
/// returns System.Threading.Tasks.Task<GetPartialAXTreeResponse>
public async System.Threading.Tasks.Task GetPartialAXTreeAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, bool? fetchRelatives = null)
{
ValidateGetPartialAXTree(nodeId, backendNodeId, objectId, fetchRelatives);
var dict = new System.Collections.Generic.Dictionary();
if (nodeId.HasValue)
{
dict.Add("nodeId", nodeId.Value);
}
if (backendNodeId.HasValue)
{
dict.Add("backendNodeId", backendNodeId.Value);
}
if (!(string.IsNullOrEmpty(objectId)))
{
dict.Add("objectId", objectId);
}
if (fetchRelatives.HasValue)
{
dict.Add("fetchRelatives", fetchRelatives.Value);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Accessibility.getPartialAXTree", dict);
return methodResult.DeserializeJson();
}
///
/// Fetches the entire accessibility tree
///
/// returns System.Threading.Tasks.Task<GetFullAXTreeResponse>
public async System.Threading.Tasks.Task GetFullAXTreeAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Accessibility.getFullAXTree", dict);
return methodResult.DeserializeJson();
}
partial void ValidateQueryAXTree(int? nodeId = null, int? backendNodeId = null, string objectId = null, string accessibleName = null, string role = null);
///
/// Query a DOM node's accessibility subtree for accessible name and role.
/// This command computes the name and role for all nodes in the subtree, including those that are
/// ignored for accessibility, and returns those that mactch the specified name and role. If no DOM
/// node is specified, or the DOM node does not exist, the command returns an error. If neither
/// `accessibleName` or `role` is specified, it returns all the accessibility nodes in the subtree.
///
/// Identifier of the node for the root to query.
/// Identifier of the backend node for the root to query.
/// JavaScript object id of the node wrapper for the root to query.
/// Find nodes with this computed name.
/// Find nodes with this computed role.
/// returns System.Threading.Tasks.Task<QueryAXTreeResponse>
public async System.Threading.Tasks.Task QueryAXTreeAsync(int? nodeId = null, int? backendNodeId = null, string objectId = null, string accessibleName = null, string role = null)
{
ValidateQueryAXTree(nodeId, backendNodeId, objectId, accessibleName, role);
var dict = new System.Collections.Generic.Dictionary();
if (nodeId.HasValue)
{
dict.Add("nodeId", nodeId.Value);
}
if (backendNodeId.HasValue)
{
dict.Add("backendNodeId", backendNodeId.Value);
}
if (!(string.IsNullOrEmpty(objectId)))
{
dict.Add("objectId", objectId);
}
if (!(string.IsNullOrEmpty(accessibleName)))
{
dict.Add("accessibleName", accessibleName);
}
if (!(string.IsNullOrEmpty(role)))
{
dict.Add("role", role);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Accessibility.queryAXTree", dict);
return methodResult.DeserializeJson();
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// GetCurrentTimeResponse
///
public class GetCurrentTimeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// currentTime
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("currentTime")]
public long CurrentTime
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// GetPlaybackRateResponse
///
public class GetPlaybackRateResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// playbackRate
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("playbackRate")]
public long PlaybackRate
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Animation
{
///
/// ResolveAnimationResponse
///
public class ResolveAnimationResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// remoteObject
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("remoteObject")]
public CefSharp.DevTools.Runtime.RemoteObject RemoteObject
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Animation
{
using System.Linq;
///
/// Animation
///
public partial class AnimationClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public AnimationClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
///
/// Disables animation domain notifications.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DisableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.disable", dict);
return methodResult;
}
///
/// Enables animation domain notifications.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task EnableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.enable", dict);
return methodResult;
}
partial void ValidateGetCurrentTime(string id);
///
/// Returns the current time of the an animation.
///
/// Id of animation.
/// returns System.Threading.Tasks.Task<GetCurrentTimeResponse>
public async System.Threading.Tasks.Task GetCurrentTimeAsync(string id)
{
ValidateGetCurrentTime(id);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("id", id);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.getCurrentTime", dict);
return methodResult.DeserializeJson();
}
///
/// Gets the playback rate of the document timeline.
///
/// returns System.Threading.Tasks.Task<GetPlaybackRateResponse>
public async System.Threading.Tasks.Task GetPlaybackRateAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.getPlaybackRate", dict);
return methodResult.DeserializeJson();
}
partial void ValidateReleaseAnimations(string[] animations);
///
/// Releases a set of animations to no longer be manipulated.
///
/// List of animation ids to seek.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task ReleaseAnimationsAsync(string[] animations)
{
ValidateReleaseAnimations(animations);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("animations", animations);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.releaseAnimations", dict);
return methodResult;
}
partial void ValidateResolveAnimation(string animationId);
///
/// Gets the remote object of the Animation.
///
/// Animation id.
/// returns System.Threading.Tasks.Task<ResolveAnimationResponse>
public async System.Threading.Tasks.Task ResolveAnimationAsync(string animationId)
{
ValidateResolveAnimation(animationId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("animationId", animationId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.resolveAnimation", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSeekAnimations(string[] animations, long currentTime);
///
/// Seek a set of animations to a particular time within each animation.
///
/// List of animation ids to seek.
/// Set the current time of each animation.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SeekAnimationsAsync(string[] animations, long currentTime)
{
ValidateSeekAnimations(animations, currentTime);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("animations", animations);
dict.Add("currentTime", currentTime);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.seekAnimations", dict);
return methodResult;
}
partial void ValidateSetPaused(string[] animations, bool paused);
///
/// Sets the paused state of a set of animations.
///
/// Animations to set the pause state of.
/// Paused state to set to.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetPausedAsync(string[] animations, bool paused)
{
ValidateSetPaused(animations, paused);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("animations", animations);
dict.Add("paused", paused);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.setPaused", dict);
return methodResult;
}
partial void ValidateSetPlaybackRate(long playbackRate);
///
/// Sets the playback rate of the document timeline.
///
/// Playback rate for animations on page
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetPlaybackRateAsync(long playbackRate)
{
ValidateSetPlaybackRate(playbackRate);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("playbackRate", playbackRate);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.setPlaybackRate", dict);
return methodResult;
}
partial void ValidateSetTiming(string animationId, long duration, long delay);
///
/// Sets the timing of an animation node.
///
/// Animation id.
/// Duration of the animation.
/// Delay of the animation.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetTimingAsync(string animationId, long duration, long delay)
{
ValidateSetTiming(animationId, duration, delay);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("animationId", animationId);
dict.Add("duration", duration);
dict.Add("delay", delay);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Animation.setTiming", dict);
return methodResult;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// GetApplicationCacheForFrameResponse
///
public class GetApplicationCacheForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// applicationCache
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("applicationCache")]
public CefSharp.DevTools.ApplicationCache.ApplicationCache ApplicationCache
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// GetFramesWithManifestsResponse
///
public class GetFramesWithManifestsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// frameIds
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("frameIds")]
public System.Collections.Generic.IList FrameIds
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
///
/// GetManifestForFrameResponse
///
public class GetManifestForFrameResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// manifestURL
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("manifestURL")]
public string ManifestURL
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.ApplicationCache
{
using System.Linq;
///
/// ApplicationCache
///
public partial class ApplicationCacheClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public ApplicationCacheClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
///
/// Enables application cache domain notifications.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task EnableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("ApplicationCache.enable", dict);
return methodResult;
}
partial void ValidateGetApplicationCacheForFrame(string frameId);
///
/// Returns relevant application cache data for the document in given frame.
///
/// Identifier of the frame containing document whose application cache is retrieved.
/// returns System.Threading.Tasks.Task<GetApplicationCacheForFrameResponse>
public async System.Threading.Tasks.Task GetApplicationCacheForFrameAsync(string frameId)
{
ValidateGetApplicationCacheForFrame(frameId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("frameId", frameId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("ApplicationCache.getApplicationCacheForFrame", dict);
return methodResult.DeserializeJson();
}
///
/// Returns array of frame identifiers with manifest urls for each frame containing a document
/// associated with some application cache.
///
/// returns System.Threading.Tasks.Task<GetFramesWithManifestsResponse>
public async System.Threading.Tasks.Task GetFramesWithManifestsAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("ApplicationCache.getFramesWithManifests", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetManifestForFrame(string frameId);
///
/// Returns manifest URL for document in the given frame.
///
/// Identifier of the frame containing document whose manifest is retrieved.
/// returns System.Threading.Tasks.Task<GetManifestForFrameResponse>
public async System.Threading.Tasks.Task GetManifestForFrameAsync(string frameId)
{
ValidateGetManifestForFrame(frameId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("frameId", frameId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("ApplicationCache.getManifestForFrame", dict);
return methodResult.DeserializeJson();
}
}
}
namespace CefSharp.DevTools.Audits
{
///
/// GetEncodedResponseResponse
///
public class GetEncodedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// body
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("body")]
public byte[] Body
{
get;
private set;
}
///
/// originalSize
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("originalSize")]
public int OriginalSize
{
get;
private set;
}
///
/// encodedSize
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("encodedSize")]
public int EncodedSize
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Audits
{
using System.Linq;
///
/// Audits domain allows investigation of page violations and possible improvements.
///
public partial class AuditsClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public AuditsClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
partial void ValidateGetEncodedResponse(string requestId, string encoding, long? quality = null, bool? sizeOnly = null);
///
/// Returns the response body and size if it were re-encoded with the specified settings. Only
/// applies to images.
///
/// Identifier of the network request to get content for.
/// The encoding to use.
/// The quality of the encoding (0-1). (defaults to 1)
/// Whether to only return the size information (defaults to false).
/// returns System.Threading.Tasks.Task<GetEncodedResponseResponse>
public async System.Threading.Tasks.Task GetEncodedResponseAsync(string requestId, string encoding, long? quality = null, bool? sizeOnly = null)
{
ValidateGetEncodedResponse(requestId, encoding, quality, sizeOnly);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("requestId", requestId);
dict.Add("encoding", encoding);
if (quality.HasValue)
{
dict.Add("quality", quality.Value);
}
if (sizeOnly.HasValue)
{
dict.Add("sizeOnly", sizeOnly.Value);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Audits.getEncodedResponse", dict);
return methodResult.DeserializeJson();
}
///
/// Disables issues domain, prevents further issues from being reported to the client.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DisableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Audits.disable", dict);
return methodResult;
}
///
/// Enables issues domain, sends the issues collected so far to the client by means of the
/// `issueAdded` event.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task EnableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Audits.enable", dict);
return methodResult;
}
}
}
namespace CefSharp.DevTools.BackgroundService
{
using System.Linq;
///
/// Defines events for background web platform features.
///
public partial class BackgroundServiceClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public BackgroundServiceClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
partial void ValidateStartObserving(CefSharp.DevTools.BackgroundService.ServiceName service);
///
/// Enables event updates for the service.
///
/// service
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task StartObservingAsync(CefSharp.DevTools.BackgroundService.ServiceName service)
{
ValidateStartObserving(service);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("service", this.EnumToString(service));
var methodResult = await _client.ExecuteDevToolsMethodAsync("BackgroundService.startObserving", dict);
return methodResult;
}
partial void ValidateStopObserving(CefSharp.DevTools.BackgroundService.ServiceName service);
///
/// Disables event updates for the service.
///
/// service
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task StopObservingAsync(CefSharp.DevTools.BackgroundService.ServiceName service)
{
ValidateStopObserving(service);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("service", this.EnumToString(service));
var methodResult = await _client.ExecuteDevToolsMethodAsync("BackgroundService.stopObserving", dict);
return methodResult;
}
partial void ValidateSetRecording(bool shouldRecord, CefSharp.DevTools.BackgroundService.ServiceName service);
///
/// Set the recording state for the service.
///
/// shouldRecord
/// service
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetRecordingAsync(bool shouldRecord, CefSharp.DevTools.BackgroundService.ServiceName service)
{
ValidateSetRecording(shouldRecord, service);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("shouldRecord", shouldRecord);
dict.Add("service", this.EnumToString(service));
var methodResult = await _client.ExecuteDevToolsMethodAsync("BackgroundService.setRecording", dict);
return methodResult;
}
partial void ValidateClearEvents(CefSharp.DevTools.BackgroundService.ServiceName service);
///
/// Clears all stored data for the service.
///
/// service
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task ClearEventsAsync(CefSharp.DevTools.BackgroundService.ServiceName service)
{
ValidateClearEvents(service);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("service", this.EnumToString(service));
var methodResult = await _client.ExecuteDevToolsMethodAsync("BackgroundService.clearEvents", dict);
return methodResult;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetVersionResponse
///
public class GetVersionResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// protocolVersion
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("protocolVersion")]
public string ProtocolVersion
{
get;
private set;
}
///
/// product
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("product")]
public string Product
{
get;
private set;
}
///
/// revision
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("revision")]
public string Revision
{
get;
private set;
}
///
/// userAgent
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("userAgent")]
public string UserAgent
{
get;
private set;
}
///
/// jsVersion
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("jsVersion")]
public string JsVersion
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetBrowserCommandLineResponse
///
public class GetBrowserCommandLineResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// arguments
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("arguments")]
public string[] Arguments
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetHistogramsResponse
///
public class GetHistogramsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// histograms
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("histograms")]
public System.Collections.Generic.IList Histograms
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetHistogramResponse
///
public class GetHistogramResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// histogram
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("histogram")]
public CefSharp.DevTools.Browser.Histogram Histogram
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetWindowBoundsResponse
///
public class GetWindowBoundsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// bounds
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")]
public CefSharp.DevTools.Browser.Bounds Bounds
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
///
/// GetWindowForTargetResponse
///
public class GetWindowForTargetResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// windowId
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("windowId")]
public int WindowId
{
get;
private set;
}
///
/// bounds
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("bounds")]
public CefSharp.DevTools.Browser.Bounds Bounds
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.Browser
{
using System.Linq;
///
/// The Browser domain defines methods and events for browser managing.
///
public partial class BrowserClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public BrowserClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
partial void ValidateSetPermission(CefSharp.DevTools.Browser.PermissionDescriptor permission, CefSharp.DevTools.Browser.PermissionSetting setting, string origin = null, string browserContextId = null);
///
/// Set permission settings for given origin.
///
/// Descriptor of permission to override.
/// Setting of the permission.
/// Origin the permission applies to, all origins if not specified.
/// Context to override. When omitted, default browser context is used.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetPermissionAsync(CefSharp.DevTools.Browser.PermissionDescriptor permission, CefSharp.DevTools.Browser.PermissionSetting setting, string origin = null, string browserContextId = null)
{
ValidateSetPermission(permission, setting, origin, browserContextId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("permission", permission.ToDictionary());
dict.Add("setting", this.EnumToString(setting));
if (!(string.IsNullOrEmpty(origin)))
{
dict.Add("origin", origin);
}
if (!(string.IsNullOrEmpty(browserContextId)))
{
dict.Add("browserContextId", browserContextId);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.setPermission", dict);
return methodResult;
}
partial void ValidateGrantPermissions(CefSharp.DevTools.Browser.PermissionType[] permissions, string origin = null, string browserContextId = null);
///
/// Grant specific permissions to the given origin and reject all others.
///
/// permissions
/// Origin the permission applies to, all origins if not specified.
/// BrowserContext to override permissions. When omitted, default browser context is used.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task GrantPermissionsAsync(CefSharp.DevTools.Browser.PermissionType[] permissions, string origin = null, string browserContextId = null)
{
ValidateGrantPermissions(permissions, origin, browserContextId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("permissions", this.EnumToString(permissions));
if (!(string.IsNullOrEmpty(origin)))
{
dict.Add("origin", origin);
}
if (!(string.IsNullOrEmpty(browserContextId)))
{
dict.Add("browserContextId", browserContextId);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.grantPermissions", dict);
return methodResult;
}
partial void ValidateResetPermissions(string browserContextId = null);
///
/// Reset all permission management for all origins.
///
/// BrowserContext to reset permissions. When omitted, default browser context is used.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task ResetPermissionsAsync(string browserContextId = null)
{
ValidateResetPermissions(browserContextId);
var dict = new System.Collections.Generic.Dictionary();
if (!(string.IsNullOrEmpty(browserContextId)))
{
dict.Add("browserContextId", browserContextId);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.resetPermissions", dict);
return methodResult;
}
partial void ValidateSetDownloadBehavior(string behavior, string browserContextId = null, string downloadPath = null);
///
/// Set the behavior when downloading a file.
///
/// Whether to allow all or deny all download requests, or use default Chrome behavior ifavailable (otherwise deny). |allowAndName| allows download and names files according totheir dowmload guids.
/// BrowserContext to set download behavior. When omitted, default browser context is used.
/// The default path to save downloaded files to. This is requred if behavior is set to 'allow'or 'allowAndName'.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetDownloadBehaviorAsync(string behavior, string browserContextId = null, string downloadPath = null)
{
ValidateSetDownloadBehavior(behavior, browserContextId, downloadPath);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("behavior", behavior);
if (!(string.IsNullOrEmpty(browserContextId)))
{
dict.Add("browserContextId", browserContextId);
}
if (!(string.IsNullOrEmpty(downloadPath)))
{
dict.Add("downloadPath", downloadPath);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.setDownloadBehavior", dict);
return methodResult;
}
///
/// Close browser gracefully.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task CloseAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.close", dict);
return methodResult;
}
///
/// Crashes browser on the main thread.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task CrashAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.crash", dict);
return methodResult;
}
///
/// Crashes GPU process.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task CrashGpuProcessAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.crashGpuProcess", dict);
return methodResult;
}
///
/// Returns version information.
///
/// returns System.Threading.Tasks.Task<GetVersionResponse>
public async System.Threading.Tasks.Task GetVersionAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getVersion", dict);
return methodResult.DeserializeJson();
}
///
/// Returns the command line switches for the browser process if, and only if
/// --enable-automation is on the commandline.
///
/// returns System.Threading.Tasks.Task<GetBrowserCommandLineResponse>
public async System.Threading.Tasks.Task GetBrowserCommandLineAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getBrowserCommandLine", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetHistograms(string query = null, bool? delta = null);
///
/// Get Chrome histograms.
///
/// Requested substring in name. Only histograms which have query as asubstring in their name are extracted. An empty or absent query returnsall histograms.
/// If true, retrieve delta since last call.
/// returns System.Threading.Tasks.Task<GetHistogramsResponse>
public async System.Threading.Tasks.Task GetHistogramsAsync(string query = null, bool? delta = null)
{
ValidateGetHistograms(query, delta);
var dict = new System.Collections.Generic.Dictionary();
if (!(string.IsNullOrEmpty(query)))
{
dict.Add("query", query);
}
if (delta.HasValue)
{
dict.Add("delta", delta.Value);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getHistograms", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetHistogram(string name, bool? delta = null);
///
/// Get a Chrome histogram by name.
///
/// Requested histogram name.
/// If true, retrieve delta since last call.
/// returns System.Threading.Tasks.Task<GetHistogramResponse>
public async System.Threading.Tasks.Task GetHistogramAsync(string name, bool? delta = null)
{
ValidateGetHistogram(name, delta);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("name", name);
if (delta.HasValue)
{
dict.Add("delta", delta.Value);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getHistogram", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetWindowBounds(int windowId);
///
/// Get position and size of the browser window.
///
/// Browser window id.
/// returns System.Threading.Tasks.Task<GetWindowBoundsResponse>
public async System.Threading.Tasks.Task GetWindowBoundsAsync(int windowId)
{
ValidateGetWindowBounds(windowId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("windowId", windowId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getWindowBounds", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetWindowForTarget(string targetId = null);
///
/// Get the browser window that contains the devtools target.
///
/// Devtools agent host id. If called as a part of the session, associated targetId is used.
/// returns System.Threading.Tasks.Task<GetWindowForTargetResponse>
public async System.Threading.Tasks.Task GetWindowForTargetAsync(string targetId = null)
{
ValidateGetWindowForTarget(targetId);
var dict = new System.Collections.Generic.Dictionary();
if (!(string.IsNullOrEmpty(targetId)))
{
dict.Add("targetId", targetId);
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.getWindowForTarget", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetWindowBounds(int windowId, CefSharp.DevTools.Browser.Bounds bounds);
///
/// Set position and/or size of the browser window.
///
/// Browser window id.
/// New window bounds. The 'minimized', 'maximized' and 'fullscreen' states cannot be combinedwith 'left', 'top', 'width' or 'height'. Leaves unspecified fields unchanged.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetWindowBoundsAsync(int windowId, CefSharp.DevTools.Browser.Bounds bounds)
{
ValidateSetWindowBounds(windowId, bounds);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("windowId", windowId);
dict.Add("bounds", bounds.ToDictionary());
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.setWindowBounds", dict);
return methodResult;
}
partial void ValidateSetDockTile(string badgeLabel = null, byte[] image = null);
///
/// Set dock tile details, platform-specific.
///
/// badgeLabel
/// Png encoded image.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetDockTileAsync(string badgeLabel = null, byte[] image = null)
{
ValidateSetDockTile(badgeLabel, image);
var dict = new System.Collections.Generic.Dictionary();
if (!(string.IsNullOrEmpty(badgeLabel)))
{
dict.Add("badgeLabel", badgeLabel);
}
if ((image) != (null))
{
dict.Add("image", ToBase64String(image));
}
var methodResult = await _client.ExecuteDevToolsMethodAsync("Browser.setDockTile", dict);
return methodResult;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// AddRuleResponse
///
public class AddRuleResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// rule
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("rule")]
public CefSharp.DevTools.CSS.CSSRule Rule
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CollectClassNamesResponse
///
public class CollectClassNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// classNames
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("classNames")]
public string[] ClassNames
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// CreateStyleSheetResponse
///
public class CreateStyleSheetResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// styleSheetId
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styleSheetId")]
public string StyleSheetId
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetBackgroundColorsResponse
///
public class GetBackgroundColorsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// backgroundColors
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("backgroundColors")]
public string[] BackgroundColors
{
get;
private set;
}
///
/// computedFontSize
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("computedFontSize")]
public string ComputedFontSize
{
get;
private set;
}
///
/// computedFontWeight
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("computedFontWeight")]
public string ComputedFontWeight
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetComputedStyleForNodeResponse
///
public class GetComputedStyleForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// computedStyle
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("computedStyle")]
public System.Collections.Generic.IList ComputedStyle
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetInlineStylesForNodeResponse
///
public class GetInlineStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// inlineStyle
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")]
public CefSharp.DevTools.CSS.CSSStyle InlineStyle
{
get;
private set;
}
///
/// attributesStyle
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributesStyle")]
public CefSharp.DevTools.CSS.CSSStyle AttributesStyle
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetMatchedStylesForNodeResponse
///
public class GetMatchedStylesForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// inlineStyle
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inlineStyle")]
public CefSharp.DevTools.CSS.CSSStyle InlineStyle
{
get;
private set;
}
///
/// attributesStyle
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("attributesStyle")]
public CefSharp.DevTools.CSS.CSSStyle AttributesStyle
{
get;
private set;
}
///
/// matchedCSSRules
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("matchedCSSRules")]
public System.Collections.Generic.IList MatchedCSSRules
{
get;
private set;
}
///
/// pseudoElements
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("pseudoElements")]
public System.Collections.Generic.IList PseudoElements
{
get;
private set;
}
///
/// inherited
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("inherited")]
public System.Collections.Generic.IList Inherited
{
get;
private set;
}
///
/// cssKeyframesRules
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cssKeyframesRules")]
public System.Collections.Generic.IList CssKeyframesRules
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetMediaQueriesResponse
///
public class GetMediaQueriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// medias
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("medias")]
public System.Collections.Generic.IList Medias
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetPlatformFontsForNodeResponse
///
public class GetPlatformFontsForNodeResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// fonts
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("fonts")]
public System.Collections.Generic.IList Fonts
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// GetStyleSheetTextResponse
///
public class GetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// text
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("text")]
public string Text
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// TakeComputedStyleUpdatesResponse
///
public class TakeComputedStyleUpdatesResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// nodeIds
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("nodeIds")]
public int[] NodeIds
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// SetKeyframeKeyResponse
///
public class SetKeyframeKeyResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// keyText
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("keyText")]
public CefSharp.DevTools.CSS.Value KeyText
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// SetMediaTextResponse
///
public class SetMediaTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// media
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("media")]
public CefSharp.DevTools.CSS.CSSMedia Media
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// SetRuleSelectorResponse
///
public class SetRuleSelectorResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// selectorList
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("selectorList")]
public CefSharp.DevTools.CSS.SelectorList SelectorList
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// SetStyleSheetTextResponse
///
public class SetStyleSheetTextResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// sourceMapURL
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("sourceMapURL")]
public string SourceMapURL
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// SetStyleTextsResponse
///
public class SetStyleTextsResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// styles
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("styles")]
public System.Collections.Generic.IList Styles
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// StopRuleUsageTrackingResponse
///
public class StopRuleUsageTrackingResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// ruleUsage
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("ruleUsage")]
public System.Collections.Generic.IList RuleUsage
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
///
/// TakeCoverageDeltaResponse
///
public class TakeCoverageDeltaResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// coverage
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("coverage")]
public System.Collections.Generic.IList Coverage
{
get;
private set;
}
///
/// timestamp
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("timestamp")]
public long Timestamp
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CSS
{
using System.Linq;
///
/// This domain exposes CSS read/write operations. All CSS objects (stylesheets, rules, and styles)
/// have an associated `id` used in subsequent operations on the related object. Each object type has
/// a specific `id` structure, and those are not interchangeable between objects of different kinds.
/// CSS objects can be loaded using the `get*ForNode()` calls (which accept a DOM node id). A client
/// can also keep track of stylesheets via the `styleSheetAdded`/`styleSheetRemoved` events and
/// subsequently load the required stylesheet contents using the `getStyleSheet[Text]()` methods.
///
public partial class CSSClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public CSSClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
partial void ValidateAddRule(string styleSheetId, string ruleText, CefSharp.DevTools.CSS.SourceRange location);
///
/// Inserts a new rule with the given `ruleText` in a stylesheet with given `styleSheetId`, at the
/// position specified by `location`.
///
/// The css style sheet identifier where a new rule should be inserted.
/// The text of a new rule.
/// Text position of a new rule in the target style sheet.
/// returns System.Threading.Tasks.Task<AddRuleResponse>
public async System.Threading.Tasks.Task AddRuleAsync(string styleSheetId, string ruleText, CefSharp.DevTools.CSS.SourceRange location)
{
ValidateAddRule(styleSheetId, ruleText, location);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
dict.Add("ruleText", ruleText);
dict.Add("location", location.ToDictionary());
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.addRule", dict);
return methodResult.DeserializeJson();
}
partial void ValidateCollectClassNames(string styleSheetId);
///
/// Returns all class names from specified stylesheet.
///
/// styleSheetId
/// returns System.Threading.Tasks.Task<CollectClassNamesResponse>
public async System.Threading.Tasks.Task CollectClassNamesAsync(string styleSheetId)
{
ValidateCollectClassNames(styleSheetId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.collectClassNames", dict);
return methodResult.DeserializeJson();
}
partial void ValidateCreateStyleSheet(string frameId);
///
/// Creates a new special "via-inspector" stylesheet in the frame with given `frameId`.
///
/// Identifier of the frame where "via-inspector" stylesheet should be created.
/// returns System.Threading.Tasks.Task<CreateStyleSheetResponse>
public async System.Threading.Tasks.Task CreateStyleSheetAsync(string frameId)
{
ValidateCreateStyleSheet(frameId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("frameId", frameId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.createStyleSheet", dict);
return methodResult.DeserializeJson();
}
///
/// Disables the CSS agent for the given page.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DisableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.disable", dict);
return methodResult;
}
///
/// Enables the CSS agent for the given page. Clients should not assume that the CSS agent has been
/// enabled until the result of this command is received.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task EnableAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.enable", dict);
return methodResult;
}
partial void ValidateForcePseudoState(int nodeId, string[] forcedPseudoClasses);
///
/// Ensures that the given node will have specified pseudo-classes whenever its style is computed by
/// the browser.
///
/// The element id for which to force the pseudo state.
/// Element pseudo classes to force when computing the element's style.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task ForcePseudoStateAsync(int nodeId, string[] forcedPseudoClasses)
{
ValidateForcePseudoState(nodeId, forcedPseudoClasses);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
dict.Add("forcedPseudoClasses", forcedPseudoClasses);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.forcePseudoState", dict);
return methodResult;
}
partial void ValidateGetBackgroundColors(int nodeId);
///
/// GetBackgroundColors
///
/// Id of the node to get background colors for.
/// returns System.Threading.Tasks.Task<GetBackgroundColorsResponse>
public async System.Threading.Tasks.Task GetBackgroundColorsAsync(int nodeId)
{
ValidateGetBackgroundColors(nodeId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getBackgroundColors", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetComputedStyleForNode(int nodeId);
///
/// Returns the computed style for a DOM node identified by `nodeId`.
///
/// nodeId
/// returns System.Threading.Tasks.Task<GetComputedStyleForNodeResponse>
public async System.Threading.Tasks.Task GetComputedStyleForNodeAsync(int nodeId)
{
ValidateGetComputedStyleForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getComputedStyleForNode", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetInlineStylesForNode(int nodeId);
///
/// Returns the styles defined inline (explicitly in the "style" attribute and implicitly, using DOM
/// attributes) for a DOM node identified by `nodeId`.
///
/// nodeId
/// returns System.Threading.Tasks.Task<GetInlineStylesForNodeResponse>
public async System.Threading.Tasks.Task GetInlineStylesForNodeAsync(int nodeId)
{
ValidateGetInlineStylesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getInlineStylesForNode", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetMatchedStylesForNode(int nodeId);
///
/// Returns requested styles for a DOM node identified by `nodeId`.
///
/// nodeId
/// returns System.Threading.Tasks.Task<GetMatchedStylesForNodeResponse>
public async System.Threading.Tasks.Task GetMatchedStylesForNodeAsync(int nodeId)
{
ValidateGetMatchedStylesForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getMatchedStylesForNode", dict);
return methodResult.DeserializeJson();
}
///
/// Returns all media queries parsed by the rendering engine.
///
/// returns System.Threading.Tasks.Task<GetMediaQueriesResponse>
public async System.Threading.Tasks.Task GetMediaQueriesAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getMediaQueries", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetPlatformFontsForNode(int nodeId);
///
/// Requests information about platform fonts which we used to render child TextNodes in the given
/// node.
///
/// nodeId
/// returns System.Threading.Tasks.Task<GetPlatformFontsForNodeResponse>
public async System.Threading.Tasks.Task GetPlatformFontsForNodeAsync(int nodeId)
{
ValidateGetPlatformFontsForNode(nodeId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getPlatformFontsForNode", dict);
return methodResult.DeserializeJson();
}
partial void ValidateGetStyleSheetText(string styleSheetId);
///
/// Returns the current textual content for a stylesheet.
///
/// styleSheetId
/// returns System.Threading.Tasks.Task<GetStyleSheetTextResponse>
public async System.Threading.Tasks.Task GetStyleSheetTextAsync(string styleSheetId)
{
ValidateGetStyleSheetText(styleSheetId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.getStyleSheetText", dict);
return methodResult.DeserializeJson();
}
partial void ValidateTrackComputedStyleUpdates(System.Collections.Generic.IList propertiesToTrack);
///
/// Starts tracking the given computed styles for updates. The specified array of properties
/// replaces the one previously specified. Pass empty array to disable tracking.
/// Use takeComputedStyleUpdates to retrieve the list of nodes that had properties modified.
/// The changes to computed style properties are only tracked for nodes pushed to the front-end
/// by the DOM agent. If no changes to the tracked properties occur after the node has been pushed
/// to the front-end, no updates will be issued for the node.
///
/// propertiesToTrack
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task TrackComputedStyleUpdatesAsync(System.Collections.Generic.IList propertiesToTrack)
{
ValidateTrackComputedStyleUpdates(propertiesToTrack);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("propertiesToTrack", propertiesToTrack.Select(x => x.ToDictionary()));
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.trackComputedStyleUpdates", dict);
return methodResult;
}
///
/// Polls the next batch of computed style updates.
///
/// returns System.Threading.Tasks.Task<TakeComputedStyleUpdatesResponse>
public async System.Threading.Tasks.Task TakeComputedStyleUpdatesAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.takeComputedStyleUpdates", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetEffectivePropertyValueForNode(int nodeId, string propertyName, string value);
///
/// Find a rule with the given active property for the given node and set the new value for this
/// property
///
/// The element id for which to set property.
/// propertyName
/// value
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetEffectivePropertyValueForNodeAsync(int nodeId, string propertyName, string value)
{
ValidateSetEffectivePropertyValueForNode(nodeId, propertyName, value);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("nodeId", nodeId);
dict.Add("propertyName", propertyName);
dict.Add("value", value);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setEffectivePropertyValueForNode", dict);
return methodResult;
}
partial void ValidateSetKeyframeKey(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText);
///
/// Modifies the keyframe rule key text.
///
/// styleSheetId
/// range
/// keyText
/// returns System.Threading.Tasks.Task<SetKeyframeKeyResponse>
public async System.Threading.Tasks.Task SetKeyframeKeyAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string keyText)
{
ValidateSetKeyframeKey(styleSheetId, range, keyText);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
dict.Add("range", range.ToDictionary());
dict.Add("keyText", keyText);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setKeyframeKey", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetMediaText(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text);
///
/// Modifies the rule selector.
///
/// styleSheetId
/// range
/// text
/// returns System.Threading.Tasks.Task<SetMediaTextResponse>
public async System.Threading.Tasks.Task SetMediaTextAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string text)
{
ValidateSetMediaText(styleSheetId, range, text);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
dict.Add("range", range.ToDictionary());
dict.Add("text", text);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setMediaText", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetRuleSelector(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector);
///
/// Modifies the rule selector.
///
/// styleSheetId
/// range
/// selector
/// returns System.Threading.Tasks.Task<SetRuleSelectorResponse>
public async System.Threading.Tasks.Task SetRuleSelectorAsync(string styleSheetId, CefSharp.DevTools.CSS.SourceRange range, string selector)
{
ValidateSetRuleSelector(styleSheetId, range, selector);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
dict.Add("range", range.ToDictionary());
dict.Add("selector", selector);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setRuleSelector", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetStyleSheetText(string styleSheetId, string text);
///
/// Sets the new stylesheet text.
///
/// styleSheetId
/// text
/// returns System.Threading.Tasks.Task<SetStyleSheetTextResponse>
public async System.Threading.Tasks.Task SetStyleSheetTextAsync(string styleSheetId, string text)
{
ValidateSetStyleSheetText(styleSheetId, text);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("styleSheetId", styleSheetId);
dict.Add("text", text);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setStyleSheetText", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetStyleTexts(System.Collections.Generic.IList edits);
///
/// Applies specified style edits one after another in the given order.
///
/// edits
/// returns System.Threading.Tasks.Task<SetStyleTextsResponse>
public async System.Threading.Tasks.Task SetStyleTextsAsync(System.Collections.Generic.IList edits)
{
ValidateSetStyleTexts(edits);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("edits", edits.Select(x => x.ToDictionary()));
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setStyleTexts", dict);
return methodResult.DeserializeJson();
}
///
/// Enables the selector recording.
///
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task StartRuleUsageTrackingAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.startRuleUsageTracking", dict);
return methodResult;
}
///
/// Stop tracking rule usage and return the list of rules that were used since last call to
/// `takeCoverageDelta` (or since start of coverage instrumentation)
///
/// returns System.Threading.Tasks.Task<StopRuleUsageTrackingResponse>
public async System.Threading.Tasks.Task StopRuleUsageTrackingAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.stopRuleUsageTracking", dict);
return methodResult.DeserializeJson();
}
///
/// Obtain list of rules that became used since last call to this method (or since start of coverage
/// instrumentation)
///
/// returns System.Threading.Tasks.Task<TakeCoverageDeltaResponse>
public async System.Threading.Tasks.Task TakeCoverageDeltaAsync()
{
System.Collections.Generic.Dictionary dict = null;
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.takeCoverageDelta", dict);
return methodResult.DeserializeJson();
}
partial void ValidateSetLocalFontsEnabled(bool enabled);
///
/// Enables/disables rendering of local CSS fonts (enabled by default).
///
/// Whether rendering of local fonts is enabled.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task SetLocalFontsEnabledAsync(bool enabled)
{
ValidateSetLocalFontsEnabled(enabled);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("enabled", enabled);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CSS.setLocalFontsEnabled", dict);
return methodResult;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// RequestCacheNamesResponse
///
public class RequestCacheNamesResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// caches
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("caches")]
public System.Collections.Generic.IList Caches
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// RequestCachedResponseResponse
///
public class RequestCachedResponseResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// response
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("response")]
public CefSharp.DevTools.CacheStorage.CachedResponse Response
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
///
/// RequestEntriesResponse
///
public class RequestEntriesResponse : CefSharp.DevTools.DevToolsDomainResponseBase
{
///
/// cacheDataEntries
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("cacheDataEntries")]
public System.Collections.Generic.IList CacheDataEntries
{
get;
private set;
}
///
/// returnCount
///
[System.Text.Json.Serialization.JsonIncludeAttribute]
[System.Text.Json.Serialization.JsonPropertyNameAttribute("returnCount")]
public long ReturnCount
{
get;
private set;
}
}
}
namespace CefSharp.DevTools.CacheStorage
{
using System.Linq;
///
/// CacheStorage
///
public partial class CacheStorageClient : DevToolsDomainBase
{
private CefSharp.DevTools.IDevToolsClient _client;
public CacheStorageClient(CefSharp.DevTools.IDevToolsClient client)
{
_client = (client);
}
partial void ValidateDeleteCache(string cacheId);
///
/// Deletes a cache.
///
/// Id of cache for deletion.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DeleteCacheAsync(string cacheId)
{
ValidateDeleteCache(cacheId);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("cacheId", cacheId);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteCache", dict);
return methodResult;
}
partial void ValidateDeleteEntry(string cacheId, string request);
///
/// Deletes a cache entry.
///
/// Id of cache where the entry will be deleted.
/// URL spec of the request.
/// returns System.Threading.Tasks.Task<DevToolsMethodResponse>
public async System.Threading.Tasks.Task DeleteEntryAsync(string cacheId, string request)
{
ValidateDeleteEntry(cacheId, request);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("cacheId", cacheId);
dict.Add("request", request);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CacheStorage.deleteEntry", dict);
return methodResult;
}
partial void ValidateRequestCacheNames(string securityOrigin);
///
/// Requests cache names.
///
/// Security origin.
/// returns System.Threading.Tasks.Task<RequestCacheNamesResponse>
public async System.Threading.Tasks.Task RequestCacheNamesAsync(string securityOrigin)
{
ValidateRequestCacheNames(securityOrigin);
var dict = new System.Collections.Generic.Dictionary();
dict.Add("securityOrigin", securityOrigin);
var methodResult = await _client.ExecuteDevToolsMethodAsync("CacheStorage.requestCacheNames", dict);
return methodResult.DeserializeJson();
}
partial void ValidateRequestCachedResponse(string cacheId, string requestURL, System.Collections.Generic.IList