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

Unified Diff: chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc

Issue 445883002: Support <input webkitdirectory> in KDE file chooser (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc
diff --git a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc
index 5b0c2ea88f0036892a2fc7e82e6e356df4a9b40b..c86a08bc8871bfa88948bf58c0f475e83eaf556a 100644
--- a/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc
+++ b/chrome/browser/ui/libgtk2ui/select_file_dialog_impl_kde.cc
@@ -354,7 +354,7 @@ void SelectFileDialogImplKDE::FileSelected(const base::FilePath& path,
*last_saved_path_ = path.DirName();
else if (type_ == SELECT_OPEN_FILE)
*last_opened_path_ = path.DirName();
- else if (type_ == SELECT_FOLDER)
+ else if (type_ == SELECT_FOLDER || type_ == SELECT_UPLOAD_FOLDER)
*last_opened_path_ = path;
else
NOTREACHED();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698