// Copyright © 2010-2015 The CefSharp Authors. All rights reserved. // // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file. #pragma once using namespace System; namespace CefSharp { namespace Internals { private ref class JavascriptCallbackFactory : public IJavascriptCallbackFactory { private: PendingTaskRepository^ _pendingTasks; public: JavascriptCallbackFactory(PendingTaskRepository^ pendingTasks) :_pendingTasks(pendingTasks) { } property WeakReference^ BrowserWrapper; virtual IJavascriptCallback^ Create(JavascriptCallback^ callback); }; } }