mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-06 12:09:40 +00:00
Rename IComplete to ICompletionHandler to make naming more consistent
This commit is contained in:
+2
-1
@@ -337,7 +337,7 @@ namespace CefSharp
|
||||
/// <summary> Flush the backing store (if any) to disk and execute the specified |handler| on the IO thread when done. Returns </summary>
|
||||
/// <param name="visitor">A user-provided Cookie Visitor implementation.</param>
|
||||
/// <return>Returns false if cookies cannot be accessed.</return>
|
||||
static bool FlushStore(IComplete^ handler)
|
||||
static bool FlushStore(ICompletionHandler^ handler)
|
||||
{
|
||||
CefRefPtr<CompletionHandler> wrapper = new CompletionHandler(handler);
|
||||
CefRefPtr<CefCookieManager> manager = CefCookieManager::GetGlobalManager();
|
||||
@@ -352,6 +352,7 @@ namespace CefSharp
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Shuts down CefSharp and the underlying CEF infrastructure. This method is safe to call multiple times; it will only
|
||||
/// shut down CEF on the first call (all subsequent calls will be ignored).
|
||||
/// </summary>
|
||||
|
||||
@@ -12,10 +12,10 @@ namespace CefSharp
|
||||
private class CompletionHandler : public CefCompletionHandler
|
||||
{
|
||||
private:
|
||||
gcroot<IComplete^> _handler;
|
||||
gcroot<ICompletionHandler^> _handler;
|
||||
|
||||
public:
|
||||
CompletionHandler(IComplete^ handler)
|
||||
CompletionHandler(ICompletionHandler^ handler)
|
||||
{
|
||||
_handler = handler;
|
||||
}
|
||||
|
||||
@@ -97,7 +97,7 @@
|
||||
<Compile Include="KeyType.cs" />
|
||||
<Compile Include="LoadErrorEventHandler.cs" />
|
||||
<Compile Include="NavStateChangedEventArgs.cs" />
|
||||
<Compile Include="IComplete.cs" />
|
||||
<Compile Include="ICompletionHandler.cs" />
|
||||
<Compile Include="Internals\BitmapInfo.cs" />
|
||||
<Compile Include="Internals\ManagedCefApp.cs" />
|
||||
<Compile Include="CefCustomScheme.cs" />
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
using System.Net;
|
||||
|
||||
namespace CefSharp
|
||||
{
|
||||
public interface IComplete
|
||||
{
|
||||
void OnComplete();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
namespace CefSharp
|
||||
{
|
||||
public interface ICompletionHandler
|
||||
{
|
||||
void OnComplete();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user