// 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 { /// /// Interface used to break reference cycles in CefSharp.Core C++ code. /// This will ALWAYS be a ManagedCefBrowserAdapter instance. /// public interface IBrowserAdapter { IMethodRunnerQueue MethodRunnerQueue { get; } JavascriptObjectRepository JavascriptObjectRepository { get; } IJavascriptCallbackFactory JavascriptCallbackFactory { get; } void OnAfterBrowserCreated(IBrowser browser); IBrowser GetBrowser(int browserId); bool IsDisposed { get; } void Resize(int width, int height); } }