Files
cefsharp/CefSharp.BrowserSubprocess.Core/JavascriptRootObjectWrapper.h
T
2015-03-08 12:57:51 +01:00

37 lines
896 B
C++

// Copyright © 2010-2014 The CefSharp Project. 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
#include "include/cef_v8.h"
#include "JavascriptObjectWrapper.h"
using namespace System::Runtime::Serialization;
using namespace System::Linq;
using namespace System::Collections::Generic;
using namespace CefSharp::Internals;
namespace CefSharp
{
public ref class JavascriptRootObjectWrapper
{
private:
JavascriptRootObject^ _rootObject;
List<JavascriptObjectWrapper^>^ _wrappedObjects;
IBrowserProcess^ _browserProcess;
internal:
MCefRefPtr<CefV8Value> V8Value;
public:
JavascriptRootObjectWrapper(JavascriptRootObject^ rootObject, IBrowserProcess^ browserProcess);
~JavascriptRootObjectWrapper();
void Bind();
};
}