File tree Expand file tree Collapse file tree
CefSharp.OutOfProcess.BrowserProcess
CefSharp.OutOfProcess.Core Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1919 </ItemGroup >
2020
2121 <ItemGroup Condition =" '$(TargetFramework)' == 'net462'" >
22- <PackageReference Include =" CefSharp.Common" Version =" 102.0.100 " />
22+ <PackageReference Include =" CefSharp.Common" Version =" 109.1.110 " />
2323 </ItemGroup >
2424
2525 <ItemGroup Condition =" '$(TargetFramework)' != 'net462'" >
26- <PackageReference Include =" CefSharp.Common.NETCore" Version =" 102.0.100 " />
26+ <PackageReference Include =" CefSharp.Common.NETCore" Version =" 109.1.110 " />
2727 </ItemGroup >
2828
2929 <ItemGroup >
Original file line number Diff line number Diff line change @@ -172,6 +172,9 @@ public partial class OutOfProcessChromiumWebBrowser : IWebBrowserInternal
172172 /// </summary>
173173 /// <value>The drag handler.</value>
174174 public IDragHandler DragHandler { get ; set ; }
175+
176+ /// <inheritdoc/>
177+ public IPermissionHandler PermissionHandler { get ; set ; }
175178 /// <summary>
176179 /// Implement <see cref="IResourceRequestHandlerFactory" /> and control the loading of resources
177180 /// </summary>
@@ -524,6 +527,7 @@ private void FreeHandlersExceptLifeSpanAndFocus()
524527 DragHandler = null ;
525528 DownloadHandler = null ;
526529 MenuHandler = null ;
530+ PermissionHandler = null ;
527531 ResourceRequestHandlerFactory = null ;
528532 RenderProcessMessageHandler = null ;
529533
Original file line number Diff line number Diff line change @@ -7,33 +7,44 @@ namespace CefSharp.OutOfProcess
77 public class OutOfProcessConnectionTransport : IConnectionTransport
88 {
99 public int BrowserId { get ; }
10+ /// <inheritdoc/>
1011 public bool IsClosed { get ; private set ; }
1112 public OutOfProcessHost OutOfProcessHost { get ; }
1213
14+ /// <inheritdoc/>
1315 public event EventHandler < MessageReceivedEventArgs > MessageReceived ;
16+ /// <inheritdoc/>
1417 public event EventHandler < MessageErrorEventArgs > MessageError ;
18+ /// <inheritdoc/>
19+ public event EventHandler Disconnected ;
1520
1621 public OutOfProcessConnectionTransport ( int browserId , OutOfProcessHost outOfProcessHost )
1722 {
1823 BrowserId = browserId ;
1924 OutOfProcessHost = outOfProcessHost ;
2025 }
2126
27+ /// <inheritdoc/>
2228 void IDisposable . Dispose ( )
2329 {
24-
30+ MessageReceived = null ;
31+ MessageError = null ;
32+ Disconnected = null ;
2533 }
2634
35+ /// <inheritdoc/>
2736 public void InvokeMessageReceived ( string message )
2837 {
2938 MessageReceived ? . Invoke ( this , new MessageReceivedEventArgs ( message ) ) ;
3039 }
3140
41+ /// <inheritdoc/>
3242 public Task SendAsync ( string message )
3343 {
3444 return OutOfProcessHost . SendDevToolsMessageAsync ( BrowserId , message ) ;
3545 }
3646
47+ /// <inheritdoc/>
3748 public void StopReading ( )
3849 {
3950
You can’t perform that action at this time.
0 commit comments