SIGN IN SIGN UP
cefsharp / CefSharp UNCLAIMED

.NET (WPF and Windows Forms) bindings for the Chromium Embedded Framework

0 0 0 C#
// Copyright © 2015 The CefSharp Authors. All rights reserved.
2015-07-14 10:59:10 +02:00
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
#pragma once
#include "JavascriptAsyncMethodHandler.h"
#include "JavascriptCallbackRegistry.h"
namespace CefSharp
{
namespace BrowserSubprocess
2015-07-14 10:59:10 +02:00
{
namespace Async
{
private ref class JavascriptAsyncMethodWrapper
{
private:
MCefRefPtr<JavascriptAsyncMethodHandler> _javascriptMethodHandler;
public:
JavascriptAsyncMethodWrapper(int64_t ownerId, JavascriptCallbackRegistry^ callbackRegistry, Func<JavascriptAsyncMethodCallback^, int64_t>^ methodCallbackSave)
: _javascriptMethodHandler(new JavascriptAsyncMethodHandler(ownerId, callbackRegistry, methodCallbackSave))
2015-07-14 10:59:10 +02:00
{
}
void Bind(JavascriptMethod^ method, const CefRefPtr<CefV8Value>& value);
2015-07-14 10:59:10 +02:00
};
}
}
}