mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 19:54:53 +00:00
37 lines
1.0 KiB
C++
37 lines
1.0 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 ICefWebBrowser : INotifyPropertyChanged
|
|
{
|
|
public:
|
|
property IBeforePopup^ BeforePopupHandler;
|
|
property IBeforeResourceLoad^ BeforeResourceLoadHandler;
|
|
property IBeforeMenu^ BeforeMenuHandler;
|
|
property IAfterResponse^ AfterResponseHandler;
|
|
|
|
void OnInitialized();
|
|
|
|
void SetTitle(String^ title);
|
|
void SetToolTip(String^ text);
|
|
void SetAddress(String^ address);
|
|
void SetNavState(bool isLoading, bool canGoBack, bool canGoForward);
|
|
|
|
void AddFrame(CefRefPtr<CefFrame> frame);
|
|
void FrameLoadComplete(CefRefPtr<CefFrame> frame);
|
|
|
|
void SetJsResult(String^ result);
|
|
void SetJsError();
|
|
|
|
void RaiseConsoleMessage(String^ message, String^ source, int line);
|
|
};
|
|
} |