Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(20)

Unified Diff: third_party/WebKit/Source/core/page/DragData.cpp

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/core/page/DragData.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « third_party/WebKit/Source/core/page/DragData.h ('k') | third_party/WebKit/Source/web/WebViewImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698