Files
cefsharp/CefSharp/IWebBrowser.h
T
2012-02-23 15:08:50 -08:00

47 lines
1.2 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 Load(String^ url);
void Stop();
void Back();
void Forward();
void Reload();
void Reload(bool ignoreCache);
void Print();
void SetNavState(bool isLoading, bool canGoBack, bool canGoForward);
void OnFrameLoadStart();
void OnFrameLoadEnd();
void RaiseConsoleMessage(String^ message, String^ source, int line);
};
}