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

Unified Diff: Source/platform/FileChooser.cpp

Issue 1202153003: Removing unused functions from FileChooser class (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/platform/FileChooser.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/FileChooser.cpp
diff --git a/Source/platform/FileChooser.cpp b/Source/platform/FileChooser.cpp
index f3c9dccc36dac4c43830a43f2e989b1a1a37b870..c0078b119d3a70479c38625e12590fce990c4949 100644
--- a/Source/platform/FileChooser.cpp
+++ b/Source/platform/FileChooser.cpp
@@ -65,20 +65,6 @@ FileChooser::~FileChooser()
{
}
-void FileChooser::chooseFiles(const Vector<String>& filenames)
-{
- // FIXME: This is inelegant. We should not be looking at settings here.
- if (m_settings.selectedFiles == filenames)
- return;
-
- if (m_client) {
- Vector<FileChooserFileInfo> files;
- for (unsigned i = 0; i < filenames.size(); ++i)
- files.append(FileChooserFileInfo(filenames[i]));
- m_client->filesChosen(files);
- }
-}
-
void FileChooser::chooseFiles(const Vector<FileChooserFileInfo>& files)
{
// FIXME: This is inelegant. We should not be looking at settings here.
« no previous file with comments | « Source/platform/FileChooser.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698