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