Files
cefsharp/CefSharp.BrowserSubprocess.Core/JavascriptPropertyWrapper.h
T
amaitland ab79aa8ca6 Remove redundant #include statements
Fix incorrect #include statements
2014-11-27 23:24:00 +10:00

39 lines
937 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 "Stdafx.h"
#include "include/cef_v8.h"
using namespace CefSharp::Internals;
namespace CefSharp
{
public ref class JavascriptPropertyWrapper
{
private:
JavascriptProperty^ _javascriptProperty;
int64 _ownerId;
IBrowserProcess^ _browserProcess;
internal:
MCefRefPtr<CefV8Value> V8Value;
public:
JavascriptPropertyWrapper(JavascriptProperty^ javascriptProperty, int64 ownerId, IBrowserProcess^ browserProcess)
{
_javascriptProperty = javascriptProperty;
_ownerId = ownerId;
_browserProcess = browserProcess;
}
~JavascriptPropertyWrapper()
{
V8Value = nullptr;
}
void Bind();
};
}