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

Unified Diff: Source/platform/FileChooser.h

Issue 640723006: Pass the selected non-native file information from the browser to FileInputType. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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: Source/platform/FileChooser.h
diff --git a/Source/platform/FileChooser.h b/Source/platform/FileChooser.h
index d1baef025168d5a7769202b11c84261a76b6bacb..071ef9175ea451f8941f6fd4df97bc8df277ff61 100644
--- a/Source/platform/FileChooser.h
+++ b/Source/platform/FileChooser.h
@@ -30,7 +30,9 @@
#ifndef FileChooser_h
#define FileChooser_h
+#include "platform/FileMetadata.h"
#include "platform/PlatformExport.h"
+#include "platform/weborigin/KURL.h"
#include "wtf/RefCounted.h"
#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
@@ -46,8 +48,14 @@ struct FileChooserFileInfo {
{
}
+ FileChooserFileInfo(const KURL& fileSystemURL, const FileMetadata metadata) : fileSystemURL(fileSystemURL), metadata(metadata)
+ {
+ }
+
const String path;
const String displayName;
+ const KURL fileSystemURL;
+ const FileMetadata metadata;
tkent 2014/10/17 00:20:22 Please add a comment that |metadata| is available
hirono 2014/10/17 09:30:58 The path and displayName properties are also avail
};
struct FileChooserSettings {

Powered by Google App Engine
This is Rietveld 408576698