// Copyright © 2020 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. //NOTE:Classes in the CefSharp.Core namespace have been hidden from intellisnse so users don't use them directly using CefSharp.Internals; namespace CefSharp { /// /// Create instance via /// This is the primary object for bridging the ChromiumWebBrowser implementation and VC++ /// public static class ManagedCefBrowserAdapter { /// /// Create a new instance which is the main method of interaction between the unmanged /// CEF implementation and our ChromiumWebBrowser instances. /// /// reference to the ChromiumWebBrowser instance /// true for WPF/OffScreen, false for WinForms and other Hwnd based implementations /// instance of public static IBrowserAdapter Create(IWebBrowserInternal webBrowserInternal, bool offScreenRendering) { return new CefSharp.Core.ManagedCefBrowserAdapter(webBrowserInternal, offScreenRendering); } } }