Adding ClearFilenames method to CefDragData (fixes issue #3266)

This commit is contained in:
Jelle Bleyaert
2022-03-02 19:44:16 +00:00
committed by Marshall Greenblatt
parent 0cb874c9e1
commit 3c2e97d82e
8 changed files with 54 additions and 9 deletions

View File

@ -33,7 +33,7 @@
// by hand. See the translator.README.txt file in the tools directory for
// more information.
//
// $hash=221973f3d5728478eeb0f8f5f55ca5e68b3afd8a$
// $hash=c99e9efb74fea2a2a99b25a694c59256f59238ab$
//
#ifndef CEF_INCLUDE_CAPI_CEF_DRAG_DATA_CAPI_H_
@ -199,6 +199,11 @@ typedef struct _cef_drag_data_t {
const cef_string_t* path,
const cef_string_t* display_name);
///
// Clear list of filenames.
///
void(CEF_CALLBACK* clear_filenames)(struct _cef_drag_data_t* self);
///
// Get the image representation of drag data. May return NULL if no image
// representation is available.

View File

@ -42,13 +42,13 @@
// way that may cause binary incompatibility with other builds. The universal
// hash value will change if any platform is affected whereas the platform hash
// values will change only if that particular platform is affected.
#define CEF_API_HASH_UNIVERSAL "c32d3ae315c5991d1bd81c412635d95a3fd353f8"
#define CEF_API_HASH_UNIVERSAL "2aa3d374f5c27a433acba25d772b3a67fb1c528a"
#if defined(OS_WIN)
#define CEF_API_HASH_PLATFORM "cb1d823e15caa7e7b6074e3e612d111145b374d1"
#define CEF_API_HASH_PLATFORM "acdae91db336230e00c4e8863236fd479576249f"
#elif defined(OS_MAC)
#define CEF_API_HASH_PLATFORM "7e3a768a3b73a514763ce9902afb85775ca8c83d"
#define CEF_API_HASH_PLATFORM "6cdb410709486a7e78bf5876e9ca4a79e4553a30"
#elif defined(OS_LINUX)
#define CEF_API_HASH_PLATFORM "bc9260335c9493beb100645dbccd587e62925b9e"
#define CEF_API_HASH_PLATFORM "3b89d9dab5020373d90525066de3166d0b949f25"
#endif
#ifdef __cplusplus

View File

@ -196,6 +196,12 @@ class CefDragData : public virtual CefBaseRefCounted {
virtual void AddFile(const CefString& path,
const CefString& display_name) = 0;
///
// Clear list of filenames.
///
/*--cef()--*/
virtual void ClearFilenames() = 0;
///
// Get the image representation of drag data. May return NULL if no image
// representation is available.