mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 09:37:03 +00:00
05345ee28c
Conflicts: CefSharp.WinFormsExample/Browser.cs CefSharp/CefFormsWebBrowser.cpp CefSharp/CefFormsWebBrowser.h CefSharp/CefSharp.cpp CefSharp/CefWpfWebBrowser.cpp CefSharp/CefWpfWebBrowser.h CefSharp/ManagedCefRefPtr.h CefSharp/OffscreenClientAdapter.h CefSharp/ReadMe.txt CefSharp/ScriptException.h CefSharp/app.rc include/cef.h include/internal/cef_types_win.h
38 lines
1.1 KiB
C++
38 lines
1.1 KiB
C++
#include "stdafx.h"
|
|
#pragma once
|
|
|
|
using namespace System;
|
|
using namespace System::ComponentModel;
|
|
|
|
namespace CefSharp
|
|
{
|
|
interface class IBeforePopup;
|
|
interface class IBeforeResourceLoad;
|
|
interface class IBeforeMenu;
|
|
interface class IAfterResponse;
|
|
|
|
public interface class IWebBrowser : INotifyPropertyChanged
|
|
{
|
|
public:
|
|
property bool IsLoading { bool get(); }
|
|
property bool CanGoBack { bool get(); }
|
|
property bool CanGoForward { bool get(); }
|
|
|
|
property String^ Address;
|
|
property String^ Title;
|
|
property String^ Tooltip;
|
|
|
|
property IBeforePopup^ BeforePopupHandler;
|
|
property IBeforeResourceLoad^ BeforeResourceLoadHandler;
|
|
property IBeforeMenu^ BeforeMenuHandler;
|
|
property IAfterResponse^ AfterResponseHandler;
|
|
|
|
void OnInitialized();
|
|
void SetNavState(bool isLoading, bool canGoBack, bool canGoForward);
|
|
|
|
void AddFrame(CefRefPtr<CefFrame> frame);
|
|
void FrameLoadComplete(CefRefPtr<CefFrame> frame);
|
|
|
|
void RaiseConsoleMessage(String^ message, String^ source, int line);
|
|
};
|
|
} |