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 454 additions and 0 deletions
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{97C7FCF5-1964-4878-B7CD-63448CA403B1}</ProjectGuid>
<OutputType>Exe</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MasterDevs.ChromeDevTools.ProtocolGenerator</RootNamespace>
<AssemblyName>MasterDevs.ChromeDevTools.ProtocolGenerator</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
<RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup>
<StartupObject>MasterDevs.ChromeDevTools.ProtocolGenerator.Program</StartupObject>
</PropertyGroup>
<ItemGroup>
<Reference Include="Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\packages\Newtonsoft.Json.6.0.8\lib\net45\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="Program.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<None Include="App.config" />
<None Include="packages.config" />
<None Include="protocol.json">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
<PropertyGroup>
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
</PropertyGroup>
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
</Target>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
\ No newline at end of file
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Chrome Debugger Protocol Class Generator")]
[assembly: AssemblyDescription("Parses the protocol.json, defined by Chrome, and parses it to generate the necessary events, comamnds, and classes to implement the protocol.")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("MasterDevs")]
[assembly: AssemblyProduct("MasterDevs.ChromeDevTools.ProtocolGenerator")]
[assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("1b9747e8-c174-4877-9385-1e9b0720388c")]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="6.0.8" targetFramework="net45" />
</packages>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
</startup>
</configuration>
\ No newline at end of file
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Element</code>'s attribute is modified.
/// </summary>
[Event(ProtocolName.DOM.AttributeModified)]
public class AttributeModifiedEvent
{
/// <summary>
/// Gets or sets Id of the node that has changed.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Attribute name.
/// </summary>
public string Name { get; set; }
/// <summary>
/// Gets or sets Attribute value.
/// </summary>
public string Value { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Element</code>'s attribute is removed.
/// </summary>
[Event(ProtocolName.DOM.AttributeRemoved)]
public class AttributeRemovedEvent
{
/// <summary>
/// Gets or sets Id of the node that has changed.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets A ttribute name.
/// </summary>
public string Name { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Backend node with a friendly name.
/// </summary>
public class BackendNode
{
/// <summary>
/// Gets or sets <code>Node</code>'s nodeType.
/// </summary>
public long NodeType { get; set; }
/// <summary>
/// Gets or sets <code>Node</code>'s nodeName.
/// </summary>
public string NodeName { get; set; }
/// <summary>
/// Gets or sets BackendNodeId
/// </summary>
public long BackendNodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Box model.
/// </summary>
public class BoxModel
{
/// <summary>
/// Gets or sets Content box
/// </summary>
public double[] Content { get; set; }
/// <summary>
/// Gets or sets Padding box
/// </summary>
public double[] Padding { get; set; }
/// <summary>
/// Gets or sets Border box
/// </summary>
public double[] Border { get; set; }
/// <summary>
/// Gets or sets Margin box
/// </summary>
public double[] Margin { get; set; }
/// <summary>
/// Gets or sets Node width
/// </summary>
public long Width { get; set; }
/// <summary>
/// Gets or sets Node height
/// </summary>
public long Height { get; set; }
/// <summary>
/// Gets or sets Shape outside coordinates
/// </summary>
public ShapeOutsideInfo ShapeOutside { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Mirrors <code>DOMCharacterDataModified</code> event.
/// </summary>
[Event(ProtocolName.DOM.CharacterDataModified)]
public class CharacterDataModifiedEvent
{
/// <summary>
/// Gets or sets Id of the node that has changed.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets New text value.
/// </summary>
public string CharacterData { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Container</code>'s child node count has changed.
/// </summary>
[Event(ProtocolName.DOM.ChildNodeCountUpdated)]
public class ChildNodeCountUpdatedEvent
{
/// <summary>
/// Gets or sets Id of the node that has changed.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets New node count.
/// </summary>
public long ChildNodeCount { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Mirrors <code>DOMNodeInserted</code> event.
/// </summary>
[Event(ProtocolName.DOM.ChildNodeInserted)]
public class ChildNodeInsertedEvent
{
/// <summary>
/// Gets or sets Id of the node that has changed.
/// </summary>
public long ParentNodeId { get; set; }
/// <summary>
/// Gets or sets If of the previous siblint.
/// </summary>
public long PreviousNodeId { get; set; }
/// <summary>
/// Gets or sets Inserted node data.
/// </summary>
public Node Node { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Mirrors <code>DOMNodeRemoved</code> event.
/// </summary>
[Event(ProtocolName.DOM.ChildNodeRemoved)]
public class ChildNodeRemovedEvent
{
/// <summary>
/// Gets or sets Parent id.
/// </summary>
public long ParentNodeId { get; set; }
/// <summary>
/// Gets or sets Id of the node that has been removed.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Creates a deep copy of the specified node and places it into the target container before the given anchor.
/// </summary>
[Command(ProtocolName.DOM.CopyTo)]
public class CopyToCommand
{
/// <summary>
/// Gets or sets Id of the node to copy.
/// </summary>
public long NodeId { get; set; }
/// <summary>
/// Gets or sets Id of the element to drop the copy into.
/// </summary>
public long TargetNodeId { get; set; }
/// <summary>
/// Gets or sets Drop the copy before this node (if absent, the copy 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>
/// Creates a deep copy of the specified node and places it into the target container before the given anchor.
/// </summary>
[CommandResponse(ProtocolName.DOM.CopyTo)]
public class CopyToCommandResponse
{
/// <summary>
/// Gets or sets Id of the node clone.
/// </summary>
public long NodeId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Disables DOM agent for the given page.
/// </summary>
[Command(ProtocolName.DOM.Disable)]
public class DisableCommand
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Disables DOM agent for the given page.
/// </summary>
[CommandResponse(ProtocolName.DOM.Disable)]
public class DisableCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Discards search results from the session with the given id. <code>getSearchResults</code> should no longer be called for that search.
/// </summary>
[Command(ProtocolName.DOM.DiscardSearchResults)]
public class DiscardSearchResultsCommand
{
/// <summary>
/// Gets or sets Unique search session identifier.
/// </summary>
public string SearchId { get; set; }
}
}
using MasterDevs.ChromeDevTools;
using Newtonsoft.Json;
using System.Collections.Generic;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Discards search results from the session with the given id. <code>getSearchResults</code> should no longer be called for that search.
/// </summary>
[CommandResponse(ProtocolName.DOM.DiscardSearchResults)]
public class DiscardSearchResultsCommandResponse
{
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Called when distrubution is changed.
/// </summary>
[Event(ProtocolName.DOM.DistributedNodesUpdated)]
public class DistributedNodesUpdatedEvent
{
/// <summary>
/// Gets or sets Insertion point where distrubuted nodes were updated.
/// </summary>
public long InsertionPointId { get; set; }
/// <summary>
/// Gets or sets Distributed nodes for given insertion point.
/// </summary>
public BackendNode[] DistributedNodes { get; set; }
}
}
using MasterDevs.ChromeDevTools;
namespace MasterDevs.ChromeDevTools.Protocol.DOM
{
/// <summary>
/// Fired when <code>Document</code> has been totally updated. Node ids are no longer valid.
/// </summary>
[Event(ProtocolName.DOM.DocumentUpdated)]
public class DocumentUpdatedEvent
{
}
}
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