diff options
Diffstat (limited to 'chrome/browser/shell_dialogs.h')
-rw-r--r-- | chrome/browser/shell_dialogs.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/chrome/browser/shell_dialogs.h b/chrome/browser/shell_dialogs.h index 183081dc..54f601c 100644 --- a/chrome/browser/shell_dialogs.h +++ b/chrome/browser/shell_dialogs.h @@ -37,7 +37,8 @@ class SelectFileDialog enum Type { SELECT_FOLDER, SELECT_SAVEAS_FILE, - SELECT_OPEN_FILE + SELECT_OPEN_FILE, + SELECT_OPEN_MULTI_FILE }; virtual ~SelectFileDialog() {} @@ -52,6 +53,11 @@ class SelectFileDialog // SelectFile. virtual void FileSelected(const std::wstring& path, void* params) = 0; + // Notifies the Listener that many files have been selected. The + // files are in |files|. |params| is contextual passed to SelectFile. + virtual void MultiFilesSelected( + const std::vector<std::wstring>& files, void* params) {}; + // Notifies the Listener that the file/folder selection was aborted (via // the user canceling or closing the selection dialog box, for example). // |params| is contextual passed to SelectFile. |