mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
30 lines
724 B
C#
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);
|
|
}
|
|
}
|