Files
cefsharp/CefSharp/Internals/ISubProcessProxy.cs
T

30 lines
724 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;
namespace CefSharp.Internals
{
[ServiceContract(CallbackContract = typeof(ISubProcessCallback))]
public interface ISubProcessProxy
{
[OperationContract]
void Initialize();
[OperationContract]
object EvaluateScript(int frameId, string script, double timeout);
[OperationContract]
void Terminate();
}
[ServiceContract]
public interface ISubProcessCallback
{
[OperationContract]
void Error(Exception ex);
}
}