mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
73a156fdc5
Compiles, that's about it at this point, there are major CEF breaking changes, and lots to be addressed. Browser Process (main process) - Removed IResourceHandlerFactory as it no longer fits with the structure that CEF provides - New IResourceRequestHandler interface added, not plumbed in yet - CefSettings - Add RootCachePath and ApplicationClientIdForFileScanning BrowserSubprocess (render process) - SendProcessMessage was moved from CefBrowser to CefFrame - OnBrowserCreated added extraInfo param The BrowserSubprocess changes for this upgrade should be complete
26 lines
919 B
C#
26 lines
919 B
C#
// Copyright © 2015 The CefSharp Authors. All rights reserved.
|
|
//
|
|
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
|
|
|
|
namespace CefSharp.Internals
|
|
{
|
|
internal static class InternalWebBrowserExtensions
|
|
{
|
|
internal static void SetHandlersToNullExceptLifeSpan(this IWebBrowserInternal browser)
|
|
{
|
|
browser.DialogHandler = null;
|
|
browser.RequestHandler = null;
|
|
browser.DisplayHandler = null;
|
|
browser.LoadHandler = null;
|
|
browser.KeyboardHandler = null;
|
|
browser.JsDialogHandler = null;
|
|
browser.DragHandler = null;
|
|
browser.DownloadHandler = null;
|
|
browser.MenuHandler = null;
|
|
browser.FocusHandler = null;
|
|
browser.ResourceRequestHandlerFactory = null;
|
|
browser.RenderProcessMessageHandler = null;
|
|
}
|
|
}
|
|
}
|