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

Unified Diff: third_party/WebKit/Source/core/html/HTMLInputElement.cpp

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/HTMLInputElement.cpp
diff --git a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
index abb28d39af6b814cf3d5e44226af3712041dfb39..5dc529e718aff3c82a8b2aabdd662aa5cf3105f1 100644
--- a/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
+++ b/third_party/WebKit/Source/core/html/HTMLInputElement.cpp
@@ -1912,4 +1912,10 @@ bool HTMLInputElement::hasFallbackContent() const
{
return m_inputTypeView->hasFallbackContent();
}
+
+void HTMLInputElement::setFilesFromPaths(Vector<String> paths)
+{
+ return m_inputType->setFilesFromPaths(paths);
+}
} // namespace blink
+

Powered by Google App Engine
This is Rietveld 408576698