mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
802bb7f43c
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
27 lines
959 B
C#
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;
|
|
}
|
|
}
|
|
}
|