Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / public / web / WebFileChooserCompletion.h
index 19c0f26..84d1e5d 100644 (file)
@@ -32,6 +32,7 @@
 #define WebFileChooserCompletion_h
 
 #include "../platform/WebString.h"
+#include "../platform/WebURL.h"
 
 namespace blink {
 
@@ -47,6 +48,22 @@ public:
         // The display name of the file that is to be exposed as File.name in
         // the DOM layer. If it is empty the base part of the |path| is used.
         WebString displayName;
+
+        // File system URL.
+        WebURL fileSystemURL;
+
+        // Metadata of non-native file.
+        // 0 is Unix epoch, unit is sec.
+        double modificationTime;
+        long long length;
+        bool isDirectory;
+
+        SelectedFileInfo()
+            : modificationTime(0)
+            , length(0)
+            , isDirectory(false)
+        {
+        }
     };
 
     // Called with zero or more file names. Zero-lengthed vector means that