Files
cefsharp/CefSharp/Internals/InternalWebBrowserExtensions.cs
T
amaitland 802bb7f43c Remove IAudioHandler
The Chromium implementation has changed so dramatically that CEF has removed support see https://bitbucket.org/chromiumembedded/cef/commits/1f893c76a97eaa88e3ff782b8e2e47dd0f5d27b2

Track https://bitbucket.org/chromiumembedded/cef/issues/2755/reimplement-audio-mirroring-for for details on when it will be reimplemented

Original Issue #2727
2019-10-01 20:06:37 +10:00

27 lines
959 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.FindHandler = 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;
}
}
}