Index: third_party/WebKit/Source/core/page/DragData.cpp |
diff --git a/third_party/WebKit/Source/core/page/DragData.cpp b/third_party/WebKit/Source/core/page/DragData.cpp |
index 2294f03a068918fa9dc82544d1ecfb46b37ceafd..ad85d379ffed8dc2920b9290599b25bfe256b1e6 100644 |
--- a/third_party/WebKit/Source/core/page/DragData.cpp |
+++ b/third_party/WebKit/Source/core/page/DragData.cpp |
@@ -88,6 +88,11 @@ void DragData::asFilePaths(Vector<String>& result) const |
} |
} |
+unsigned DragData::numberOfFiles() const |
+{ |
+ return m_platformDragData->filenames().size(); |
+} |
+ |
bool DragData::containsPlainText() const |
{ |
return m_platformDragData->types().contains(mimeTypeTextPlain); |