Files
cefsharp/CefSharp/Internals/IWebBrowserInternal.cs
T
Bill Tutt e1e58a5da6 Add IFrame interface as the public face of CefFrameWrapper.
IRequestHandler: Pass IFrame instances instead of isMainFrame.
Support EvaluateJavaScriptAsync from a frame.
IBrowserAdapter, IBrowserAdapterNative: Dependency breaking between CefFrameWrapper and ManagedCefBrowserAdapter.
Add IBrowserAdapter.BrowserAdapter to IWebBrowserInternal and implment for all controls.

This builds, but hasn't been tested yet. Thoughts?
2015-05-02 00:01:31 -04:00

33 lines
1.2 KiB
C#

// Copyright © 2010-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
{
/// <summary>
/// Interface implemented by UI control that contains
/// a ManagedCefBrowserAdapter instance.
/// </summary>
public interface IWebBrowserInternal : IWebBrowser
{
/// <summary>
/// Interface used to break reference cycles in CefSharp.Core C++ code.
/// This will ALWAYS be a ManagedCefBrowserAdapter instance.
/// </summary>
IBrowserAdapter BrowserAdapter { get; }
void OnInitialized();
void SetAddress(string address);
void SetLoadingStateChange(bool canGoBack, bool canGoForward, bool isLoading);
void SetTitle(string title);
void SetTooltipText(string tooltipText);
void OnFrameLoadStart(string url, bool isMainFrame);
void OnFrameLoadEnd(string url, bool isMainFrame, int httpStatusCode);
void OnConsoleMessage(string message, string source, int line);
void OnStatusMessage(string value);
void OnLoadError(string url, CefErrorCode errorCode, string errorText);
}
}