mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Adding ClearFilenames method to CefDragData (fixes issue #3266)
This commit is contained in:
committed by
Marshall Greenblatt
parent
0cb874c9e1
commit
3c2e97d82e
@ -183,6 +183,11 @@ void CefDragDataImpl::AddFile(const CefString& path,
|
||||
ui::FileInfo(base::FilePath(path), base::FilePath(display_name)));
|
||||
}
|
||||
|
||||
void CefDragDataImpl::ClearFilenames() {
|
||||
base::AutoLock lock_scope(lock_);
|
||||
data_.filenames.clear();
|
||||
}
|
||||
|
||||
void CefDragDataImpl::SetReadOnly(bool read_only) {
|
||||
base::AutoLock lock_scope(lock_);
|
||||
if (read_only_ == read_only)
|
||||
@ -204,4 +209,4 @@ CefPoint CefDragDataImpl::GetImageHotspot() {
|
||||
bool CefDragDataImpl::HasImage() {
|
||||
base::AutoLock lock_scope(lock_);
|
||||
return image_ ? true : false;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user