Files
cefsharp/CefSharp.BrowserSubprocess.Core/JavascriptMethodWrapper.cpp
T

19 lines
522 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 "JavascriptMethodWrapper.h"
#include "CefAppWrapper.h"
using namespace System;
namespace CefSharp
{
Object^ JavascriptMethodWrapper::Execute(array<Object^>^ parameters)
{
return CefAppWrapper::Instance->BrowserProcess->CallMethod(_owner->Id, Description->ManagedName, parameters);
}
}