mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
Move GetProperty into JavascriptObjectWrapper.cpp
This commit is contained in:
@@ -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);
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user