Upstream version 7.36.149.0
[platform/framework/web/crosswalk.git] / src / content / public / common / drop_data.h
index 91628bf..3bc08df 100644 (file)
 namespace content {
 
 struct CONTENT_EXPORT DropData {
+  struct FileSystemFileInfo {
+    FileSystemFileInfo() : size(0) {}
+    ~FileSystemFileInfo() {}
+
+    GURL url;
+    int64 size;
+  };
+
   DropData();
   ~DropData();
 
@@ -47,6 +55,9 @@ struct CONTENT_EXPORT DropData {
   // Isolated filesystem ID for the files being dragged on the webview.
   base::string16 filesystem_id;
 
+  // User is dragging files specified with filesystem: URLs.
+  std::vector<FileSystemFileInfo> file_system_files;
+
   // User is dragging plain text into the webview.
   base::NullableString16 text;