mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 04:00:07 +00:00
Example - Move RequestContextHandler into CefSharp.Example
Was previously only in WPF project, move into the common CefSharp.Example as there was nothing WPF specific out the class.
This commit is contained in:
@@ -79,6 +79,7 @@
|
||||
<Compile Include="Handlers\AudioHandler.cs" />
|
||||
<Compile Include="Handlers\ExampleResourceRequestHandler.cs" />
|
||||
<Compile Include="Handlers\ExtensionHandler.cs" />
|
||||
<Compile Include="Handlers\RequestContextHandler.cs" />
|
||||
<Compile Include="JavascriptBinding\AsyncBoundObject.cs" />
|
||||
<Compile Include="JavascriptBinding\BoundObject.cs" />
|
||||
<Compile Include="JavascriptBinding\CallbackResponseStruct.cs" />
|
||||
|
||||
+1
-3
@@ -2,12 +2,10 @@
|
||||
//
|
||||
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
||||
|
||||
namespace CefSharp.Wpf.Example.Handlers
|
||||
namespace CefSharp.Example.Handlers
|
||||
{
|
||||
public class RequestContextHandler : IRequestContextHandler
|
||||
{
|
||||
private readonly ICookieManager customCookieManager;
|
||||
|
||||
IResourceRequestHandler IRequestContextHandler.GetResourceRequestHandler(IBrowser browser, IFrame frame, IRequest request, bool isNavigation, bool isDownload, string requestInitiator, ref bool disableDefaultHandling)
|
||||
{
|
||||
return null;
|
||||
@@ -116,7 +116,6 @@
|
||||
<Compile Include="Handlers\DragHandler.cs" />
|
||||
<Compile Include="Handlers\MenuHandler.cs" />
|
||||
<Compile Include="Handlers\ExperimentalLifespanHandler.cs" />
|
||||
<Compile Include="Handlers\RequestContextHandler.cs" />
|
||||
<Compile Include="Handlers\WpfBrowserProcessHandler.cs" />
|
||||
<Compile Include="Program.cs" />
|
||||
<Compile Include="JavascriptCallbackMainWindow.xaml.cs">
|
||||
|
||||
Reference in New Issue
Block a user