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

Unified Diff: webkit/glue/webdropdata.h

Issue 8775025: Add glue for supporting custom MIME types in DataTransfer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 1 month 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: webkit/glue/webdropdata.h
diff --git a/webkit/glue/webdropdata.h b/webkit/glue/webdropdata.h
index a9a4ae76c366b93373d93b807e4e57cc1fddb303..844a435593a4990bfbecd9187abc2310ca2b3704 100644
--- a/webkit/glue/webdropdata.h
+++ b/webkit/glue/webdropdata.h
@@ -9,6 +9,7 @@
#ifndef WEBKIT_GLUE_WEBDROPDATA_H_
#define WEBKIT_GLUE_WEBDROPDATA_H_
+#include <map>
#include <string>
#include <vector>
@@ -55,6 +56,8 @@ struct WebDropData {
string16 file_description_filename;
std::string file_contents;
+ std::map<string16, string16> custom_data;
tony 2011/12/02 00:13:29 Hmm, I guess since the API is from javascript, the
dcheng 2011/12/02 00:29:17 Given the APIs available on Windows/Linux, we can'
+
// Convert to a WebDragData object.
WebKit::WebDragData ToDragData() const;

Powered by Google App Engine
This is Rietveld 408576698