// Copyright © 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 namespace CefSharp { namespace Internals { private ref class JavascriptCallbackFactory : public IJavascriptCallbackFactory { private: PendingTaskRepository^ _pendingTasks; public: JavascriptCallbackFactory(PendingTaskRepository^ pendingTasks) :_pendingTasks(pendingTasks) { } property WeakReference^ BrowserAdapter; virtual IJavascriptCallback^ Create(JavascriptCallback^ callback); }; } }