Files
cefsharp/CefSharp.BrowserSubprocess.Core/JavascriptObjectWrapper.h
T
amaitland b75c17b2d4 Rename Value to V8Value as JavascriptObject class already has a public property called Value
Anyone have a better name than V8Value? Thought it was better to fix the duplication in the short term.
2014-07-11 12:50:33 +10:00

35 lines
841 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_app.h"
#include "include/cef_base.h"
using namespace System::Runtime::Serialization;
using namespace System::Linq;
using namespace CefSharp::Internals;
namespace CefSharp
{
[DataContract]
public ref class JavascriptObjectWrapper : public JavascriptObject
{
internal:
MCefRefPtr<CefV8Value> V8Value;
public:
void Bind()
{
for each (IBindableJavascriptMember^ member in Enumerable::OfType<IBindableJavascriptMember^>(Members))
{
member->Bind(this);
}
};
void Clone(JavascriptObject^ obj);
};
}