Move GetProperty into JavascriptObjectWrapper.cpp

This commit is contained in:
amaitland
2014-08-28 20:26:15 +10:00
parent 0dd085a770
commit 20ca50036f
4 changed files with 27 additions and 8 deletions
@@ -0,0 +1,21 @@
// 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 "JavascriptObjectWrapper.h"
#include "CefAppWrapper.h"
using namespace System;
namespace CefSharp
{
Object^ JavascriptObjectWrapper::GetProperty(String^ memberName)
{
auto browserProxy = CefAppWrapper::Instance->CreateBrowserProxy();
return browserProxy->GetProperty(_object->Id, memberName);
};
}