mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
26 lines
550 B
C#
26 lines
550 B
C#
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);
|
|
}
|
|
}
|