Chromium Code Reviews| 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 78d2b363f16412811cf274655e88197acd5812c6..64c24c54dad227924e5b1bba21d16ac6c4bb91c1 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 |
|
hush (inactive)
2016/04/06 22:47:51
I need explain why I expose this function here:
Dr
|
| +{ |
| + return m_platformDragData->filenames().size(); |
| +} |
| + |
| bool DragData::containsPlainText() const |
| { |
| return m_platformDragData->types().contains(mimeTypeTextPlain); |