init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
namespace Cef3
|
||||
{
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Diagnostics;
|
||||
using System.Runtime.InteropServices;
|
||||
using Cef3.Interop;
|
||||
|
||||
/// <summary>
|
||||
/// Callback interface used for asynchronous continuation of url requests.
|
||||
/// </summary>
|
||||
public sealed unsafe partial class CefRequestCallback
|
||||
{
|
||||
/// <summary>
|
||||
/// Continue the url request. If |allow| is true the request will be continued.
|
||||
/// Otherwise, the request will be canceled.
|
||||
/// </summary>
|
||||
public void Continue(bool allow)
|
||||
{
|
||||
cef_request_callback_t.cont(_self, allow ? 1 : 0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Cancel the url request.
|
||||
/// </summary>
|
||||
public void Cancel()
|
||||
{
|
||||
cef_request_callback_t.cancel(_self);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user