Skip to content

Commit fcc68c3

Browse files
committed
Update as CefSharp.Puppeteer was renamed to CefSharp.Dom
1 parent 3f2fb1a commit fcc68c3

File tree

12 files changed

+27
-25
lines changed

12 files changed

+27
-25
lines changed

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
[submodule "CefSharp.Puppeteer"]
2-
path = CefSharp.Puppeteer
3-
url = https://github.com/cefsharp/Puppeteer.git
1+
[submodule "CefSharp.Dom"]
2+
path = CefSharp.Dom
3+
url = https://github.com/cefsharp/CefSharp.Dom.git

CefSharp.Dom

Submodule CefSharp.Dom added at 97f3959

CefSharp.OutOfProcess.Core/CefSharp.OutOfProcess.Core.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<PackageReference Include="StreamJsonRpc" Version="2.11.35" />
1212
<ProjectReference Include="..\CefSharp.OutOfProcess.Interface\CefSharp.OutOfProcess.Interface.csproj" />
1313

14-
<ProjectReference Include="..\CefSharp.Puppeteer\lib\PuppeteerSharp\CefSharp.DevTools.OutOfProcess.csproj" />
14+
<ProjectReference Include="..\CefSharp.Dom\lib\PuppeteerSharp\CefSharp.Dom.OutOfProcess.csproj" />
1515
</ItemGroup>
1616

1717
<ItemGroup>

CefSharp.OutOfProcess.Core/IChromiumWebBrowser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using CefSharp.Puppeteer;
1+
using CefSharp.Dom;
22
using System;
33
using System.Threading.Tasks;
44

CefSharp.OutOfProcess.Core/OutOfProcessConnectionTransport.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
using CefSharp.Puppeteer.Transport;
1+
using CefSharp.Dom.Transport;
22
using System;
33
using System.Threading.Tasks;
44

@@ -11,6 +11,7 @@ public class OutOfProcessConnectionTransport : IConnectionTransport
1111
public OutOfProcessHost OutOfProcessHost { get; }
1212

1313
public event EventHandler<MessageReceivedEventArgs> MessageReceived;
14+
public event EventHandler<MessageErrorEventArgs> MessageError;
1415

1516
public OutOfProcessConnectionTransport(int browserId, OutOfProcessHost outOfProcessHost)
1617
{

CefSharp.OutOfProcess.WinForms.Example/BrowserTabUserControl.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public BrowserTabUserControl(OutOfProcessHost outOfProcessHost, string url)
3939
outputLabel.Text = version;
4040
}
4141

42-
private async void OnBrowserNetworkRequestFailed(object sender, Puppeteer.RequestEventArgs args)
42+
private async void OnBrowserNetworkRequestFailed(object sender, Dom.RequestEventArgs args)
4343
{
4444
var request = args.Request;
4545

@@ -66,7 +66,7 @@ protected override void Dispose(bool disposing)
6666
base.Dispose(disposing);
6767
}
6868

69-
private void OnBrowserConsoleMessage(object sender, Puppeteer.ConsoleEventArgs args)
69+
private void OnBrowserConsoleMessage(object sender, Dom.ConsoleEventArgs args)
7070
{
7171
DisplayOutput(string.Format("Line: {0}, Source: {1}, Message: {2}", args.Message.Location.LineNumber, args.Message.Location.URL, args.Message.Text));
7272
}

CefSharp.OutOfProcess.WinForms/CefSharp.OutOfProcess.WinForms.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<ProjectReference Include="..\CefSharp.OutOfProcess.Core\CefSharp.OutOfProcess.Core.csproj" />
16-
<ProjectReference Include="..\CefSharp.Puppeteer\lib\PuppeteerSharp\CefSharp.DevTools.OutOfProcess.csproj" />
16+
<ProjectReference Include="..\CefSharp.Dom\lib\PuppeteerSharp\CefSharp.Dom.OutOfProcess.csproj" />
1717
</ItemGroup>
1818

1919
<ItemGroup>

CefSharp.OutOfProcess.WinForms/ChromiumWebBrowser.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
using System.Threading.Tasks;
44
using System.Windows.Forms;
55
using CefSharp.OutOfProcess.Internal;
6-
using CefSharp.Puppeteer;
6+
using CefSharp.Dom;
77
using PInvoke;
88

99
namespace CefSharp.OutOfProcess.WinForms
@@ -33,7 +33,7 @@ public class ChromiumWebBrowser : Control, IChromiumWebBrowserInternal
3333
/// <inheritdoc/>
3434
public event EventHandler<PageErrorEventArgs> RuntimeExceptionThrown;
3535
/// <inheritdoc/>
36-
public event EventHandler<Puppeteer.PopupEventArgs> Popup;
36+
public event EventHandler<Dom.PopupEventArgs> Popup;
3737
/// <inheritdoc/>
3838
public event EventHandler<RequestEventArgs> NetworkRequest;
3939
/// <inheritdoc/>
@@ -133,7 +133,7 @@ protected override void OnHandleCreated(EventArgs e)
133133
_devToolsContextConnectionTransport = new OutOfProcessConnectionTransport(_id, _host);
134134

135135
var connection = DevToolsConnection.Attach(_devToolsContextConnectionTransport);
136-
_devToolsContext = Puppeteer.DevToolsContext.CreateForOutOfProcess(connection);
136+
_devToolsContext = Dom.DevToolsContext.CreateForOutOfProcess(connection);
137137
}
138138

139139
/// <inheritdoc/>

CefSharp.OutOfProcess.Wpf.HwndHost/CefSharp.OutOfProcess.Wpf.HwndHost.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
<ItemGroup>
1515
<ProjectReference Include="..\CefSharp.OutOfProcess.Core\CefSharp.OutOfProcess.Core.csproj" />
16-
<ProjectReference Include="..\CefSharp.Puppeteer\lib\PuppeteerSharp\CefSharp.DevTools.OutOfProcess.csproj" />
16+
<ProjectReference Include="..\CefSharp.Dom\lib\PuppeteerSharp\CefSharp.Dom.OutOfProcess.csproj" />
1717
</ItemGroup>
1818

1919
</Project>

CefSharp.OutOfProcess.Wpf.HwndHost/ChromiumWebBrowser.cs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
using CefSharp.OutOfProcess.Internal;
66
using CefSharp.OutOfProcess.WinForms;
77
using CefSharp.OutOfProcess.Wpf.HwndHost.Internals;
8-
using CefSharp.Puppeteer;
8+
using CefSharp.Dom;
99
using PInvoke;
1010
using System;
1111
using System.Runtime.CompilerServices;
@@ -16,6 +16,7 @@
1616
using System.Windows.Input;
1717
using System.Windows.Interop;
1818
using System.Windows.Threading;
19+
using Window = System.Windows.Window;
1920

2021
namespace CefSharp.OutOfProcess.Wpf.HwndHost
2122
{
@@ -165,7 +166,7 @@ public bool IsDisposed
165166
/// <inheritdoc/>
166167
public event EventHandler<PageErrorEventArgs> RuntimeExceptionThrown;
167168
/// <inheritdoc/>
168-
public event EventHandler<Puppeteer.PopupEventArgs> Popup;
169+
public event EventHandler<Dom.PopupEventArgs> Popup;
169170
/// <inheritdoc/>
170171
public event EventHandler<RequestEventArgs> NetworkRequest;
171172
/// <inheritdoc/>
@@ -496,7 +497,7 @@ protected override HandleRef BuildWindowCore(HandleRef hwndParent)
496497
_devToolsContextConnectionTransport = new OutOfProcessConnectionTransport(_id, _host);
497498

498499
var connection = DevToolsConnection.Attach(_devToolsContextConnectionTransport);
499-
_devToolsContext = Puppeteer.DevToolsContext.CreateForOutOfProcess(connection);
500+
_devToolsContext = Dom.DevToolsContext.CreateForOutOfProcess(connection);
500501

501502
return new HandleRef(null, _hwndHost);
502503
}

0 commit comments

Comments
 (0)