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

Unified Diff: Source/core/html/forms/FileInputType.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: Fixed. 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
« no previous file with comments | « Source/core/fileapi/FileTest.cpp ('k') | Source/core/html/forms/FileInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/forms/FileInputType.h
diff --git a/Source/core/html/forms/FileInputType.h b/Source/core/html/forms/FileInputType.h
index c234c15ba436e6d50cf4d3b8f71b93d634c13cdf..f87a9b3e81251debc875fc4e5d8776664b43f446 100644
--- a/Source/core/html/forms/FileInputType.h
+++ b/Source/core/html/forms/FileInputType.h
@@ -47,6 +47,7 @@ public:
static PassRefPtrWillBeRawPtr<InputType> create(HTMLInputElement&);
virtual void trace(Visitor*) override;
static Vector<FileChooserFileInfo> filesFromFormControlState(const FormControlState&);
+ static FileList* createFileList(const Vector<FileChooserFileInfo>& files, bool hasWebkitDirectoryAttr);
private:
FileInputType(HTMLInputElement&);
@@ -74,7 +75,6 @@ private:
// FileChooserClient implementation.
virtual void filesChosen(const Vector<FileChooserFileInfo>&) override;
- FileList* createFileList(const Vector<FileChooserFileInfo>& files) const;
void receiveDropForDirectoryUpload(const Vector<String>&);
PersistentWillBeMember<FileList> m_fileList;
« no previous file with comments | « Source/core/fileapi/FileTest.cpp ('k') | Source/core/html/forms/FileInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698