Files
cefsharp/CefSharp/Internals/IRenderProcess.cs
T

28 lines
1001 B
C#

// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System;
using System.ServiceModel;
using System.Threading.Tasks;
namespace CefSharp.Internals
{
[ServiceContract]
public interface IRenderProcess
{
[OperationContract(AsyncPattern=true)]
IAsyncResult BeginEvaluateScriptAsync(int browserId, long frameId, string script, TimeSpan? timeout, AsyncCallback callback, object state);
JavascriptResponse EndEvaluateScriptAsync(IAsyncResult result);
[OperationContract(AsyncPattern = true)]
IAsyncResult BeginJavascriptCallbackAsync(int browserId, long callbackId, object[] parameters, TimeSpan? timeout, AsyncCallback callback, object state);
JavascriptResponse EndJavascriptCallbackAsync(IAsyncResult result);
[OperationContract]
void DestroyJavascriptCallback(int browserId, long id);
}
}