diff --git a/CefSharp.Core.Runtime/DragData.h b/CefSharp.Core.Runtime/DragData.h index 39f201dd3..ea9b6791c 100644 --- a/CefSharp.Core.Runtime/DragData.h +++ b/CefSharp.Core.Runtime/DragData.h @@ -207,6 +207,11 @@ namespace CefSharp _wrappedDragData->ResetFileContents(); } + virtual void ClearFilenames() + { + _wrappedDragData->ClearFilenames(); + } + virtual Int64 GetFileContents(Stream^ stream) { if (stream == nullptr) diff --git a/CefSharp/IDragData.cs b/CefSharp/IDragData.cs index 10b758a88..1445a9ed8 100644 --- a/CefSharp/IDragData.cs +++ b/CefSharp/IDragData.cs @@ -119,6 +119,11 @@ namespace CefSharp /// Returns the number of bytes written to the stream Int64 GetFileContents(Stream stream); + /// + /// Clear list of filenames. + /// + void ClearFilenames(); + /// /// Gets a value indicating whether the object has been disposed of. ///