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

Unified Diff: ui/shell_dialogs/select_file_dialog_win.cc

Issue 14282002: Added support for displaying the select folder picker in Chrome ASH on Windows 8. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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 | « ui/metro_viewer/metro_viewer_messages.h ('k') | win8/metro_driver/chrome_app_view_ash.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/shell_dialogs/select_file_dialog_win.cc
===================================================================
--- ui/shell_dialogs/select_file_dialog_win.cc (revision 194196)
+++ ui/shell_dialogs/select_file_dialog_win.cc (working copy)
@@ -575,6 +575,12 @@
base::Bind(&ui::SelectFileDialog::Listener::MultiFilesSelected,
base::Unretained(listener_)));
return;
+ } else if (type == SELECT_FOLDER) {
+ aura::HandleSelectFolder(
+ UTF16ToWide(title),
+ base::Bind(&ui::SelectFileDialog::Listener::FileSelected,
+ base::Unretained(listener_)));
+ return;
}
}
HWND owner = owning_window
« no previous file with comments | « ui/metro_viewer/metro_viewer_messages.h ('k') | win8/metro_driver/chrome_app_view_ash.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698