mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 19:25:01 +00:00
wired method calls to reach the BrowserProcess
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
// 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;
|
||||
using namespace System::Diagnostics;
|
||||
|
||||
namespace CefSharp
|
||||
{
|
||||
Object^ JavascriptMethodWrapper::Execute(array<Object^>^ parameters)
|
||||
{
|
||||
return CefAppWrapper::Instance->Callback->CallMethod(_owner->Id, Description->ManagedName, parameters);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user