Files
cefsharp/CefSharp/IWebBrowser.h
T
anthony taranto 05345ee28c Merge branch 'master' into cef1
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
2012-02-17 19:19:04 -08:00

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);
};
}