Skip to content
Snippets Groups Projects
Commit 379098f0 authored by brewdente's avatar brewdente
Browse files

Adding all the fiels that didn't get committed but should've with the big rename commit.

parent 7794deb8
No related branches found
No related tags found
No related merge requests found
Showing
with 423 additions and 0 deletions
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Returns the id of the nearest ancestor that is a relayout boundary.
/// </summary>
[CommandResponse(ProtocolName.DOM.GetRelayoutBoundary)]
public class GetRelayoutBoundaryCommandResponse
{
/// <summary>
/// Gets or sets Relayout boundary node id for the given node.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Returns search results from given <code>fromIndex</code> to given <code>toIndex</code> from the sarch with the given identifier.
/// </summary>
[Command(ProtocolName.DOM.GetSearchResults)]
public class GetSearchResultsCommand
{
/// <summary>
/// Gets or sets Unique search session identifier.
/// </summary>
public string SearchId { get; set; }
/// <summary>
/// Gets or sets Start index of the search result to be returned.
/// </summary>
public long FromIndex { get; set; }
/// <summary>
/// Gets or sets End index of the search result to be returned.
/// </summary>
public long ToIndex { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Returns search results from given <code>fromIndex</code> to given <code>toIndex</code> from the sarch with the given identifier.
/// </summary>
[CommandResponse(ProtocolName.DOM.GetSearchResults)]
public class GetSearchResultsCommandResponse
{
/// <summary>
/// Gets or sets Ids of the search result nodes.
/// </summary>
public long[] NodeIds { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Hides DOM node highlight.
/// </summary>
[Command(ProtocolName.DOM.HideHighlight)]
public class HideHighlightCommand
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Hides DOM node highlight.
/// </summary>
[CommandResponse(ProtocolName.DOM.HideHighlight)]
public class HideHighlightCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Configuration data for the highlighting of page elements.
/// </summary>
public class HighlightConfig
{
/// <summary>
/// Gets or sets Whether the node info tooltip should be shown (default: false).
/// </summary>
public bool ShowInfo { get; set; }
/// <summary>
/// Gets or sets Whether the rulers should be shown (default: false).
/// </summary>
public bool ShowRulers { get; set; }
/// <summary>
/// Gets or sets Whether the extension lines from node to the rulers should be shown (default: false).
/// </summary>
public bool ShowExtensionLines { get; set; }
/// <summary>
/// Gets or sets The content box highlight fill color (default: transparent).
/// </summary>
public RGBA ContentColor { get; set; }
/// <summary>
/// Gets or sets The padding highlight fill color (default: transparent).
/// </summary>
public RGBA PaddingColor { get; set; }
/// <summary>
/// Gets or sets The border highlight fill color (default: transparent).
/// </summary>
public RGBA BorderColor { get; set; }
/// <summary>
/// Gets or sets The margin highlight fill color (default: transparent).
/// </summary>
public RGBA MarginColor { get; set; }
/// <summary>
/// Gets or sets The event target element highlight fill color (default: transparent).
/// </summary>
public RGBA EventTargetColor { get; set; }
/// <summary>
/// Gets or sets The shape outside fill color (default: transparent).
/// </summary>
public RGBA ShapeColor { get; set; }
/// <summary>
/// Gets or sets The shape margin fill color (default: transparent).
/// </summary>
public RGBA ShapeMarginColor { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights owner element of the frame with given id.
/// </summary>
[Command(ProtocolName.DOM.HighlightFrame)]
public class HighlightFrameCommand
{
/// <summary>
/// Gets or sets Identifier of the frame to highlight.
/// </summary>
public string FrameId { get; set; }
/// <summary>
/// Gets or sets The content box highlight fill color (default: transparent).
/// </summary>
public RGBA ContentColor { get; set; }
/// <summary>
/// Gets or sets The content box highlight outline color (default: transparent).
/// </summary>
public RGBA ContentOutlineColor { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights owner element of the frame with given id.
/// </summary>
[CommandResponse(ProtocolName.DOM.HighlightFrame)]
public class HighlightFrameCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
/// </summary>
[Command(ProtocolName.DOM.HighlightNode)]
public class HighlightNodeCommand
{
/// <summary>
/// Gets or sets A descriptor for the highlight appearance.
/// </summary>
public HighlightConfig HighlightConfig { get; set; }
/// <summary>
/// Gets or sets Identifier of the node to highlight.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Identifier of the backend node to highlight.
/// </summary>
public long BackendNodeId { get; set; }
/// <summary>
/// Gets or sets JavaScript object id of the node to be highlighted.
/// </summary>
public string ObjectId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or objectId must be specified.
/// </summary>
[CommandResponse(ProtocolName.DOM.HighlightNode)]
public class HighlightNodeCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
/// </summary>
[Command(ProtocolName.DOM.HighlightQuad)]
public class HighlightQuadCommand
{
/// <summary>
/// Gets or sets Quad to highlight
/// </summary>
public double[] Quad { get; set; }
/// <summary>
/// Gets or sets The highlight fill color (default: transparent).
/// </summary>
public RGBA Color { get; set; }
/// <summary>
/// Gets or sets The highlight outline color (default: transparent).
/// </summary>
public RGBA OutlineColor { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights given quad. Coordinates are absolute with respect to the main frame viewport.
/// </summary>
[CommandResponse(ProtocolName.DOM.HighlightQuad)]
public class HighlightQuadCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
/// </summary>
[Command(ProtocolName.DOM.HighlightRect)]
public class HighlightRectCommand
{
/// <summary>
/// Gets or sets X coordinate
/// </summary>
public long X { get; set; }
/// <summary>
/// Gets or sets Y coordinate
/// </summary>
public long Y { get; set; }
/// <summary>
/// Gets or sets Rectangle width
/// </summary>
public long Width { get; set; }
/// <summary>
/// Gets or sets Rectangle height
/// </summary>
public long Height { get; set; }
/// <summary>
/// Gets or sets The highlight fill color (default: transparent).
/// </summary>
public RGBA Color { get; set; }
/// <summary>
/// Gets or sets The highlight outline color (default: transparent).
/// </summary>
public RGBA OutlineColor { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Highlights given rectangle. Coordinates are absolute with respect to the main frame viewport.
/// </summary>
[CommandResponse(ProtocolName.DOM.HighlightRect)]
public class HighlightRectCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Element</code>'s inline style is modified via a CSS property modification.
/// </summary>
[Event(ProtocolName.DOM.InlineStyleInvalidated)]
public class InlineStyleInvalidatedEvent
{
/// <summary>
/// Gets or sets Ids of the nodes for which the inline styles have been invalidated.
/// </summary>
public long[] NodeIds { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when the node should be inspected. This happens after call to <code>setInspectModeEnabled</code>.
/// </summary>
[Event(ProtocolName.DOM.InspectNodeRequested)]
public class InspectNodeRequestedEvent
{
/// <summary>
/// Gets or sets Id of the node to inspect.
/// </summary>
public long BackendNodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Marks last undoable state.
/// </summary>
[Command(ProtocolName.DOM.MarkUndoableState)]
public class MarkUndoableStateCommand
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Marks last undoable state.
/// </summary>
[CommandResponse(ProtocolName.DOM.MarkUndoableState)]
public class MarkUndoableStateCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Moves node into the new container, places it before the given anchor.
/// </summary>
[Command(ProtocolName.DOM.MoveTo)]
public class MoveToCommand
{
/// <summary>
/// Gets or sets Id of the node to move.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Id of the element to drop the moved node into.
/// </summary>
public long TargetNodeId { get; set; }
/// <summary>
/// Gets or sets Drop node before this one (if absent, the moved node becomes the last child of <code>targetNodeId</code>).
/// </summary>
public long InsertBeforeNodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Moves node into the new container, places it before the given anchor.
/// </summary>
[CommandResponse(ProtocolName.DOM.MoveTo)]
public class MoveToCommandResponse
{
/// <summary>
/// Gets or sets New id of the moved node.
/// </summary>
public long NodeId { get; set; }
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment