mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
28 lines
785 B
C++
28 lines
785 B
C++
// 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<JavascriptResponse^>^ _pendingTasks;
|
|
public:
|
|
JavascriptCallbackFactory(PendingTaskRepository<JavascriptResponse^>^ pendingTasks)
|
|
:_pendingTasks(pendingTasks)
|
|
{
|
|
}
|
|
|
|
property WeakReference^ BrowserWrapper;
|
|
|
|
virtual IJavascriptCallback^ Create(JavascriptCallback^ callback);
|
|
};
|
|
}
|
|
} |