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

Unified Diff: content/public/common/drop_data.h

Issue 1723763002: Add WebDragData to blink::WebView::dragtargetDrop (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
Index: content/public/common/drop_data.h
diff --git a/content/public/common/drop_data.h b/content/public/common/drop_data.h
index fce6db13774f772181d135a12c452ff553f58699..ef897c688b1f030642a45fb68ac73882fd4ae521 100644
--- a/content/public/common/drop_data.h
+++ b/content/public/common/drop_data.h
@@ -23,6 +23,15 @@
namespace content {
+enum DropDataKind {
+ STRING_KIND = 0,
+ FILENAME_KIND,
+ FILESYSTEMFILE_KIND,
+ DROP_DATA_KIND_LAST = FILESYSTEMFILE_KIND
+};
+
+typedef std::pair<base::string16, DropDataKind> MimeTypeKindPair;
+
struct CONTENT_EXPORT DropData {
struct FileSystemFileInfo {
FileSystemFileInfo() : size(0) {}

Powered by Google App Engine
This is Rietveld 408576698