mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
added wcf operations to do javascript callbacks
This commit is contained in:
@@ -77,6 +77,16 @@ namespace CefSharp
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
JavascriptResponse^ CefBrowserWrapper::DoCallback(System::Int64 callbackId, array<Object^>^ parameters)
|
||||
{
|
||||
return _callbackRegistry->Execute(callbackId, parameters);
|
||||
}
|
||||
|
||||
void CefBrowserWrapper::DestroyJavascriptCallback(Int64 id)
|
||||
{
|
||||
_callbackRegistry->RemoveWrapper(id);
|
||||
}
|
||||
|
||||
CefBrowserWrapper::~CefBrowserWrapper()
|
||||
{
|
||||
_cefBrowser = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user