init lserp cs 5.0
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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 geolocation
|
||||
/// permission requests.
|
||||
/// </summary>
|
||||
public sealed unsafe partial class CefGeolocationCallback
|
||||
{
|
||||
/// <summary>
|
||||
/// Call to allow or deny geolocation access.
|
||||
/// </summary>
|
||||
public void Continue(bool allow)
|
||||
{
|
||||
// FIXME: it is can be executed only once - so may be make it self-disposable ?
|
||||
|
||||
cef_geolocation_callback_t.cont(_self, allow ? 1 : 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user