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

Unified Diff: third_party/WebKit/Source/core/html/forms/FileInputType.h

Issue 2098703003: DevTools: protocol setting files properly handles mimetypes and directories. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Refactor to FileInputType, add test Created 4 years, 6 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: third_party/WebKit/Source/core/html/forms/FileInputType.h
diff --git a/third_party/WebKit/Source/core/html/forms/FileInputType.h b/third_party/WebKit/Source/core/html/forms/FileInputType.h
index 7c711812e6111f42928fe60c7f2f4fa05fd3cb03..d3216cf90947b4c798a9f18a14dac46eb3340ff6 100644
--- a/third_party/WebKit/Source/core/html/forms/FileInputType.h
+++ b/third_party/WebKit/Source/core/html/forms/FileInputType.h
@@ -58,6 +58,8 @@ public:
void countUsage() override;
+ void setFilesFromPaths(Vector<String>) override;
dgozman 2016/06/27 21:07:02 const Vector<String>&
einbinder 2016/06/27 22:41:01 Done.
+
private:
FileInputType(HTMLInputElement&);
InputTypeView* createView() override;
@@ -85,7 +87,7 @@ private:
// FileChooserClient implementation.
void filesChosen(const Vector<FileChooserFileInfo>&) override;
- void receiveDropForDirectoryUpload(const Vector<String>&);
+ void setFilesFromDirectory(const String&);
Member<FileList> m_fileList;
String m_droppedFileSystemId;

Powered by Google App Engine
This is Rietveld 408576698