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

Unified Diff: ui/shell_dialogs/select_file_dialog.h

Issue 18627002: Change dialog texts for folder upload to explicitly indicate it's for 'Uploading' (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added comments Created 7 years, 5 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: ui/shell_dialogs/select_file_dialog.h
diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_file_dialog.h
index dc3c81333dc1d5ea794305d9e2c49494a20543a7..9336d24f6059538e0f98ea8efc6206cbecf6e653 100644
--- a/ui/shell_dialogs/select_file_dialog.h
+++ b/ui/shell_dialogs/select_file_dialog.h
@@ -31,9 +31,20 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
public:
enum Type {
SELECT_NONE,
+
+ // For opening a folder.
SELECT_FOLDER,
+
+ // Like SELECT_FOLDER, but specifically for uploading a folder.
Avi (use Gerrit) 2013/07/29 14:44:49 Perhaps a comment that there is no functional diff
kinuko 2013/07/30 07:37:16 Done.
+ SELECT_UPLOAD_FOLDER,
+
+ // For saving into a file, allowing a nonexistent file to be selected.
SELECT_SAVEAS_FILE,
+
+ // For opening a file.
SELECT_OPEN_FILE,
+
+ // Like SELECT_OPEN_FILE, but allowing multiple files to open.
SELECT_OPEN_MULTI_FILE
};

Powered by Google App Engine
This is Rietveld 408576698