Skip to content
Snippets Groups Projects
Commit bbd82b04 authored by Frederik Carlier's avatar Frederik Carlier
Browse files

Update protocol

parent ba9d7ff6
No related branches found
No related tags found
No related merge requests found
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.Page{ namespace MasterDevs.ChromeDevTools.Protocol.iOS.Page{
/// <summary> /// <summary>
/// Coordinate system used by supplied coordinates. /// Coordinate system used by supplied coordinates.
/// </summary> /// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum CoordinateSystem public enum CoordinateSystem
{ {
Viewport, Viewport,
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.Page{ namespace MasterDevs.ChromeDevTools.Protocol.iOS.Page{
/// <summary> /// <summary>
/// Resource type as it was perceived by the rendering engine. /// Resource type as it was perceived by the rendering engine.
/// </summary> /// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum ResourceType public enum ResourceType
{ {
Document, Document,
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.Runtime{ namespace MasterDevs.ChromeDevTools.Protocol.iOS.Runtime{
/// <summary> /// <summary>
/// Syntax error type: "none" for no error, "irrecoverable" for unrecoverable errors, "unterminated-literal" for when there is an unterminated literal, "recoverable" for when the expression is unfinished but valid so far. /// Syntax error type: "none" for no error, "irrecoverable" for unrecoverable errors, "unterminated-literal" for when there is an unterminated literal, "recoverable" for when the expression is unfinished but valid so far.
/// </summary> /// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum SyntaxErrorType public enum SyntaxErrorType
{ {
None, None,
Irrecoverable, Irrecoverable,
[EnumMember(Value = "unterminated-literal")]
Unterminated_literal, Unterminated_literal,
Recoverable, Recoverable,
} }
......
using MasterDevs.ChromeDevTools; using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using System.Runtime.Serialization;
namespace MasterDevs.ChromeDevTools.Protocol.iOS.Timeline{ namespace MasterDevs.ChromeDevTools.Protocol.iOS.Timeline{
/// <summary> /// <summary>
/// Timeline record type. /// Timeline record type.
/// </summary> /// </summary>
[JsonConverter(typeof(StringEnumConverter))]
public enum EventType public enum EventType
{ {
EventDispatch, EventDispatch,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment